pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils/fatback Fix "return;" in non-void function.
details: https://anonhg.NetBSD.org/pkgsrc/rev/02372f312c63
branches: trunk
changeset: 602668:02372f312c63
user: joerg <joerg%pkgsrc.org@localhost>
date: Tue Apr 17 17:47:54 2012 +0000
description:
Fix "return;" in non-void function.
diffstat:
sysutils/fatback/distinfo | 4 ++--
sysutils/fatback/patches/patch-aa | 17 +++++++++++++----
2 files changed, 15 insertions(+), 6 deletions(-)
diffs (40 lines):
diff -r aed8c855d9ff -r 02372f312c63 sysutils/fatback/distinfo
--- a/sysutils/fatback/distinfo Tue Apr 17 17:47:19 2012 +0000
+++ b/sysutils/fatback/distinfo Tue Apr 17 17:47:54 2012 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.2 2006/10/09 13:23:37 joerg Exp $
+$NetBSD: distinfo,v 1.3 2012/04/17 17:47:54 joerg Exp $
SHA1 (fatback-1.3.tar.gz) = 0c17a76f64b359ee67ea308e58b668c14c77c699
RMD160 (fatback-1.3.tar.gz) = 4a8b29f00e51ea4856e41e94c30dca3e96712a40
Size (fatback-1.3.tar.gz) = 190800 bytes
-SHA1 (patch-aa) = 7012ffcfc8c50bebf4a2a9accefc62d024cfe1aa
+SHA1 (patch-aa) = e8c130c4f514fa61966541eb30016af3e299082c
SHA1 (patch-ab) = 36fb419f55817375437e2548e6c99cb5b70bf0c5
SHA1 (patch-ac) = f844b30f09716c64347ec500210e17e8431bec7d
SHA1 (patch-ad) = 3f0960a7347e8d5c2d6f99849a04133056b36feb
diff -r aed8c855d9ff -r 02372f312c63 sysutils/fatback/patches/patch-aa
--- a/sysutils/fatback/patches/patch-aa Tue Apr 17 17:47:19 2012 +0000
+++ b/sysutils/fatback/patches/patch-aa Tue Apr 17 17:47:54 2012 +0000
@@ -1,8 +1,17 @@
-$NetBSD: patch-aa,v 1.1.1.1 2005/05/25 10:29:01 agc Exp $
+$NetBSD: patch-aa,v 1.2 2012/04/17 17:47:54 joerg Exp $
---- output.c 2005/05/25 10:09:24 1.1
-+++ output.c 2005/05/25 10:11:08
-@@ -63,9 +63,12 @@
+--- output.c.orig 2001-05-30 15:47:04.000000000 +0000
++++ output.c
+@@ -54,7 +54,7 @@ int display(displaylevel_t level, char *
+ /* get the verbosity level from the fatback symbol table */
+ if (!(verbose_var = get_fbvar("verbose"))) {
+ printf("Error reading variable\n");
+- return;
++ return 0;
+ } else {
+ verbose = verbose_var->val.ival;
+ free(verbose_var);
+@@ -63,9 +63,12 @@ int display(displaylevel_t level, char *
/* print the rest of the arguments in standard printf style */
va_start(arg_list, format);
retval = vfprintf(Audit_log, format, arg_list);
Home |
Main Index |
Thread Index |
Old Index