Changeset 1180 in MondoRescue
- Timestamp:
- Feb 18, 2007, 4:41:30 PM (18 years ago)
- Location:
- branches/stable/mondo/src
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mondo/src/common/libmondo-archive.c
r1169 r1180 2945 2945 /*@ buffers ********************************************* */ 2946 2946 char *tmp = NULL; 2947 char *tmp1 = NULL;2948 2947 char *szmsg = NULL; 2949 2948 char *cdrom_dev = NULL; -
branches/stable/mondo/src/common/libmondo-devices.c
r1168 r1180 383 383 /*@ ints ******************************************************* */ 384 384 int res = 0; 385 size_t n = 0;386 385 387 386 /*@ pointers *************************************************** */ … … 1437 1436 { 1438 1437 char *tmp = NULL; 1439 char *tmp1 = NULL;1440 char *tmp2 = NULL;1441 1438 char *sz_size = NULL; 1442 1439 char *command = NULL; … … 2145 2142 char *mountdev = NULL; 2146 2143 char *tmp = NULL; 2147 char *tmp1 = NULL;2148 2144 2149 2145 assert(bkpinfo != NULL); -
branches/stable/mondo/src/common/libmondo-filelist.c
r1164 r1180 822 822 char *fname = NULL; 823 823 char *tmp = NULL; 824 char *tmp1 = NULL;825 824 int pos_in_fname = 0; 826 825 size_t n = 0; … … 1512 1511 char *q = NULL; 1513 1512 1514 char *tmp1 = NULL;1515 char *tmp2 = NULL;1516 1513 char *sz_datefile = NULL; 1517 1514 char *sz_filelist = NULL; -
branches/stable/mondo/src/common/libmondo-files.c
r1173 r1180 48 48 char *command = NULL; 49 49 char *tmp = NULL; 50 size_t n = 0;51 50 52 51 /*@ pointers **************************************************** */ … … 450 449 /*@ pointers **************************************************** */ 451 450 FILE *fin; 452 size_t n = 0;453 451 454 452 /*@ end vars **************************************************** */ -
branches/stable/mondo/src/common/libmondo-mountlist.c
r1173 r1180 378 378 /*@ buffers ******************************************************** */ 379 379 char *tmp = NULL; 380 char *tmp1 = NULL;381 380 char *device = NULL; 382 381 … … 551 550 struct list_of_disks *drivelist = NULL; 552 551 char *tmp = NULL; 553 char *tmp1 = NULL;554 552 char *flaws_str = NULL; 555 553 … … 644 642 char *curr_mountpoint = NULL; 645 643 char *tmp = NULL; 646 char *tmp1 = NULL;647 644 648 645 assert(mountlist != NULL); -
branches/stable/mondo/src/common/libmondo-raid.c
r1174 r1180 940 940 char *string = NULL; 941 941 char *pos = NULL; 942 char type = NULL;942 char type = ' '; 943 943 char *strtmp = NULL; 944 944 -
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 -
branches/stable/mondo/src/include/mr_str.h
r1178 r1180 14 14 extern char *mr_stresc(char *instr, char *toesc, const char escchr); 15 15 extern inline char *mr_date(void); 16 extern void mr_strip_spaces(char *in_out): 16 17 17 18 #endif /* MR_STR_H */
Note:
See TracChangeset
for help on using the changeset viewer.