Changeset 788 for trunk/zoo-project/zoo-kernel/service_internal.c
- Timestamp:
- Oct 12, 2016, 3:47:26 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/zoo-project/zoo-kernel/service_internal.c
r781 r788 147 147 } 148 148 149 FILE* f0 = fopen (fileName, "r"); 149 //FILE* f0 = fopen (fileName, "r"); 150 // knut: open file in binary mode to avoid conversion of line endings (yielding extra bytes) on Windows platforms 151 FILE* f0 = fopen(fileName, "rb"); 150 152 if(f0!=NULL){ 151 153 fseek (f0, 0, SEEK_END); … … 260 262 */ 261 263 int _updateStatus(maps *conf){ 264 262 265 map* r_inputs = getMapFromMaps (conf, "main", "tmpPath"); 263 266 map* sid = getMapFromMaps (conf, "lenv", "usid"); 267 264 268 char* fbkpid = 265 269 (char *) … … 272 276 strlen(status->value)>0 && strlen(msg->value)>1){ 273 277 semid lockid = NULL; 278 274 279 char* stat=getStatusId(conf,sid->value); 275 280 if(stat!=NULL){ … … 291 296 } 292 297 } 298 293 299 return 0; 294 300 }
Note: See TracChangeset
for help on using the changeset viewer.