1 diff -upr src/remove.c src/remove.c
2 --- src/remove.c 2007-05-29 16:22:10.000000000 +0200
3 +++ src/remove.c 2007-07-09 19:15:47.000000000 +0200
4 @@ -254,9 +254,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 @@ -388,10 +389,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 @@ -873,6 +875,7 @@ prompt (int fd_cwd, Dirstack_state const
34 char const *quoted_name = quote (full_filename (filename));
36 if (0 < write_protected)
37 @@ -912,6 +915,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 @@ -1512,6 +1516,7 @@ rm_1 (Dirstack_state *ds, char const *fi
51 cache_stat_init (&st);
52 cycle_check_init (&ds->cycle_check_state);
53 @@ -1534,6 +1539,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 @@ -1552,6 +1558,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-05-29 16:22:10.000000000 +0200
72 +++ src/rm.c 2007-07-09 19:15:47.000000000 +0200
73 @@ -355,6 +355,7 @@ main (int argc, char **argv)
78 size_t n_files = argc - optind;
79 char const *const *file = (char const *const *) argv + optind;
81 @@ -368,7 +369,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-09 18:37:02.000000000 +0200
94 +++ src/seq.c 2007-07-09 19:15:47.000000000 +0200
95 @@ -157,6 +157,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 @@ -165,6 +166,7 @@ scan_arg (const char *arg)
104 long exponent = strtol (e + 1, NULL, 10);
105 ret.precision += exponent < 0 ? -exponent : 0;
111 @@ -293,6 +295,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 @@ -300,6 +303,7 @@ get_default_format (operand first, opera
120 sprintf (format_buf, "%%0%d.%dLf", w, prec);
127 diff -upr src/shred.c src/shred.c
128 --- src/shred.c 2007-06-23 12:19:19.000000000 +0200
129 +++ src/shred.c 2007-07-09 19:15:47.000000000 +0200
130 @@ -463,7 +463,7 @@ dopass (int fd, char const *qname, off_t
131 out. Thus, it shouldn't give up on bad blocks. This
132 code works because lim is always a multiple of
133 SECTOR_SIZE, except at the end. */
134 - verify (sizeof r % SECTOR_SIZE == 0);
135 + { verify (sizeof r % SECTOR_SIZE == 0); }
136 if (errnum == EIO && 0 <= size && (soff | SECTOR_MASK) < lim)
138 size_t soff1 = (soff | SECTOR_MASK) + 1;