X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Ffull-write.c;h=339fb1a48382fad4ee0d376980d1bcd78e3b5d42;hb=5b60c6dfee0e445f95117a760622cd33944119d8;hp=cce5f0f03531ddaba038b15e718b9a41e1494887;hpb=90c1dd8b74406566869f322b6acdb4e54699098a;p=gnulib.git diff --git a/lib/full-write.c b/lib/full-write.c index cce5f0f03..339fb1a48 100644 --- 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 - 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 @@ -19,14 +19,7 @@ */ #ifdef HAVE_CONFIG_H -#if defined (CONFIG_BROKETS) -/* We use 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 -#else -#include "config.h" -#endif #endif #include @@ -47,7 +40,7 @@ int full_write (desc, ptr, len) int desc; char *ptr; - int len; + size_t len; { int total_written;