Re: [PATCH] Documentation/Makefile: remove cmd-list.made before redirecting to it.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: David Kastrup
Date: Tuesday, August 7, 2007 - 3:29 am

Junio C Hamano <gitster@pobox.com> writes:


No, creat is only interested in the directory permissions.  It is
open(..., O_TRUNC) that causes the problem.  There are not many
programs that actually use that for their output files, but shell
output redirection is one of them, and some editors tend to do this as
well in order to easily preserve permissions.

There are no other shell output redirections to an undeleted file in
the Makefile.

-- 
David Kastrup

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] Documentation/Makefile: remove cmd-list.made b ..., David Kastrup, (Tue Aug 7, 3:29 am)