]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
* src/pinky.c (S_IWGRP): Don't define.
authorJim Meyering <jim@meyering.net>
Sat, 14 Oct 2006 10:38:54 +0000 (10:38 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 14 Oct 2006 10:38:54 +0000 (10:38 +0000)
Instead, include "stat-macros.h".

ChangeLog
src/pinky.c

index 03c59d3773550cc763156c0e89d9f9abf91a023e..fe87f0a5dd2a2879ddfacdf2d6ca0d4529548458 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2006-10-14  Jim Meyering  <jim@meyering.net>
 
+       * src/pinky.c (S_IWGRP): Don't define.
+       Instead, include "stat-macros.h".
+
        * Makefile.cfg: Remove cruft that's now handled via bootstrap.
        * Makefile.maint: Likewise, remove these targets/rules/variables:
        (local_updates, update, cvs-update, wget_files, get-targets): Remove.
index ab52705e4ffd590a832aa734f7e35817cc9cc076..25feef35e73fe6a5e1ade9f58f1285ee00c02df8 100644 (file)
@@ -30,6 +30,7 @@
 #include "hard-locale.h"
 #include "inttostr.h"
 #include "readutmp.h"
+#include "stat-macros.h"
 
 /* The official name of this program (e.g., no `g' prefix).  */
 #define PROGRAM_NAME "pinky"
 # define MAXHOSTNAMELEN 64
 #endif
 
-#ifndef S_IWGRP
-# define S_IWGRP 020
-#endif
-
 char *ttyname ();
 
 /* The name this program was run with. */