Re: [PATCH] t/: work around one-shot variable assignment with test_must_fail

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ævar Arnfjörð Bjarmason wrote:

> We should have examples for both export and unset

What is unportable for “export” is the effect of exporting an unset
variable.  I am not even sure whether the return value is unportable,
but it doesn’t matter; that is an example of a “Don’t” rather than a
“Do it this way”.

See v1.5.6-rc0~61 (filter-branch: fix variable export logic,
2008-05-13) for an example.

> but the prose
> should mention both IMO

Yes, thanks for putting this portability guide together.

Jonathan
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]