Whamcloud - gitweb
ChangeLog, tune2fs.c:
authorTheodore Ts'o <tytso@mit.edu>
Sun, 14 Jan 2001 16:11:14 +0000 (16:11 +0000)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 14 Jan 2001 16:11:14 +0000 (16:11 +0000)
  tune2fs.c (add_journal): Minor fixes from Andreas Dilger. Flush stdout
   after printing in-progress message.
   (main): Exit with status code 1 if we failed to determine the mount
   status of the device.
ChangeLog, gcc-wall-cleanup:
  gcc-wall-cleanup: Remove additional annoying warning messages emited
   by gcc 2.95.2.
ChangeLog, uuid.h:
  uuid: Change arguments to make it clear which argument is the source
   and which is the destination.

lib/uuid/ChangeLog
lib/uuid/uuid.h
misc/ChangeLog
misc/tune2fs.c
util/ChangeLog
util/gcc-wall-cleanup

index ac5255e..94fcb9a 100644 (file)
@@ -2,8 +2,9 @@
 
        * uuid_time.c (main), tst_uuid.c (main): Fix gcc -Wall complaints.
 
-       * copy.c (uuid_copy): Change arguments to make it clear which
-               argument is the source and which is the destination.
+       * uuid.h, copy.c (uuid_copy): Change arguments to make it
+               clear which argument is the source and which is the
+               destination.
 
        * gen_uuid.c (get_random_fd): Use gettimeofday to seed the PRNG,
                so we can take advantage of tv_usec to do (slightly)
index 785f586..0e974d8 100644 (file)
@@ -28,7 +28,7 @@ void uuid_clear(uuid_t uu);
 int uuid_compare(uuid_t uu1, uuid_t uu2);
 
 /* copy.c */
-void uuid_copy(uuid_t uu1, uuid_t uu2);
+void uuid_copy(uuid_t dst, uuid_t src);
 
 /* gen_uuid.c */
 void uuid_generate(uuid_t out);
index 8047211..ee599c4 100644 (file)
@@ -1,3 +1,10 @@
+2001-01-14  Theodore Ts'o  <tytso@valinux.com>
+
+       * tune2fs.c (add_journal): Minor fixes from Andreas Dilger. Flush
+               stdout after printing in-progress message.  
+               (main): Exit with status code 1 if we failed to determine
+               the mount status of the device.
+
 2001-01-11    <tytso@snap.thunk.org>
 
        * e2image.c, mke2fs.c, mklost+found.c, tune2fs.c, util.c,
index a28b3e4..e439511 100644 (file)
@@ -205,6 +205,7 @@ static void add_journal(ext2_filsys fs)
                check_mount(journal_device, 0, _("journal"));
                printf(_("Creating journal on device %s: "),
                       journal_device);
+               fflush(stdout);
                retval = ext2fs_add_journal_device(fs, journal_device,
                                                   journal_blocks,
                                                   journal_flags);
@@ -494,7 +495,7 @@ int main (int argc, char ** argv)
                com_err("ext2fs_check_if_mount", retval,
                        _("while determining whether %s is mounted."),
                        device_name);
-               exit(0);
+               exit(1);
        }
        /* Normally we only need to write out the superblock */
        fs->flags |= EXT2_FLAG_SUPER_ONLY;
index 0b49825..9ffa0a9 100644 (file)
@@ -1,3 +1,8 @@
+2001-01-14  Theodore Ts'o  <tytso@valinux.com>
+
+       * gcc-wall-cleanup: Remove additional annoying warning messages
+               emited by gcc 2.95.2.
+
 2001-01-11    <tytso@snap.thunk.org>
 
        * gcc-wall-cleanup: New file which is used to clean up unnecessary
index 1e556ea..4d817b1 100644 (file)
@@ -7,7 +7,9 @@
 /^gcc /d
 /does not support `long long'/d
 /does not support the `ll' length modifier/d
+/ANSI C forbids long long integer constants/d
 /traditional C rejects string concatenation/d
+/integer constant is unsigned in ANSI C, signed with -traditional/d
 /At top level:/d
 /In file included from/d
 /In function `.*':/d