list. Reported by vandys@cisco.com and Mark_Weaver@brown.edu.
#ifndef lint
/*static char sccsid[] = "from: @(#)move.c 5.6 (Berkeley) 6/1/90";*/
-static char rcsid[] = "$Id: move.c,v 1.2 1993/08/01 18:56:55 mycroft Exp $";
+static char rcsid[] = "$Id: move.c,v 1.3 1993/12/03 09:32:55 mycroft Exp $";
#endif /* not lint */
#include "back.h"
writel ("\nOut of memory\n");
getout();
}
- new->b_next = 0;
- return (new);
+ } else {
+ new = freeq;
+ freeq = freeq->b_next;
}
- new = freeq;
- freeq = freeq->b_next;
+ new->b_next = 0;
+ return (new);
}
\f
pickmove () {