diff options
author | Jim Meyering <jim@meyering.net> | 2005-11-22 21:12:28 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2005-11-22 21:12:28 +0000 |
commit | 32034e05b7fec52e0019e374b9cd1c463f94d812 (patch) | |
tree | f4da0d321503f611f54c1cd8e3eb4a754868d80f | |
parent | 8f092ad8e842eb476e072e1b87ddd09fa6404652 (diff) | |
download | coreutils-32034e05b7fec52e0019e374b9cd1c463f94d812.tar.xz |
whoops. Add back decl/definition of n_lengths.
-rw-r--r-- | src/remove.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/remove.c b/src/remove.c index ab19acca0..ce9ae21a9 100644 --- a/src/remove.c +++ b/src/remove.c @@ -574,7 +574,11 @@ AD_push (int fd_cwd, Dirstack_state *ds, char const *dir, /* Extend the stack. */ obstack_blank (&ds->Active_dir, sizeof (struct AD_ent)); - assert (AD_stack_height (ds) == n_lengths + 1); + + { + size_t n_lengths = obstack_object_size (&ds->len_stack) / sizeof (size_t); + assert (AD_stack_height (ds) == n_lengths + 1); + } /* Fill in the new values. */ top = AD_stack_top (ds); |