Changeset 3060 in MondoRescue for branches/3.0/mondo/src/lib/mr_conf.c
- Timestamp:
- Nov 10, 2012, 5:05:37 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.0/mondo/src/lib/mr_conf.c
r2290 r3060 97 97 int mr_conf_open(const char *filename) { 98 98 size_t length; /*length of the buffer/file */ 99 size_t res = 0;100 99 101 100 /* check if mr_conf is already opened? */ … … 126 125 /*reading file in buffer (skip all 0 characters) */ 127 126 128 res = fread(buffer, sizeof(char), length, CONF); 127 if (fread(buffer, sizeof(char), length, CONF)) { 128 // FIXME 129 } 129 130 buffer[length] = (char) 0; /*finalize the string */ 130 131
Note:
See TracChangeset
for help on using the changeset viewer.