From c6756ec787c27922538635602d51dbf63da93b67 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Wed, 26 Jan 1994 18:51:44 +0000 Subject: . --- src/unexpand.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/unexpand.c') diff --git a/src/unexpand.c b/src/unexpand.c index 12762e354..6c3a52776 100644 --- a/src/unexpand.c +++ b/src/unexpand.c @@ -282,6 +282,9 @@ unexpand () int pending = 0; /* Pending columns of blanks. */ fp = next_file ((FILE *) NULL); + if (fp == NULL) + return; + for (;;) { c = getc (fp); -- cgit v1.2.3-54-g00ecf