diff options
author | obrien <obrien@FreeBSD.org> | 2003-07-14 06:10:16 +0800 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2003-07-14 06:10:16 +0800 |
commit | 1434a378a6bb6de9a604956069a16a3fafba9b1b (patch) | |
tree | 206456ce3f61ff7f871f0faafb186f8fd8f1dfd7 /security | |
parent | 01383545a964ef01fa4a4ea80d76a614a94cc267 (diff) | |
download | freebsd-ports-gnome-1434a378a6bb6de9a604956069a16a3fafba9b1b.tar.gz freebsd-ports-gnome-1434a378a6bb6de9a604956069a16a3fafba9b1b.tar.zst freebsd-ports-gnome-1434a378a6bb6de9a604956069a16a3fafba9b1b.zip |
Fix a problem of poor testing where due to an overload of #ifdef's, the
default "return 0;" of an int returning function was never executed;
causing what ever was in the return register to be "it".
Diffstat (limited to 'security')
-rw-r--r-- | security/super/files/patch-utils.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/security/super/files/patch-utils.c b/security/super/files/patch-utils.c new file mode 100644 index 000000000000..827a2751bc00 --- /dev/null +++ b/security/super/files/patch-utils.c @@ -0,0 +1,14 @@ +--- utils.c.orig Mon Jun 16 15:34:14 2003 ++++ utils.c Sun Jul 13 15:06:15 2003 +@@ -1272,9 +1272,10 @@ + if (add_variable("SI_SYSNAME", buf) == -1) + return -1; + } +- return 0; + #endif + #endif ++ ++ return 0; + } + + #ifdef HAVE_UNAME |