bug-coreutils
[Top][All Lists]
Advanced

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

Re: [PATCH] install: add -C option to install file only when necessary


From: Kamil Dudka
Subject: Re: [PATCH] install: add -C option to install file only when necessary
Date: Tue, 17 Feb 2009 13:19:47 +0100
User-agent: KMail/1.9.6 (enterprise 0.20071012.724442)

On Tuesday 17 February 2009 13:09:04 Andreas Schwab wrote:
> > static bool
> > extra_mode (mode_t input)
> > {
> >   const mode_t mask = ~S_IRWXUGO & 0xFFF;
> >   return input & mask;
> > }
>
> Perhaps ~S_IFMT instead of 0xFFF?
Seems better. Thanks!


Kamil

Attachment: 0001-install-add-compare-C-option-to-install-file-o.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]