]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(xwrite): Remove assertion that size_t N >= 0.
authorJim Meyering <jim@meyering.net>
Sun, 11 Nov 2001 15:08:48 +0000 (15:08 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 11 Nov 2001 15:08:48 +0000 (15:08 +0000)
src/tail.c

index 50774dffd3f8e2bfb10c6a55b19fae729b27cb45..4973ef64bdd7b48296b732bf2746bbda30632699 100644 (file)
@@ -323,7 +323,6 @@ static void
 xwrite (int fd, char *const buffer, size_t n_bytes)
 {
   assert (fd == STDOUT_FILENO);
-  assert (n_bytes >= 0);
   if (n_bytes > 0 && fwrite (buffer, 1, n_bytes, stdout) == 0)
     error (EXIT_FAILURE, errno, _("write error"));
 }