diff options
author | joerg <joerg> | 2013-03-02 18:18:10 +0000 |
---|---|---|
committer | joerg <joerg> | 2013-03-02 18:18:10 +0000 |
commit | 1b32c195478cf2f8a1f1860c690bd03ff24d4bb4 (patch) | |
tree | fe232b3917819dfe03c19fbc69ddfb63e0bdb92d /databases/ldapvi | |
parent | adc051e730e83e75d93563a1a996818ba7db8fc7 (diff) | |
download | pkgsrc-1b32c195478cf2f8a1f1860c690bd03ff24d4bb4.tar.gz |
Consistently return a value from non-void functions.
Diffstat (limited to 'databases/ldapvi')
-rw-r--r-- | databases/ldapvi/distinfo | 4 | ||||
-rw-r--r-- | databases/ldapvi/patches/patch-ac | 19 |
2 files changed, 20 insertions, 3 deletions
diff --git a/databases/ldapvi/distinfo b/databases/ldapvi/distinfo index cd8d0d876d8..1e36fec4d49 100644 --- a/databases/ldapvi/distinfo +++ b/databases/ldapvi/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.2 2011/04/04 11:00:38 drochner Exp $ +$NetBSD: distinfo,v 1.3 2013/03/02 18:18:10 joerg Exp $ SHA1 (ldapvi-1.7.tar.gz) = d1cde4cbb618180f9ae0e77c56a1520b8ad61c9a RMD160 (ldapvi-1.7.tar.gz) = f4cd1c2fcfc87e7a9e912269e60280e9ecd82156 Size (ldapvi-1.7.tar.gz) = 119503 bytes SHA1 (patch-aa) = 7f700c9296c724c8afd72d1cd7d8ca898018208a SHA1 (patch-ab) = a04bc868aa44f1ac15359cb78858a0f604acb475 -SHA1 (patch-ac) = 493397833801d99f5a7796b7b270e1734a44755a +SHA1 (patch-ac) = 52ea228b5ac8bdd2df6c90e7151bcfed13c77b0d diff --git a/databases/ldapvi/patches/patch-ac b/databases/ldapvi/patches/patch-ac index 9d2c2a91584..5b425fdac38 100644 --- a/databases/ldapvi/patches/patch-ac +++ b/databases/ldapvi/patches/patch-ac @@ -1,4 +1,4 @@ -$NetBSD: patch-ac,v 1.1 2011/04/04 11:00:39 drochner Exp $ +$NetBSD: patch-ac,v 1.2 2013/03/02 18:18:10 joerg Exp $ --- ldapvi.c.orig 2007-05-05 10:17:26.000000000 +0000 +++ ldapvi.c @@ -11,3 +11,20 @@ $NetBSD: patch-ac,v 1.1 2011/04/04 11:00:39 drochner Exp $ } static int +@@ -1465,7 +1465,7 @@ copy_sasl_output(FILE *out, char *sasl) + int line = 0; + int c; + +- if (lstat(sasl, &st) == -1) return; ++ if (lstat(sasl, &st) == -1) return 0; + if ( !(in = fopen(sasl, "r"))) syserr(); + + if (st.st_size > 0) { +@@ -1499,6 +1499,7 @@ copy_sasl_output(FILE *out, char *sasl) + fputc(c, out); + } + } ++ return line; + } + + static GArray * |