summaryrefslogtreecommitdiff
blob: e5fd895bfbd351c09a1bcd6c370467ae7456b616 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Index: es.c
===================================================================
RCS file: /cvsroot/eflite/eflite/es.c,v
retrieving revision 1.20
diff -r1.20 es.c
714c714,722
<     if (size == -1) terror("read");
---
>     if (size == -1)
>     {
>       if (errno == EBADF)
>       {
> 	/* this might really be an eof */
> 	exit(0);
>       }
>       else terror("read");
>     }