2 ===================================================================
3 RCS file: /fetish/cu/src/remove.c,v
4 retrieving revision 1.158
5 diff --git a/src/remove.c b/src/remove.c
6 index 4728bdd..7477da5 100644
9 @@ -236,9 +236,10 @@ pop_dir (Dirstack_state *ds)
11 size_t n_lengths = obstack_object_size (&ds->len_stack) / sizeof (size_t);
12 size_t *length = obstack_base (&ds->len_stack);
15 assert (n_lengths > 0);
16 - size_t top_len = length[n_lengths - 1];
17 + top_len = length[n_lengths - 1];
18 assert (top_len >= 2);
20 /* Pop the specified length of file name. */
21 @@ -370,10 +371,11 @@ AD_stack_top (Dirstack_state const *ds)
23 AD_stack_pop (Dirstack_state *ds)
26 assert (0 < AD_stack_height (ds));
28 /* operate on Active_dir. pop and free top entry */
29 - struct AD_ent *top = AD_stack_top (ds);
30 + top = AD_stack_top (ds);
32 hash_free (top->unremovable);
33 obstack_blank (&ds->Active_dir, -(int) sizeof (struct AD_ent));
34 @@ -1106,7 +1108,7 @@ remove_entry (int fd_cwd, Dirstack_state
36 fd_to_subdirp (int fd_cwd, char const *f,
37 struct rm_options const *x, int prev_errno,
38 - struct stat *subdir_sb, Dirstack_state *ds,
39 + struct stat *subdir_sb,
40 int *cwd_errno ATTRIBUTE_UNUSED)
42 int open_flags = O_RDONLY | O_NOCTTY | O_NOFOLLOW | O_NONBLOCK;
43 @@ -1216,7 +1218,7 @@ remove_cwd_entries (DIR **dirp,
46 DIR *subdir_dirp = fd_to_subdirp (dirfd (*dirp), f,
47 - x, errno, subdir_sb, ds, NULL);
48 + x, errno, subdir_sb, NULL);
49 if (subdir_dirp == NULL)
52 @@ -1304,7 +1306,7 @@ remove_dir (int fd_cwd, Dirstack_state *
53 fd_to_subdirp's fstat, along with the `fstat' and the dev/ino
54 comparison in AD_push ensure that we detect it and fail. */
56 - DIR *dirp = fd_to_subdirp (fd_cwd, dir, x, 0, dir_st, ds, cwd_errno);
57 + DIR *dirp = fd_to_subdirp (fd_cwd, dir, x, 0, dir_st, cwd_errno);
61 @@ -1463,6 +1465,7 @@ rm_1 (Dirstack_state *ds, char const *fi
67 cache_stat_init (&st);
68 cycle_check_init (&ds->cycle_check_state);
69 @@ -1485,6 +1488,7 @@ rm_1 (Dirstack_state *ds, char const *fi
71 AD_INIT_OTHER_MEMBERS ();
74 enum RM_status status = remove_entry (AT_FDCWD, ds, filename, &st, x, NULL);
75 if (status == RM_NONEMPTY_DIR)
77 @@ -1501,6 +1505,8 @@ rm_1 (Dirstack_state *ds, char const *fi
85 /* Remove all files and/or directories specified by N_FILES and FILE.
87 ===================================================================
88 RCS file: /fetish/cu/src/rm.c,v
89 retrieving revision 1.140
90 diff --git a/src/rm.c b/src/rm.c
91 index 364a21c..7a24014 100644
94 @@ -355,6 +355,7 @@ main (int argc, char **argv)
99 size_t n_files = argc - optind;
100 char const *const *file = (char const *const *) argv + optind;
102 @@ -368,7 +369,10 @@ main (int argc, char **argv)
107 enum RM_status status = rm (n_files, file, &x);
108 assert (VALID_STATUS (status));
109 exit (status == RM_ERROR ? EXIT_FAILURE : EXIT_SUCCESS);
114 ===================================================================
115 RCS file: /fetish/cu/src/shred.c,v
116 retrieving revision 1.130
117 diff -u -p -r1.130 shred.c
118 --- shred.c 3 Sep 2006 02:53:16 -0000 1.130
119 +++ shred.c 3 Oct 2006 13:48:24 -0000
120 @@ -460,7 +460,7 @@ dopass (int fd, char const *qname, off_t
121 out. Thus, it shouldn't give up on bad blocks. This
122 code works because lim is always a multiple of
123 SECTOR_SIZE, except at the end. */
124 - verify (sizeof r % SECTOR_SIZE == 0);
125 + { verify (sizeof r % SECTOR_SIZE == 0); }
126 if (errnum == EIO && 0 <= size && (soff | SECTOR_MASK) < lim)
128 size_t soff1 = (soff | SECTOR_MASK) + 1;