1 --- src/id.c 2008-03-04 18:50:55.000000000 +0100
2 +++ src/id.c 2008-03-04 19:32:24.000000000 +0100
3 @@ -196,6 +196,7 @@ of a different user"));
4 error (EXIT_FAILURE, 0,
5 _("cannot print only names or real IDs in default format"));
9 if (argc - optind == 1)
11 @@ -239,6 +240,7 @@ of a different user"));
13 print_full_info (user_name);
18 exit (ok ? EXIT_SUCCESS : EXIT_FAILURE);
19 diff -upr src/remove.c src/remove.c
20 --- src/remove.c 2007-07-23 12:56:20.000000000 +0200
21 +++ src/remove.c 2007-07-23 13:03:12.000000000 +0200
22 @@ -264,9 +264,10 @@ pop_dir (Dirstack_state *ds)
24 size_t n_lengths = obstack_object_size (&ds->len_stack) / sizeof (size_t);
25 size_t *length = obstack_base (&ds->len_stack);
28 assert (n_lengths > 0);
29 - size_t top_len = length[n_lengths - 1];
30 + top_len = length[n_lengths - 1];
31 assert (top_len >= 2);
33 /* Pop the specified length of file name. */
34 @@ -424,10 +425,11 @@ AD_stack_top (Dirstack_state const *ds)
36 AD_stack_pop (Dirstack_state *ds)
39 assert (0 < AD_stack_height (ds));
41 /* operate on Active_dir. pop and free top entry */
42 - struct AD_ent *top = AD_stack_top (ds);
43 + top = AD_stack_top (ds);
45 hash_free (top->unremovable);
46 obstack_blank (&ds->Active_dir, -(int) sizeof (struct AD_ent));
47 @@ -879,6 +881,7 @@ prompt (int fd_cwd, Dirstack_state const
52 char const *quoted_name = quote (full_filename (filename));
54 if (0 < write_protected)
55 @@ -918,6 +921,7 @@ prompt (int fd_cwd, Dirstack_state const
56 : _("%s: remove %s %s? ")),
57 program_name, file_type (sbuf), quoted_name);
62 return RM_USER_DECLINED;
63 @@ -1537,6 +1541,7 @@ rm_1 (Dirstack_state *ds, char const *fi
69 cache_stat_init (&st);
70 cycle_check_init (&ds->cycle_check_state);
71 @@ -1559,6 +1564,7 @@ rm_1 (Dirstack_state *ds, char const *fi
73 AD_INIT_OTHER_MEMBERS ();
76 enum RM_status status = remove_entry (AT_FDCWD, ds, filename,
78 if (status == RM_NONEMPTY_DIR)
79 @@ -1577,6 +1583,8 @@ rm_1 (Dirstack_state *ds, char const *fi
86 /* Remove all files and/or directories specified by N_FILES and FILE.
87 Apply the options in X. */
88 diff -upr src/rm.c src/rm.c
89 --- src/rm.c 2007-07-23 12:56:20.000000000 +0200
90 +++ src/rm.c 2007-07-23 13:03:12.000000000 +0200
91 @@ -354,6 +354,7 @@ main (int argc, char **argv)
96 size_t n_files = argc - optind;
97 char const *const *file = (char const *const *) argv + optind;
99 @@ -367,7 +368,10 @@ main (int argc, char **argv)
104 enum RM_status status = rm (n_files, file, &x);
105 assert (VALID_STATUS (status));
106 exit (status == RM_ERROR ? EXIT_FAILURE : EXIT_SUCCESS);
110 diff -upr src/seq.c src/seq.c
111 --- src/seq.c 2007-07-23 12:56:20.000000000 +0200
112 +++ src/seq.c 2007-07-23 13:03:12.000000000 +0200
113 @@ -164,6 +164,7 @@ scan_arg (const char *arg)
114 : (decimal_point == arg /* .# -> 0.# */
115 || ! ISDIGIT (decimal_point[-1]))); /* -.# -> 0.# */
118 char const *e = strchr (arg, 'e');
120 e = strchr (arg, 'E');
121 @@ -172,6 +173,7 @@ scan_arg (const char *arg)
122 long exponent = strtol (e + 1, NULL, 10);
123 ret.precision += exponent < 0 ? -exponent : 0;
129 @@ -338,6 +340,7 @@ get_default_format (operand first, opera
130 size_t last_width = last.width + (prec - last.precision);
131 if (last.precision && prec == 0)
132 last_width--; /* don't include space for '.' */
134 size_t width = MAX (first_width, last_width);
135 if (width <= INT_MAX)
137 @@ -345,6 +348,7 @@ get_default_format (operand first, opera
138 sprintf (format_buf, "%%0%d.%dLf", w, prec);
145 @@ -433,6 +437,7 @@ main (int argc, char **argv)
148 validate_format (format_str);
150 char const *f = long_double_format (format_str, &layout);
153 @@ -440,6 +445,7 @@ main (int argc, char **argv)
154 usage (EXIT_FAILURE);
160 last = scan_arg (argv[optind++]);
161 diff -upr src/shred.c src/shred.c
162 --- src/shred.c 2007-07-23 12:56:20.000000000 +0200
163 +++ src/shred.c 2007-07-23 13:03:12.000000000 +0200
164 @@ -461,7 +461,7 @@ dopass (int fd, char const *qname, off_t
165 out. Thus, it shouldn't give up on bad blocks. This
166 code works because lim is always a multiple of
167 SECTOR_SIZE, except at the end. */
168 - verify (sizeof r % SECTOR_SIZE == 0);
169 + { verify (sizeof r % SECTOR_SIZE == 0); }
170 if (errnum == EIO && 0 <= size && (soff | SECTOR_MASK) < lim)
172 size_t soff1 = (soff | SECTOR_MASK) + 1;