Re: [PATCH/RFH] Racy GIT (part #3)
- From
Uwe Zeisberger <zeisberg@informatik.uni-freiburg.de>
- Date
- Jun 30, 2006, 07:43 UTC
- Message-ID
- <20060630074300.GA1643@informatik.uni-freiburg.de>
- In-Reply-To
- <7v7j2zpr6k.fsf@assigned-by-dhcp.cox.net>
Hello,
Junio C Hamano wrote:
> Does everybody have "cp -p" to preserve the file timestamps on > his/her platform? I am assuming this is safe (it is in POSIX), > but please raise hand if that is not a case for you.
Solaris[1] has two different "cp"s[2].
From cp(1): [...] [/usr/bin/cp] does not fail if unable to preserve extended attributes, modification and access time, or permission modes.
[...] [/usr/xpg4/bin/cp] does not fail if unable to preserve extended attributes. If unable to duplicate the modification and access time or the permission modes, cp prints a diagnostic message to stderr and return a non-zero exit status.
There is yet an other difference when -@ is specified. The complete man page can be found at docs.sun.com[2].
Best regards Uwe
[1] in my case Solaris 10 = SunOS 5.10 and Solaris 9 = SunOS 5.9 [2] http://docs.sun.com/app/docs/doc/816-5165/6mbb0m9dm?a=view
-- Uwe Zeisberger http://www.google.com/search?q=0+degree+Celsius+in+kelvin