Changeset 1140 in MondoRescue for branches/stable/mondo/src/common
- Timestamp:
- Feb 12, 2007, 2:05:43 AM (18 years ago)
- Location:
- branches/stable/mondo/src/common
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mondo/src/common/libmondo-files.c
r1137 r1140 1093 1093 ("NFS mount doesn't have a colon in it, e.g. 192.168.1.4:/home/nfs"); 1094 1094 } 1095 *(p++) = '\0'; 1095 *p = '\0'; 1096 p++; 1096 1097 strcpy(nfs_server_ipaddr, tmp); 1097 1098 mr_free(tmp); -
branches/stable/mondo/src/common/libmondo-fork.c
r1139 r1140 235 235 fin = fopen("/tmp/mondo-run-prog-thing.tmp", "r"); 236 236 if (fin) { 237 for (mr_getline(&incoming, &n, fin); !feof(fin); 238 mr_getline(&incoming, &n, fin)) { 237 for (mr_getline(&incoming, &n, fin); !feof(fin); mr_getline(&incoming, &n, fin)) { 239 238 /* patch by Heiko Schlittermann */ 240 239 p = incoming; -
branches/stable/mondo/src/common/libmondo-string.c
r1116 r1140 771 771 p = tmp; 772 772 while (*p != '\0') { 773 in_out[i] = *(p++); 773 in_out[i] = *p; 774 p++; 774 775 in_out[i + 1] = '\0'; 775 776 if (in_out[i] < 32 && i > 0) { … … 797 798 in_out[i] = '\0'; 798 799 mr_free(tmp); 799 /* for(i=strlen(in_out); i>0 && in_out[i-1]<=32; i--) {in_out[i-1]='\0';} */800 800 } 801 801 -
branches/stable/mondo/src/common/libmondo-tools.c
r1123 r1140 893 893 /*@ buffers ************ */ 894 894 char tmp[MAX_STR_LEN]; 895 // char command[MAX_STR_LEN];896 895 897 896 /*@ int's *************** */ … … 900 899 901 900 902 mvaddstr_and_log_it(g_currentY, 0, 903 "Checking sanity of your Linux distribution"); 901 mvaddstr_and_log_it(g_currentY, 0, "Checking sanity of your Linux distribution"); 904 902 #ifndef __FreeBSD__ 905 903 if (system("which mkfs.vfat &> /dev/null")
Note:
See TracChangeset
for help on using the changeset viewer.