projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(rename): Use stat, not safe_stat.
[gnulib.git]
/
lib
/
full-write.c
diff --git
a/lib/full-write.c
b/lib/full-write.c
index
cce5f0f
..
2a65ac5
100644
(file)
--- a/
lib/full-write.c
+++ b/
lib/full-write.c
@@
-1,5
+1,5
@@
/* full-write.c -- an interface to write that retries after interrupts
/* full-write.c -- an interface to write that retries after interrupts
- Copyright (C) 1993 Free Software Foundation, Inc.
+ Copyright (C) 1993
, 1994
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
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
@@
-19,14
+19,7
@@
*/
#ifdef HAVE_CONFIG_H
*/
#ifdef HAVE_CONFIG_H
-#if defined (CONFIG_BROKETS)
-/* We use <config.h> instead of "config.h" so that a compilation
- using -I. -I$srcdir will use ./config.h rather than $srcdir/config.h
- (which it would do because it found this file in $srcdir). */
#include <config.h>
#include <config.h>
-#else
-#include "config.h"
-#endif
#endif
#include <sys/types.h>
#endif
#include <sys/types.h>
@@
-36,7
+29,7
@@
#endif
#include <errno.h>
#endif
#include <errno.h>
-#ifndef
STDC_HEADERS
+#ifndef
errno
extern int errno;
#endif
extern int errno;
#endif
@@
-47,7
+40,7
@@
int
full_write (desc, ptr, len)
int desc;
char *ptr;
full_write (desc, ptr, len)
int desc;
char *ptr;
-
in
t len;
+
size_
t len;
{
int total_written;
{
int total_written;