+2006-04-23 Bruno Haible <bruno@clisp.org>
+
+ * modules/copy-file: Depend on unistd.
+ * modules/execute: Likewise.
+ * modules/fatal-signal: Likewise.
+ * modules/findprog: Likewise.
+ * modules/mkdtemp : Likewise.
+ * modules/pipe: Likewise.
+ * modules/wait-process: Likewise.
+
2006-04-23 Claudio Fontana <claudio@gnu.org>
Bruno Haible <bruno@clisp.org>
+2006-04-23 Bruno Haible <bruno@clisp.org>
+
+ * copy-file.c: Include <unistd.h> unconditionally.
+ * execute.c: Likewise.
+ * fatal-signal.c: Likewise.
+ * findprog.c: Likewise.
+ * mkdtemp.c: Likewise.
+ * pipe.h: Likewise.
+ * pipe.c: Likewise.
+ * wait-process.h: Likewise.
+
2006-04-23 Bruno Haible <bruno@clisp.org>
* fwriteerror.c (fwriteerror): Call fclose also when an error
/* Copying of files.
- Copyright (C) 2001-2003 Free Software Foundation, Inc.
+ Copyright (C) 2001-2003, 2006 Free Software Foundation, Inc.
Written by Bruno Haible <haible@clisp.cons.org>, 2001.
This program is free software; you can redistribute it and/or modify
#include <fcntl.h>
#include <stddef.h>
#include <sys/stat.h>
-
-#ifdef HAVE_UNISTD_H
-# include <unistd.h>
-#endif
+#include <unistd.h>
#if HAVE_UTIME || HAVE_UTIMES
# if HAVE_UTIME_H
/* Creation of autonomous subprocesses.
- Copyright (C) 2001-2004 Free Software Foundation, Inc.
+ Copyright (C) 2001-2004, 2006 Free Software Foundation, Inc.
Written by Bruno Haible <haible@clisp.cons.org>, 2001.
This program is free software; you can redistribute it and/or modify
#include <stdbool.h>
#include <stdlib.h>
#include <signal.h>
-
-#ifdef HAVE_UNISTD_H
-# include <unistd.h>
-#endif
+#include <unistd.h>
#include "error.h"
#include "exit.h"
/* Emergency actions in case of a fatal signal.
- Copyright (C) 2003-2004 Free Software Foundation, Inc.
+ Copyright (C) 2003-2004, 2006 Free Software Foundation, Inc.
Written by Bruno Haible <bruno@clisp.org>, 2003.
This program is free software; you can redistribute it and/or modify
#include <stdlib.h>
#include <signal.h>
#include <string.h>
-#if HAVE_UNISTD_H
-# include <unistd.h>
-#endif
+#include <unistd.h>
#include "xalloc.h"
/* Locating a program in PATH.
- Copyright (C) 2001-2004 Free Software Foundation, Inc.
+ Copyright (C) 2001-2004, 2006 Free Software Foundation, Inc.
Written by Bruno Haible <haible@clisp.cons.org>, 2001.
This program is free software; you can redistribute it and/or modify
#include <stdbool.h>
#include <stdlib.h>
#include <string.h>
-
-#ifdef HAVE_UNISTD_H
-# include <unistd.h>
-#endif
+#include <unistd.h>
#include "xalloc.h"
#include "pathname.h"
-/* Copyright (C) 1999, 2001-2003 Free Software Foundation, Inc.
+/* Copyright (C) 1999, 2001-2003, 2006 Free Software Foundation, Inc.
This file is part of the GNU C Library.
This program is free software; you can redistribute it and/or modify
# include <inttypes.h>
#endif
-#if HAVE_UNISTD_H || _LIBC
-# include <unistd.h>
-#endif
+#include <unistd.h>
#if HAVE_GETTIMEOFDAY || _LIBC
# if HAVE_SYS_TIME_H || _LIBC
/* Creation of subprocesses, communicating via pipes.
- Copyright (C) 2001-2004 Free Software Foundation, Inc.
+ Copyright (C) 2001-2004, 2006 Free Software Foundation, Inc.
Written by Bruno Haible <haible@clisp.cons.org>, 2001.
This program is free software; you can redistribute it and/or modify
#include <fcntl.h>
#include <stdlib.h>
#include <signal.h>
-
-#ifdef HAVE_UNISTD_H
-# include <unistd.h>
-#endif
+#include <unistd.h>
#include "error.h"
#include "exit.h"
/* Creation of subprocesses, communicating via pipes.
- Copyright (C) 2001-2003 Free Software Foundation, Inc.
+ Copyright (C) 2001-2003, 2006 Free Software Foundation, Inc.
Written by Bruno Haible <haible@clisp.cons.org>, 2001.
This program is free software; you can redistribute it and/or modify
/* Get pid_t. */
#include <stdlib.h>
-#ifdef HAVE_UNISTD_H
#include <unistd.h>
-#endif
#include <sys/types.h>
#include <stdbool.h>
/* Waiting for a subprocess to finish.
- Copyright (C) 2001-2003 Free Software Foundation, Inc.
+ Copyright (C) 2001-2003, 2006 Free Software Foundation, Inc.
Written by Bruno Haible <haible@clisp.cons.org>, 2001.
This program is free software; you can redistribute it and/or modify
/* Get pid_t. */
#include <stdlib.h>
-#ifdef HAVE_UNISTD_H
#include <unistd.h>
-#endif
#include <sys/types.h>
#include <stdbool.h>
binary-io
exit
gettext-h
+unistd
configure.ac:
gl_COPY_FILE
gettext-h
stdbool
strpbrk
+unistd
configure.ac:
gl_EXECUTE
Depends-on:
xalloc
stdbool
+unistd
configure.ac:
gl_FATAL_SIGNAL
stdbool
xalloc
pathname
+unistd
configure.ac:
gl_FINDPROG
m4/mkdtemp.m4
Depends-on:
+unistd
configure.ac:
gt_FUNC_MKDTEMP
gettext-h
stdbool
strpbrk
+unistd
configure.ac:
gl_PIPE
xalloc
gettext-h
stdbool
+unistd
configure.ac:
gl_WAIT_PROCESS