Re: mkstemps compat issue

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

 




Am 07.06.2009 um 14:32 schrieb Andreas Färber:

The merge commit b11cf09043f18b368ec0d988f064ea21247c843d introduced a git_mkstemps function in path.c, using mkstemps for the implementation. Unlike mkstemp that function is not part of POSIX, so we seem to need a NO_MKSTEMPS option and corresponding alternative code path.

Any suggestions how to best replace mkstemps?

Sorry for the noise... NO_MKSTEMPS=YesPlease does work correctly if typed correctly. (Thanks for the hint!)

It was a little confusing seeing mkstemps being used unconditionally in path.c, but it's being #defined in git-compat-util.h, so everything is fine.

Regards,

Andreas

--
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]