(a_write): Verify that *annot is a cons.
authorRichard M. Stallman <rms@gnu.org>
Mon, 27 Jun 1994 20:44:08 +0000 (20:44 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 27 Jun 1994 20:44:08 +0000 (20:44 +0000)
src/fileio.c

index 08632ab..0a04f71 100644 (file)
@@ -3296,7 +3296,7 @@ a_write (desc, addr, len, pos, annot)
   int nextpos;
   int lastpos = pos + len;
 
-  while (1)
+  while (CONSP (*annot))
     {
       tem = Fcar_safe (Fcar (*annot));
       if (INTEGERP (tem) && XINT (tem) >= pos && XFASTINT (tem) <= lastpos)