Changeset 1099:472aee12ade2 for buffy.c
Legend:
- Unmodified
- Added
- Removed
-
buffy.c
r905 r1099 42 42 #ifdef BUFFY_SIZE 43 43 44 /* Find the last message in the file. * upon success return 0. * If no 45 * message found - return -1 */ 44 /* Find the last message in the file. 45 * upon success return 0. If no message found - return -1 */ 46 46 47 int fseek_last_message (FILE * f) 47 48 { … … 258 259 else 259 260 #endif 260 if (stat (tmp->path, &sb) != 0 || 261 if (stat (tmp->path, &sb) != 0 || sb.st_size == 0 || 261 262 (!tmp->magic && (tmp->magic = mx_get_magic (tmp->path)) <= 0)) 262 263 {
