chris@mimsy.UUCP (08/30/87)
Index: ucb/dbx/mkdate.c 4.3BSD Fix
Description:
mkdate does not include an exit() or return in main,
so it exits with whatever is in r0.
Repeat-by:
Install an ANSI/SysV conformant printf() that returns the
number of characters printed, recompile mkdate, and attempt
to recompile dbx.
Fix:
RCS file: RCS/mkdate.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -c2 -r1.1 -r1.2
*** /tmp/,RCSt1006741 Sun Aug 30 00:03:16 1987
--- /tmp/,RCSt2006741 Sun Aug 30 00:03:18 1987
***************
*** 9,13 ****
#endif not lint
! static char rcsid[] = "$Header: mkdate.c,v 1.1 87/08/30 00:02:28 chris Exp $";
#include <stdio.h>
--- 9,13 ----
#endif not lint
! static char rcsid[] = "$Header: mkdate.c,v 1.2 87/08/30 00:02:54 chris Exp $";
#include <stdio.h>
***************
*** 30,33 ****
--- 30,34 ----
printf("\";\n");
DoVersionNumber();
+ exit(0);
}
--
In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7690)
Domain: chris@mimsy.umd.edu Path: seismo!mimsy!chris