Changeset 1180 in MondoRescue for branches/stable/mondo/src/common/libmondo-string.c
- Timestamp:
- Feb 18, 2007, 4:41:30 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mondo/src/common/libmondo-string.c
r1178 r1180 78 78 { 79 79 char *scratch = NULL; 80 char *out = NULL;81 char *p = NULL;82 80 int i = 0; /* purpose */ 83 81 int len = 0; /* purpose */ … … 108 106 109 107 110 111 112 inline void turn_wildcard_chars_into_literal_chars(char *sout, char *sin) 108 inline void turn_wildcard_chars_into_literal_chars(char *strout, char *strin) 113 109 { 114 110 char *p, *q; 115 111 116 for (p = s in, q = sout; *p != '\0'; *(q++) = *(p++)) {112 for (p = strin, q = strout; *p != '\0'; *(q++) = *(p++)) { 117 113 if (strchr("[]*?", *p)) { 118 114 *(q++) = '\\'; … … 329 325 330 326 /*@ char ******************************************************** */ 331 char p = NULL;327 char p = ' '; 332 328 333 329 assert(label != NULL); … … 884 880 /*@ int *********************************************** */ 885 881 int percentage = 0; 886 int i = 0;887 882 int j = 0; 888 883
Note:
See TracChangeset
for help on using the changeset viewer.