30 lines
906 B
Diff
30 lines
906 B
Diff
Nur in 1.0.0.rc11/lib/misc: lib_context.c~.
|
|
Nur in 1.0.0.rc11: TAGS.
|
|
diff -pur 1.0.0.rc11.orig/tools/commands.c 1.0.0.rc11/tools/commands.c
|
|
--- 1.0.0.rc11.orig/tools/commands.c 2006-03-21 10:49:28.000000000 +0100
|
|
+++ 1.0.0.rc11/tools/commands.c 2006-08-29 10:06:00.000000000 +0200
|
|
@@ -127,10 +127,18 @@ static int check_identifiers(struct lib_
|
|
const char delim = *OPT_STR_SEPARATOR(lc);
|
|
char *p = optarg;
|
|
|
|
- p = remove_white_space(lc, p, strlen(p));
|
|
- p = collapse_delimiter(lc, p, strlen(p), delim);
|
|
- if (!lc_strcat_opt(lc, o, p, delim))
|
|
- return 0;
|
|
+ if (o == LC_COLUMN) {
|
|
+ while (p && *p == 'c') {
|
|
+ lc_inc_opt(lc, o);
|
|
+ p++;
|
|
+ }
|
|
+ }
|
|
+ if (p && *p) {
|
|
+ p = remove_white_space(lc, p, strlen(p));
|
|
+ p = collapse_delimiter(lc, p, strlen(p), delim);
|
|
+ if (!lc_strcat_opt(lc, o, p, delim))
|
|
+ return 0;
|
|
+ }
|
|
}
|
|
|
|
lc_inc_opt(lc, o);
|
|
Nur in 1.0.0.rc11/tools: commands.c~.
|