[Pkg-wmaker-commits] [wmbiff] 02/16: fix geometry argument handling bug (Debian #175220)
Doug Torrance
dtorrance-guest at moszumanska.debian.org
Thu Aug 20 03:02:46 UTC 2015
This is an automated email from the git hooks/post-receive script.
dtorrance-guest pushed a commit to tag wmbiff_0_4_13
in repository wmbiff.
commit 9ac9fb895838d39033488be121cc036f387e84d0
Author: bluehal <bluehal>
Date: Fri Jan 3 20:37:38 2003 +0000
fix geometry argument handling bug (Debian #175220)
---
wmbiff/wmbiff.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/wmbiff/wmbiff.c b/wmbiff/wmbiff.c
index 1bea935..e7edf99 100644
--- a/wmbiff/wmbiff.c
+++ b/wmbiff/wmbiff.c
@@ -1,4 +1,4 @@
-/* $Id: wmbiff.c,v 1.42 2002/12/29 03:25:31 bluehal Exp $ */
+/* $Id: wmbiff.c,v 1.43 2003/01/03 20:37:38 bluehal Exp $ */
#ifdef HAVE_CONFIG_H
#include <config.h>
@@ -433,7 +433,7 @@ int exists(const char *filename)
/* acts like execvp, with code inspired by it */
/* mustfree */
-static char *search_path(const char *path, /*@notnull@ */
+static char *search_path(const char *path, /*@notnull@ */
const char *find_me)
{
char *buf;
@@ -1054,6 +1054,8 @@ static void parse_cmd(int argc, char **argv, /*@out@ */ char *config_file)
if (strcmp(arg + 1, "geometry") != 0) {
usage();
exit(EXIT_FAILURE);
+ } else {
+ i++; /* gobble the argument */
}
break;
case 'h':
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmbiff.git
More information about the Pkg-wmaker-commits
mailing list