[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#17035: [PATCH] chmod -c -R produces errors with special permissions
From: |
Bernhard Voelker |
Subject: |
bug#17035: [PATCH] chmod -c -R produces errors with special permissions |
Date: |
Tue, 18 Mar 2014 23:33:39 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 |
On 03/18/2014 07:45 PM, Pádraig Brady wrote:
> @@ -121,7 +121,7 @@ mode_changed (int dirfd, char const *file, char const
> *file_full_name,
>
> struct stat new_stats;
>
> - if (fstatat (dirfd, file, &new_stats, 0) != 0)
> + if (fstatat (dir_fd, file, &new_stats, 0) != 0)
> {
> if (! force_silent)
> error (0, errno, _("getting new attributes of %s"), quote
> (file_full_name));
Another minor nit: the last line doesn't pass sc_long_lines:
$ make syntax-check
...
src/chmod.c:127: error (0, errno, _("getting new attributes of
%s"), quote (file_full_name));
maint.mk: line(s) with more than 80 characters; reindent
Thanks & have a nice day,
Berny