openbsd-ports/audio/tracker/patches/patch-parse_options_c
espie 6cdfc2731a Spring clean-up.
- rename patches to new style.
- bye, bye USE_GMAKE, we have recursive variables now.
- pass COPTS through.
- a few more patches so that we get most prototypes
- integrate COMMENT
2001-04-10 00:51:59 +00:00

17 lines
470 B
Plaintext

$OpenBSD: patch-parse_options_c,v 1.1 2001/04/10 00:52:01 espie Exp $
--- parse_options.c.orig Tue May 7 00:48:28 1996
+++ parse_options.c Tue Apr 10 02:20:49 2001
@@ -238,10 +238,11 @@ LOCAL int do_option(char *text, char *ar
switch(type)
{
case 's':
+ case 'm':
if (i == argindex)
set->args[argindex].scalar = 1;
else
- set->args[i].scalar = 0;
+ set->args[argindex].scalar = 0;
return 0;
case 'n':
{