[BusyBox-cvs] busybox/libbb getopt_ulflags.c,1.3,1.4
Glenn McGrath
bug1 at busybox.net
Fri Dec 19 10:13:13 UTC 2003
- Previous message: [BusyBox-cvs] busybox/libpwdgrp __getgrent.c, 1.4, 1.5 fgetgrent.c, 1.2, 1.3 getgrgid.c, 1.3, 1.4 getgrnam.c, 1.3, 1.4 grent.c, 1.3, 1.4 initgroups.c, 1.5, 1.6
- Next message: [BusyBox-cvs] busybox/util-linux fdisk.c,1.14,1.15
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /var/cvs/busybox/libbb
In directory nail:/tmp/cvs-serv19884/libbb
Modified Files:
getopt_ulflags.c
Log Message:
Fix a bug preventing use of escaped characters that use the signed bit
Index: getopt_ulflags.c
===================================================================
RCS file: /var/cvs/busybox/libbb/getopt_ulflags.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- getopt_ulflags.c 6 Oct 2003 13:23:04 -0000 1.3
+++ getopt_ulflags.c 19 Dec 2003 10:13:10 -0000 1.4
@@ -60,7 +60,7 @@
typedef struct
{
- char opt;
+ unsigned char opt;
char list_flg;
unsigned long switch_on;
unsigned long switch_off;
@@ -159,10 +159,9 @@
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 ();
+ bb_show_usage ();
}
if(flags & on_off->incongruously)
flags |= 0x80000000UL;
- Previous message: [BusyBox-cvs] busybox/libpwdgrp __getgrent.c, 1.4, 1.5 fgetgrent.c, 1.2, 1.3 getgrgid.c, 1.3, 1.4 getgrnam.c, 1.3, 1.4 grent.c, 1.3, 1.4 initgroups.c, 1.5, 1.6
- Next message: [BusyBox-cvs] busybox/util-linux fdisk.c,1.14,1.15
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the busybox-cvs
mailing list