git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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
Previous: Junio C Hamano
Message 2 of 2 in “Racy GIT (part #3)”
  1. Racy GIT (part #3)Junio C Hamano, Jun 29, 2006
  2. Uwe ZeisbergerJun 30, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.