bug-gnulib
[Top][All Lists]
Advanced

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

Re: new module stdlib


From: Bruno Haible
Subject: Re: new module stdlib
Date: Sun, 18 Feb 2007 22:16:27 +0100
User-agent: KMail/1.5.4

PS: An addendum.

        * lib/argmatch.c: Don't include exit.h.
        * lib/execute.c: Likewise.
        * lib/pagealign_alloc.c: Likewise.
        * lib/pipe.c: Likewise.
        * lib/wait-process.c: Likewise.
        * lib/copy-file.c: Include <stdlib.h> instead of exit.h.
        * lib/exitfail.c: Likewise.
        * lib/savewd.c: Likewise.
        * lib/xsetenv.c: Likewise.

--- lib/argmatch.c      13 Sep 2006 22:38:14 -0000      1.40
+++ lib/argmatch.c      18 Feb 2007 21:03:03 -0000
@@ -1,6 +1,6 @@
 /* argmatch.c -- find a match for a string in an array
 
-   Copyright (C) 1990, 1998, 1999, 2001, 2002, 2003, 2004, 2005, 2006
+   Copyright (C) 1990, 1998, 1999, 2001, 2002, 2003, 2004, 2005, 2006, 2007
    Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
@@ -34,7 +34,6 @@
 #define _(msgid) gettext (msgid)
 
 #include "error.h"
-#include "exit.h"
 #include "quotearg.h"
 #include "quote.h"
 
--- lib/copy-file.c     14 Jan 2007 11:32:10 -0000      1.10
+++ lib/copy-file.c     18 Feb 2007 21:03:03 -0000
@@ -1,5 +1,5 @@
 /* Copying of files.
-   Copyright (C) 2001-2003, 2006 Free Software Foundation, Inc.
+   Copyright (C) 2001-2003, 2006-2007 Free Software Foundation, Inc.
    Written by Bruno Haible <address@hidden>, 2001.
 
    This program is free software; you can redistribute it and/or modify
@@ -25,6 +25,7 @@
 #include <errno.h>
 #include <fcntl.h>
 #include <stddef.h>
+#include <stdlib.h>
 #include <sys/stat.h>
 #include <unistd.h>
 
@@ -41,7 +42,6 @@
 #include "full-write.h"
 #include "acl.h"
 #include "binary-io.h"
-#include "exit.h"
 #include "gettext.h"
 
 #define _(str) gettext (str)
--- lib/execute.c       30 Jan 2007 01:07:22 -0000      1.9
+++ lib/execute.c       18 Feb 2007 21:03:03 -0000
@@ -30,7 +30,6 @@
 #include <unistd.h>
 
 #include "error.h"
-#include "exit.h"
 #include "fatal-signal.h"
 #include "wait-process.h"
 #include "gettext.h"
--- lib/exitfail.c      13 Sep 2006 22:38:14 -0000      1.7
+++ lib/exitfail.c      18 Feb 2007 21:03:03 -0000
@@ -1,6 +1,6 @@
 /* Failure exit status
 
-   Copyright (C) 2002, 2003, 2005, 2006 Free Software Foundation, Inc.
+   Copyright (C) 2002, 2003, 2005, 2006, 2007 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -20,6 +20,7 @@
 #include <config.h>
 
 #include "exitfail.h"
-#include "exit.h"
+
+#include <stdlib.h>
 
 int volatile exit_failure = EXIT_FAILURE;
--- lib/pagealign_alloc.c       14 Jan 2007 11:32:10 -0000      1.12
+++ lib/pagealign_alloc.c       18 Feb 2007 21:03:03 -0000
@@ -1,6 +1,6 @@
 /* Memory allocation aligned to system page boundaries.
 
-   Copyright (C) 2005, 2006 Free Software Foundation, Inc.
+   Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify it
    under the terms of the GNU General Public License as published
@@ -34,7 +34,6 @@
 #endif
 
 #include "error.h"
-#include "exit.h"
 #include "getpagesize.h"
 #include "xalloc.h"
 #include "gettext.h"
--- lib/pipe.c  30 Jan 2007 01:07:22 -0000      1.8
+++ lib/pipe.c  18 Feb 2007 21:03:04 -0000
@@ -29,7 +29,6 @@
 #include <unistd.h>
 
 #include "error.h"
-#include "exit.h"
 #include "fatal-signal.h"
 #include "wait-process.h"
 #include "gettext.h"
--- lib/savewd.c        5 Oct 2006 21:38:10 -0000       1.4
+++ lib/savewd.c        18 Feb 2007 21:03:04 -0000
@@ -1,6 +1,6 @@
 /* Save and restore the working directory, possibly using a child process.
 
-   Copyright (C) 2006 Free Software Foundation, Inc.
+   Copyright (C) 2006, 2007 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -27,11 +27,11 @@
 #include <fcntl.h>
 #include <signal.h>
 #include <stdbool.h>
+#include <stdlib.h>
 #include <sys/types.h>
 #include <sys/wait.h>
 #include <unistd.h>
 
-#include "exit.h"
 #include "dirname.h"
 #include "fcntl-safer.h"
 
--- lib/wait-process.c  31 Oct 2006 19:18:54 -0000      1.10
+++ lib/wait-process.c  18 Feb 2007 21:03:04 -0000
@@ -1,5 +1,5 @@
 /* Waiting for a subprocess to finish.
-   Copyright (C) 2001-2003, 2005-2006 Free Software Foundation, Inc.
+   Copyright (C) 2001-2003, 2005-2007 Free Software Foundation, Inc.
    Written by Bruno Haible <address@hidden>, 2001.
 
    This program is free software; you can redistribute it and/or modify
@@ -89,7 +89,6 @@
 #endif
 
 #include "error.h"
-#include "exit.h"
 #include "fatal-signal.h"
 #include "xalloc.h"
 #include "gettext.h"
--- lib/xsetenv.c       14 Sep 2006 14:18:36 -0000      1.5
+++ lib/xsetenv.c       18 Feb 2007 21:03:04 -0000
@@ -1,5 +1,5 @@
 /* Setting environment variables, with out-of-memory checking.
-   Copyright (C) 2001-2002, 2005-2006 Free Software Foundation, Inc.
+   Copyright (C) 2001-2002, 2005-2007 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -20,9 +20,10 @@
 /* Specification.  */
 #include "xsetenv.h"
 
+#include <stdlib.h>
+
 #include "setenv.h"
 #include "error.h"
-#include "exit.h"
 #include "gettext.h"
 
 #define _(str) gettext (str)





reply via email to

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