]> sourceware.org Git - glibc.git/commitdiff
Fix up formatting in tst-ftell-active-handler.c
authorSiddhesh Poyarekar <siddhesh@redhat.com>
Tue, 4 Mar 2014 10:19:58 +0000 (15:49 +0530)
committerSiddhesh Poyarekar <siddhesh@redhat.com>
Tue, 4 Mar 2014 10:19:58 +0000 (15:49 +0530)
ChangeLog
libio/tst-ftell-active-handler.c

index 90ca90c165876f00c08363bfb671970cc0c59f9c..cdb5b85830c13898ed2f4314b9c0a7840827cae2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 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
index 175e9042ae398883146e96afe2e7d175ed3d9b9d..54bfe6380f9b7a084841b99c9ad3f243d044e2e9 100644 (file)
@@ -44,11 +44,11 @@ static int do_test (void);
     {                                                                        \
       (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;                                                                       \
 })
@@ -66,7 +66,7 @@ static int do_test (void);
     {                                                                        \
       (fd) = fileno (fp);                                                    \
       if ((fd) == -1)                                                        \
-        {                                                                    \
+                                                                           \
          printf ("fileno failed: %m\n");                                     \
          ret = 1;                                                            \
        }                                                                     \
@@ -230,7 +230,7 @@ do_write_test (const char *filename)
 
          printf ("offset = %ld\n", offset);
          fclose (fp);
-        }
+       }
     }
 
   return ret;
This page took 0.120676 seconds and 5 git commands to generate.