comparison src/secure_save.c @ 1446:a6f9ba6fd751

gint -> gboolean.
author zas_
date Sun, 15 Mar 2009 18:06:41 +0000
parents 2abdd6e50120
children 956aab097ea7
comparison
equal deleted inserted replaced
1445:cb0040be832e 1446:a6f9ba6fd751
231 * fclose() (which call fflush() again, but the first one is needed since 231 * fclose() (which call fflush() again, but the first one is needed since
232 * it doesn't make much sense to flush kernel buffers and then libc buffers, 232 * it doesn't make much sense to flush kernel buffers and then libc buffers,
233 * while closing file releases file descriptor we need to call fsync(). */ 233 * while closing file releases file descriptor we need to call fsync(). */
234 #if defined(HAVE_FFLUSH) || defined(HAVE_FSYNC) 234 #if defined(HAVE_FFLUSH) || defined(HAVE_FSYNC)
235 if (ssi->secure_save) { 235 if (ssi->secure_save) {
236 gint fail = 0; 236 gboolean fail = FALSE;
237 237
238 #ifdef HAVE_FFLUSH 238 #ifdef HAVE_FFLUSH
239 fail = (fflush(ssi->fp) == EOF); 239 fail = (fflush(ssi->fp) == EOF);
240 #endif 240 #endif
241 241