Changeset 1236 in MondoRescue for branches/2.2.2/mondo/src/common/libmondo-files.c
- Timestamp:
- Mar 12, 2007, 12:23:16 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.2/mondo/src/common/libmondo-files.c
r1002 r1236 1245 1245 strcpy(nfs_server_ipaddr, tmp); 1246 1246 strcpy(nfs_mount, p); 1247 1247 1248 /* BERLIOS : there is a bug #67 here as it only considers the first NIC */ 1248 1249 sprintf(command, … … 1417 1418 char tmp[MAX_STR_LEN]; 1418 1419 char *p; 1420 char *q = NULL; 1421 1422 q = strrchr(filename, '.'); 1423 if (q == NULL) { 1424 return (FALSE); 1425 } 1419 1426 1420 1427 sprintf(tmp, "%s/do-not-compress-these", g_mondo_home); … … 1422 1429 return (FALSE); 1423 1430 } 1424 strcpy(do_not_compress_these, last_line_of_file(tmp)); 1431 /* BERLIOS: This is just plain WRONG !! */ 1432 strcpy(do_not_compress_these,last_line_of_file(tmp)); 1433 1425 1434 for (p = do_not_compress_these; p != NULL; p++) { 1426 1435 strcpy(tmp, p); … … 1428 1437 *(strchr(tmp, ' ')) = '\0'; 1429 1438 } 1430 if (!strcmp( sz_last_suffix(filename), tmp)) { /*printf("MATCH\n"); */1439 if (!strcmp(q, tmp)) { 1431 1440 return (TRUE); 1432 1441 }
Note:
See TracChangeset
for help on using the changeset viewer.