pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/pkgtools/pbulk/files/pbulk/lib There are several error...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3664a3326487
branches:  trunk
changeset: 535329:3664a3326487
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Tue Nov 13 19:30:26 2007 +0000

description:
There are several error messages with the same words. To make finding
the cause easier, add more information to one of them.

diffstat:

 pkgtools/pbulk/files/pbulk/lib/read_file.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 49115e8d3aff -r 3664a3326487 pkgtools/pbulk/files/pbulk/lib/read_file.c
--- a/pkgtools/pbulk/files/pbulk/lib/read_file.c        Tue Nov 13 18:02:51 2007 +0000
+++ b/pkgtools/pbulk/files/pbulk/lib/read_file.c        Tue Nov 13 19:30:26 2007 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: read_file.c,v 1.2 2007/06/25 21:38:44 joerg Exp $ */
+/* $NetBSD: read_file.c,v 1.3 2007/11/13 19:30:26 rillig Exp $ */
 
 /*-
  * Copyright (c) 2007 Joerg Sonnenberger <joerg%NetBSD.org@localhost>.
@@ -67,7 +67,7 @@
 
        input[input_len] = '\0';
        if (strlen(input) != input_len)
-               errx(1, "Invalid input");
+               errx(1, "Invalid input (NUL character found)");
 
        return input;
 }



Home | Main Index | Thread Index | Old Index