Changeset 1126
- Timestamp:
- 04/04/11 03:25:45 (2 years ago)
- File:
-
- 1 edited
-
trunk/platform/generic/wrappers.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/platform/generic/wrappers.c
r1124 r1126 320 320 int open (const char *name, int flags, int mode ) 321 321 { 322 #ifdef CAM_DRYOS_2_3_R39 323 if(name[0]!='A')return -1; 322 #ifdef CAM_DRYOS 323 if(!name || name[0]!='A') 324 return -1; 324 325 #endif 325 326 #if defined(CAM_STARTUP_CRASH_FILE_OPEN_FIX) // enable fix for camera crash at startup when opening the conf / font files … … 389 390 390 391 long fopen(const char *filename, const char *mode) { 392 #ifdef CAM_DRYOS 393 if(!filename || filename[0]!='A') { 394 return 0; 395 } 396 #endif 391 397 return _Fopen_Fut(filename,mode); 392 398 }
Note: See TracChangeset
for help on using the changeset viewer.