1 diff -upr src/remove.c src/remove.c
2 --- src/remove.c 2007-07-23 12:56:20.000000000 +0200
3 +++ src/remove.c 2007-07-23 13:03:12.000000000 +0200
4 @@ -261,9 +261,10 @@ pop_dir (Dirstack_state *ds)
6 size_t n_lengths = obstack_object_size (&ds->len_stack) / sizeof (size_t);
7 size_t *length = obstack_base (&ds->len_stack);
10 assert (n_lengths > 0);
11 - size_t top_len = length[n_lengths - 1];
12 + top_len = length[n_lengths - 1];
13 assert (top_len >= 2);
15 /* Pop the specified length of file name. */
16 @@ -421,10 +422,11 @@ AD_stack_top (Dirstack_state const *ds)
18 AD_stack_pop (Dirstack_state *ds)
21 assert (0 < AD_stack_height (ds));
23 /* operate on Active_dir. pop and free top entry */
24 - struct AD_ent *top = AD_stack_top (ds);
25 + top = AD_stack_top (ds);
27 hash_free (top->unremovable);
28 obstack_blank (&ds->Active_dir, -(int) sizeof (struct AD_ent));
29 @@ -876,6 +878,7 @@ prompt (int fd_cwd, Dirstack_state const
34 char const *quoted_name = quote (full_filename (filename));
36 if (0 < write_protected)
37 @@ -915,6 +918,7 @@ prompt (int fd_cwd, Dirstack_state const
38 : _("%s: remove %s %s? ")),
39 program_name, file_type (sbuf), quoted_name);
44 return RM_USER_DECLINED;
45 @@ -1534,6 +1538,7 @@ rm_1 (Dirstack_state *ds, char const *fi
51 cache_stat_init (&st);
52 cycle_check_init (&ds->cycle_check_state);
53 @@ -1556,6 +1561,7 @@ rm_1 (Dirstack_state *ds, char const *fi
55 AD_INIT_OTHER_MEMBERS ();
58 enum RM_status status = remove_entry (AT_FDCWD, ds, filename,
60 if (status == RM_NONEMPTY_DIR)
61 @@ -1574,6 +1580,8 @@ rm_1 (Dirstack_state *ds, char const *fi
68 /* Remove all files and/or directories specified by N_FILES and FILE.
69 Apply the options in X. */
70 diff -upr src/rm.c src/rm.c
71 --- src/rm.c 2007-07-23 12:56:20.000000000 +0200
72 +++ src/rm.c 2007-07-23 13:03:12.000000000 +0200
73 @@ -354,6 +354,7 @@ main (int argc, char **argv)
78 size_t n_files = argc - optind;
79 char const *const *file = (char const *const *) argv + optind;
81 @@ -367,7 +368,10 @@ main (int argc, char **argv)
86 enum RM_status status = rm (n_files, file, &x);
87 assert (VALID_STATUS (status));
88 exit (status == RM_ERROR ? EXIT_FAILURE : EXIT_SUCCESS);
92 diff -upr src/seq.c src/seq.c
93 --- src/seq.c 2007-07-23 12:56:20.000000000 +0200
94 +++ src/seq.c 2007-07-23 13:03:12.000000000 +0200
95 @@ -164,6 +164,7 @@ scan_arg (const char *arg)
96 : (decimal_point == arg /* .# -> 0.# */
97 || ! ISDIGIT (decimal_point[-1]))); /* -.# -> 0.# */
100 char const *e = strchr (arg, 'e');
102 e = strchr (arg, 'E');
103 @@ -172,6 +173,7 @@ scan_arg (const char *arg)
104 long exponent = strtol (e + 1, NULL, 10);
105 ret.precision += exponent < 0 ? -exponent : 0;
111 @@ -338,6 +340,7 @@ get_default_format (operand first, opera
112 size_t last_width = last.width + (prec - last.precision);
113 if (last.precision && prec == 0)
114 last_width--; /* don't include space for '.' */
116 size_t width = MAX (first_width, last_width);
117 if (width <= INT_MAX)
119 @@ -345,6 +348,7 @@ get_default_format (operand first, opera
120 sprintf (format_buf, "%%0%d.%dLf", w, prec);
127 @@ -433,6 +437,7 @@ main (int argc, char **argv)
130 validate_format (format_str);
132 char const *f = long_double_format (format_str, &layout);
135 @@ -440,6 +445,7 @@ main (int argc, char **argv)
136 usage (EXIT_FAILURE);
142 last = scan_arg (argv[optind++]);
143 diff -upr src/shred.c src/shred.c
144 --- src/shred.c 2007-07-23 12:56:20.000000000 +0200
145 +++ src/shred.c 2007-07-23 13:03:12.000000000 +0200
146 @@ -461,7 +461,7 @@ dopass (int fd, char const *qname, off_t
147 out. Thus, it shouldn't give up on bad blocks. This
148 code works because lim is always a multiple of
149 SECTOR_SIZE, except at the end. */
150 - verify (sizeof r % SECTOR_SIZE == 0);
151 + { verify (sizeof r % SECTOR_SIZE == 0); }
152 if (errnum == EIO && 0 <= size && (soff | SECTOR_MASK) < lim)
154 size_t soff1 = (soff | SECTOR_MASK) + 1;
155 --- src/id.c 2008-03-04 18:50:55.000000000 +0100
156 +++ src/id.c 2008-03-04 19:32:24.000000000 +0100
157 @@ -196,6 +196,7 @@ of a different user"));
158 error (EXIT_FAILURE, 0,
159 _("cannot print only names or real IDs in default format"));
162 char const *user_name;
163 if (argc - optind == 1)
165 @@ -239,6 +240,7 @@ of a different user"));
167 print_full_info (user_name);
172 exit (ok ? EXIT_SUCCESS : EXIT_FAILURE);