2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
+ * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
+ formatting.
+ (get_handles_fopen): Likewise.
+ (do_write_test): Likewise.
+
* libio/wfileops.c (do_ftell_wide): Fix up formatting.
* libio/fileops.c (do_ftell): Use cached offset when
{ \
(fp) = fdopen ((fd), (mode)); \
if ((fp) == NULL) \
- { \
- printf ("fdopen failed: %m\n"); \
- close (fd); \
- ret = 1; \
- } \
+ { \
+ printf ("fdopen failed: %m\n"); \
+ close (fd); \
+ ret = 1; \
+ } \
} \
ret; \
})
{ \
(fd) = fileno (fp); \
if ((fd) == -1) \
- { \
+ { \
printf ("fileno failed: %m\n"); \
ret = 1; \
} \
printf ("offset = %ld\n", offset);
fclose (fp);
- }
+ }
}
return ret;