summaryrefslogtreecommitdiff
path: root/lib/cmpbuf.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2002-01-24 20:16:38 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2002-01-24 20:16:38 +0000
commiteadc9ce7d6afaee9bbdcbabde146e6a7536040a1 (patch)
tree26756a5a5e5d8a4741d5224fceed6afa54048e8f /lib/cmpbuf.c
parent75cd3e885faf8d8ab4f69b884eed11533d94abd4 (diff)
downloaddiffutils-eadc9ce7d6afaee9bbdcbabde146e6a7536040a1.tar.gz
Fix comment.
Diffstat (limited to 'lib/cmpbuf.c')
-rw-r--r--lib/cmpbuf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/cmpbuf.c b/lib/cmpbuf.c
index bfdab60..3bf9f86 100644
--- a/lib/cmpbuf.c
+++ b/lib/cmpbuf.c
@@ -1,6 +1,6 @@
/* Buffer primitives for comparison operations.
- Copyright (C) 1993, 1995, 1998, 2001 Free Software Foundation, Inc.
+ Copyright (C) 1993, 1995, 1998, 2001, 2002 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
@@ -30,7 +30,7 @@
/* Read NBYTES bytes from descriptor FD into BUF.
Return the number of characters successfully read.
- On error, return (size_t) -1.
+ On error, return SIZE_MAX.
The number returned is always NBYTES unless end-of-file or error. */
size_t