a6e010689d
Fix incorrect free() usage and writing past the end of a malloc()ed string
13 lines
326 B
Text
13 lines
326 B
Text
$NetBSD: patch-ae,v 1.1 2002/06/26 21:03:01 abs Exp $
|
|
|
|
--- test_name.c.orig Thu Feb 18 11:15:03 1999
|
|
+++ test_name.c
|
|
@@ -18,6 +18,8 @@
|
|
char *name;
|
|
char *filename;
|
|
|
|
+ setlinebuf(stdout);
|
|
+
|
|
if (ir_init_commands(NULL, 1) < 0) {
|
|
fprintf(stderr, "error initialising commands: %s\n", strerror(errno));
|
|
exit(1);
|