X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=inline;f=lib%2Fsafe-read.c;h=0cb1edee8bc789ab6589d2cd93c7e265ce1a418a;hb=fa3486514bd8f15f8eb4c49821d0356b52e5a335;hp=904fc71f03b69a072b24c19ab4b580129bd70c62;hpb=267a39bafd249d7eb9c37df06dc6defcf41cb343;p=gnulib.git
diff --git a/lib/safe-read.c b/lib/safe-read.c
index 904fc71f0..0cb1edee8 100644
--- a/lib/safe-read.c
+++ b/lib/safe-read.c
@@ -1,12 +1,12 @@
/* An interface to read and write that retries after interrupts.
- Copyright (C) 1993, 1994, 1998, 2002, 2003, 2004 Free Software
- Foundation, Inc.
+ Copyright (C) 1993, 1994, 1998, 2002, 2003, 2004, 2005, 2006 Free
+ Software Foundation, Inc.
- This program is free software; you can redistribute it and/or modify
+ 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
- the Free Software Foundation; either version 2, or (at your option)
- any later version.
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -14,12 +14,9 @@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software Foundation,
- Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
+ along with this program. If not, see . */
-#if HAVE_CONFIG_H
-# include
-#endif
+#include
/* Specification. */
#ifdef SAFE_WRITE
@@ -30,9 +27,7 @@
/* Get ssize_t. */
#include
-#if HAVE_UNISTD_H
-# include
-#endif
+#include
#include