summaryrefslogtreecommitdiff
path: root/lib/full-write.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-05-01 14:40:08 +0000
committerJim Meyering <jim@meyering.net>2000-05-01 14:40:08 +0000
commitcb58624cefaf269fe3ebfc267f6804ffb410af5b (patch)
treef547d3042bec92c0566fc7e51104dbff4b593bb3 /lib/full-write.c
parentc488f85c66b97561defbe423620e465d51735031 (diff)
downloadcoreutils-cb58624cefaf269fe3ebfc267f6804ffb410af5b.tar.xz
(full_write): Remove `FIXME' part of comment.
Diffstat (limited to 'lib/full-write.c')
-rw-r--r--lib/full-write.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/full-write.c b/lib/full-write.c
index ac27d6209..1feb2f743 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, 1994, 1997, 1998 Free Software Foundation, Inc.
+ Copyright (C) 1993, 1994, 1997, 1998, 2000 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
@@ -45,10 +45,11 @@ full_write (int desc, const char *ptr, size_t len)
while (len > 0)
{
int written = write (desc, ptr, len);
- /* FIXME: write on my slackware Linux 1.2.13 returns zero when
+ /* write on an old Slackware Linux 1.2.13 returns zero when
I try to write more data than there is room on a floppy disk.
This puts dd into an infinite loop. Reproduce with
- dd if=/dev/zero of=/dev/fd0. */
+ dd if=/dev/zero of=/dev/fd0. If you have this problem,
+ consider upgrading to a newer kernel. */
if (written < 0)
{
#ifdef EINTR