From 38e82dbbff92f44e8a02412d23eab429d301a628 Mon Sep 17 00:00:00 2001 From: obrien Date: Thu, 3 Apr 1997 11:24:59 +0000 Subject: 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. --- contrib/cpio/copyin.c | 1 - 1 file changed, 1 deletion(-) (limited to 'contrib/cpio') diff --git a/contrib/cpio/copyin.c b/contrib/cpio/copyin.c index 2008c39..bfb9536 100644 --- a/contrib/cpio/copyin.c +++ b/contrib/cpio/copyin.c @@ -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); -- cgit v1.1