# HG changeset patch # User Roland McGrath # Date 772830030 0 # Node ID 3f543986a45a93de21e57e480ef0ef655da8c3a1 # Parent 1dd92ac021415563652fea03d16b7cb2f8018b6a (a_write): Loop while *ANNOT is listp, not consp. Previous code omitted all data from output files when *ANNOT was nil. diff -r 1dd92ac02141 -r 3f543986a45a src/fileio.c --- a/src/fileio.c Tue Jun 28 18:41:05 1994 +0000 +++ b/src/fileio.c Tue Jun 28 19:00:30 1994 +0000 @@ -3296,7 +3296,7 @@ int nextpos; int lastpos = pos + len; - while (CONSP (*annot)) + while (NILP (*annot) || CONSP (*annot)) { tem = Fcar_safe (Fcar (*annot)); if (INTEGERP (tem) && XINT (tem) >= pos && XFASTINT (tem) <= lastpos)