Changeset 171 in MondoRescue for trunk/mondo/mondo/common/libmondo-filelist.c
- Timestamp:
- Dec 8, 2005, 5:20:29 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/mondo/mondo/common/libmondo-filelist.c
r147 r171 214 214 /*@ int **************************************** */ 215 215 int i; 216 int n = 0;216 size_t n = 0; 217 217 long curr_set_no; 218 218 … … 412 412 FILE *pattr; 413 413 char *tmp = NULL; 414 int n = 0;414 size_t n = 0; 415 415 416 416 pattr = popen(syscall, "r"); … … 443 443 char *file_to_analyze = NULL; 444 444 int i; 445 int n = 0;445 size_t n = 0; 446 446 447 447 if (!(fin = fopen(filelist, "r"))) { … … 550 550 int retval = 0; 551 551 int i; 552 int n = 0;552 size_t n = 0; 553 553 char *p, *q; 554 554 FILE *pin, *pout, *faclin; … … 859 859 char *tmp; 860 860 int pos_in_fname; 861 int n = 0;861 size_t n = 0; 862 862 /*@ int ******************************************************** */ 863 863 int percentage; … … 1769 1769 } 1770 1770 1771 /*1772 if (strlen(fname)>3 && fname[strlen(fname)-1]=='/') { fname[strlen(fname)-1] = '\0'; }1773 if (strlen(fname)==0) { continue; }1774 sprintf(temporary_string, "echo \"Looking for '%s'\" >> /tmp/looking.txt", fname);1775 system(temporary_string);1776 */1777 1778 1771 log_msg(5, "Looking for '%s'", fname); 1779 1772 found_node = find_string_at_node(filelist, fname); … … 1788 1781 turn_wildcard_chars_into_literal_chars(tmp, fname); 1789 1782 fprintf(fout, "%s\n", tmp); 1783 paranoid_free(tmp); 1790 1784 retval++; 1791 1785 } … … 1812 1806 FILE *fin; 1813 1807 char *tmp = NULL; 1814 int n = 0;1808 size_t n = 0; 1815 1809 struct s_node *nod; 1816 1810
Note:
See TracChangeset
for help on using the changeset viewer.