[Top][All Lists]

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

Re: proposed 'string' module for gnulib

From: Paul Eggert
Subject: Re: proposed 'string' module for gnulib
Date: Fri, 26 Jan 2007 00:30:56 -0800
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux)

While we're on the subject, here are the changes to coreutils
that will be needed once this stuff goes into gnulib.  (This
is the fun part -- removing stuff....)

2007-01-26  Paul Eggert  <address@hidden>

        * src/dircolors.c: Don't include strcase.h, as its contents
        are now in <string.h> due to recent gnulib changes.
        * src/system.h: Likewise, for mempcpy.h, memrchr.h, stpcpy.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>

reply via email to

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