Here's the patch (with ChangeLog entry) to adjust coreutils to match
today's change to the gnulib string module.

2007-01-26  Paul Eggert  <[EMAIL PROTECTED]>

        Adjust to today's change to gnulib, which added a module for
        string.h to replace the little include files like strcase.h.
        * src/dircolors.c: Don't include strcase.h.
        * src/system.h: Don't include mempcpy.h, memrchr.h, stpcpy.h, strpbrk.h.

diff --git a/src/dircolors.c b/src/dircolors.c
index cf6e2a9..a6c9889 100644
--- a/src/dircolors.c
+++ b/src/dircolors.c
@@ -1,5 +1,5 @@
 /* dircolors - output commands to set the LS_COLOR environment variable
-   Copyright (C) 1996-2006 Free Software Foundation, Inc.
+   Copyright (C) 1996-2007 Free Software Foundation, Inc.
    Copyright (C) 1994, 1995, 1997, 1998, 1999, 2000 H. Peter Anvin

    This program is free software; you can redistribute it and/or modify
@@ -28,7 +28,6 @@
 #include "getline.h"
 #include "obstack.h"
 #include "quote.h"
-#include "strcase.h"
 #include "xstrndup.h"

 /* The official name of this program (e.g., no `g' prefix).  */
diff --git a/src/system.h b/src/system.h
index 2a90913..383388b 100644
--- a/src/system.h
+++ b/src/system.h
@@ -97,10 +97,6 @@ you must include <sys/types.h> before including this file
    memcpy otherwise.  */

 #include <string.h>
-#include "mempcpy.h"
-#include "memrchr.h"
-#include "stpcpy.h"
-#include "strpbrk.h"

 #include <errno.h>

M ChangeLog
M src/dircolors.c
M src/system.h
Committed as de18fcbc08a3c93060cf4f05052b0da26466019b


_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to