Fix bug that can cuase a loop to become endless.

The bug is triggered by attempts to copy in (-i) a file which happens
to have zero length.
This commit is contained in:
David E. O'Brien 1997-04-03 11:24:59 +00:00
parent 3162fb1fe3
commit 39caadde7c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=24595

View File

@ -1321,7 +1321,6 @@ create_final_defers ()
for (d = deferments; d != NULL; d = d->next)
{
d = deferments;
link_res = link_to_maj_min_ino (d->header.c_name,
d->header.c_dev_maj, d->header.c_dev_maj,
d->header.c_ino);