Date: Sat, 1 Dec 2001 19:10:01 -0800 (PST) From: "Kutulu" <kutulu@kutulu.org> To: freebsd-bugs@FreeBSD.org Subject: Re: bin/32433: Cannot specify files beginning with + on ee command line. Message-ID: <200112020310.fB23A1O56737@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/32433; it has been noted by GNATS.
From: "Kutulu" <kutulu@kutulu.org>
To: <freebsd-gnats-submit@FreeBSD.org>, "Kutulu" <kutulu@kutulu.org>
Cc:
Subject: Re: bin/32433: Cannot specify files beginning with + on ee command line.
Date: Sat, 1 Dec 2001 22:02:43 -0500
And of course, I completely screwed up the patch. This is why I should
leave this stuff up to the professionals. This one works, but it looks
ugly, so I'm sure there's a better way:
--- ee.c.old Sat Dec 1 20:40:09 2001
+++ ee.c Sat Dec 1 22:07:13 2001
@@ -2091,7 +2091,7 @@
fprintf(stderr, usage4);
exit(1);
}
- else if (*buff == '+')
+ else if ((*buff == '+') && (isdigit(*(buff + 1))))
{
buff++;
start_at_line = buff;
--K
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200112020310.fB23A1O56737>
