summaryrefslogtreecommitdiff
path: root/src/split.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-04-08 09:39:08 +0000
committerJim Meyering <jim@meyering.net>2003-04-08 09:39:08 +0000
commit7eb9262da9441c027eea8cf444cd492dada4afdc (patch)
treefe6da5c6176c4f4282d8cecc3bd76f55b6a23f18 /src/split.c
parent4752938d28f14f19ce0fba3c83b63d8fce9e61ba (diff)
downloadcoreutils-7eb9262da9441c027eea8cf444cd492dada4afdc.tar.xz
also change NCHARS, in comments, to N_BYTES
Diffstat (limited to 'src/split.c')
-rw-r--r--src/split.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/split.c b/src/split.c
index 9b88232f5..6b0e39f0b 100644
--- a/src/split.c
+++ b/src/split.c
@@ -196,7 +196,7 @@ cwrite (int new_file_flag, const char *bp, size_t bytes)
error (EXIT_FAILURE, errno, "%s", outfile);
}
-/* Split into pieces of exactly NCHARS bytes.
+/* Split into pieces of exactly N_BYTES bytes.
Use buffer BUF, whose size is BUFSIZE. */
static void
@@ -285,8 +285,8 @@ lines_split (size_t nlines, char *buf, size_t bufsize)
}
/* Split into pieces that are as large as possible while still not more
- than NCHARS bytes, and are split on line boundaries except
- where lines longer than NCHARS bytes occur. */
+ than N_BYTES bytes, and are split on line boundaries except
+ where lines longer than N_BYTES bytes occur. */
static void
line_bytes_split (size_t n_bytes)