bug-coreutils
[Top][All Lists]
Advanced

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

chgrp.c and chown.c need not include lchown.h


From: Paul Eggert
Subject: chgrp.c and chown.c need not include lchown.h
Date: Thu, 05 Oct 2006 15:42:41 -0700
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux)

These days lchown.h doesn't need to be included by chgrp.c and chown.c
because they operate via the openat module.  I installed this:

2006-10-05  Paul Eggert  <address@hidden>

        * src/chgrp.c: Don't include lchown.h; no longer needed.
        * src/chown.c: Likewise.

Index: src/chgrp.c
===================================================================
RCS file: /fetish/cu/src/chgrp.c,v
retrieving revision 1.124
diff -p -u -r1.124 chgrp.c
--- src/chgrp.c 25 Sep 2006 06:28:34 -0000      1.124
+++ src/chgrp.c 5 Oct 2006 22:39:43 -0000
@@ -28,7 +28,6 @@
 #include "error.h"
 #include "fts_.h"
 #include "group-member.h"
-#include "lchown.h"
 #include "quote.h"
 #include "root-dev-ino.h"
 #include "xstrtol.h"
Index: src/chown.c
===================================================================
RCS file: /fetish/cu/src/chown.c,v
retrieving revision 1.127
diff -p -u -r1.127 chown.c
--- src/chown.c 25 Sep 2006 06:28:34 -0000      1.127
+++ src/chown.c 5 Oct 2006 22:39:43 -0000
@@ -37,7 +37,6 @@
 #include "chown-core.h"
 #include "error.h"
 #include "fts_.h"
-#include "lchown.h"
 #include "quote.h"
 #include "root-dev-ino.h"
 #include "userspec.h"




reply via email to

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