1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-04-21 03:12:48 +02:00

remove trailing blanks

This commit is contained in:
Jim Meyering
2007-03-10 00:45:30 +01:00
parent ca4f28bc83
commit 0a538a2488

View File

@@ -32,7 +32,7 @@ index 4728bdd..7477da5 100644
hash_free (top->unremovable);
obstack_blank (&ds->Active_dir, -(int) sizeof (struct AD_ent));
@@ -815,6 +817,7 @@ prompt (int fd_cwd, Dirstack_state const *ds, char const *filename,
if (write_protected || x->interactive == RMI_ALWAYS)
{
+ char const *quoted_name = quote (full_filename (filename));
@@ -42,7 +42,7 @@ index 4728bdd..7477da5 100644
@@ -832,8 +835,6 @@ prompt (int fd_cwd, Dirstack_state const *ds, char const *filename,
write_protected = EISDIR;
}
- char const *quoted_name = quote (full_filename (filename));
-
if (0 < write_protected)
@@ -65,7 +65,7 @@ index 4728bdd..7477da5 100644
if (status == RM_NONEMPTY_DIR)
{
@@ -1525,6 +1528,8 @@ rm_1 (Dirstack_state *ds, char const *filename,
ds_clear (ds);
return status;
+ }