Fix a bug preventing use of escaped characters that use the signed bit

This commit is contained in:
Glenn L McGrath 2003-12-19 10:13:10 +00:00
parent f796700cf0
commit 850b05fbde

View File

@ -60,7 +60,7 @@ const char *bb_opt_complementaly;
typedef struct
{
char opt;
unsigned char opt;
char list_flg;
unsigned long switch_on;
unsigned long switch_off;
@ -159,7 +159,6 @@ bb_getopt_ulflags (int argc, char **argv, const char *applet_opts, ...)
while ((c = getopt_long (argc, argv, applet_opts,
bb_applet_long_options, NULL)) > 0) {
for (on_off = complementaly; on_off->opt != c; on_off++) {
if(!on_off->opt)
bb_show_usage ();