Changeset 3604 in MondoRescue for branches/3.2/mondo/src/common/libmondo-fork.c
- Timestamp:
- Sep 6, 2016, 5:38:38 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.2/mondo/src/common/libmondo-fork.c
r3568 r3604 45 45 /*@ pointers **************************************************** */ 46 46 FILE *fin = NULL; 47 char *eng_call = NULL; 47 48 48 49 /*@ initialize data ********************************************* */ … … 52 53 53 54 assert_string_is_neither_NULL_nor_zerolength(call); 54 log_msg(5, "cpaglloo called with '%s'", call); 55 if ((fin = popen(call, "r"))) { 55 mr_asprintf(eng_call,"LANG=C LANGUAGE=C %s",call); 56 log_msg(5, "cpaglloo called with '%s'", eng_call); 57 if ((fin = popen(eng_call, "r"))) { 56 58 while (!feof(fin)) { 57 59 mr_getline(tmp, fin); … … 66 68 log_OS_error("Unable to open resulting file"); 67 69 } 70 mr_free(eng_call); 68 71 strip_spaces(result); 69 72 log_msg(5, "cpaglloo returns '%s'", result);
Note:
See TracChangeset
for help on using the changeset viewer.