From 63d834b80a0da490a6ab6a4373fc29647dcad280 Mon Sep 17 00:00:00 2001 From: "David W. Chapman Jr." Date: Wed, 15 May 2002 13:59:53 +0000 Subject: Fix building under -current PR: 37940 Submitted by: obraun@informatik.unibw-muenchen.de --- lang/atlast/files/patch-atlast.c | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 lang/atlast/files/patch-atlast.c (limited to 'lang/atlast') diff --git a/lang/atlast/files/patch-atlast.c b/lang/atlast/files/patch-atlast.c new file mode 100644 index 000000000000..99263a80b8b3 --- /dev/null +++ b/lang/atlast/files/patch-atlast.c @@ -0,0 +1,24 @@ +--- atlast.c.orig Fri May 10 23:18:47 2002 ++++ atlast.c Fri May 10 23:36:28 2002 +@@ -3243,14 +3243,17 @@ + { static struct { + char *sfn; + FILE *sfd; +- } stdfiles[] = { +- {"STDIN", stdin}, +- {"STDOUT", stdout}, +- {"STDERR", stderr} ++ } stdfiles[] = { ++ {"STDIN", NULL}, ++ {"STDOUT", NULL}, ++ {"STDERR", NULL} + }; + int i; + dictword *dw; + ++ stdfiles[0].sfd = stdin; ++ stdfiles[1].sfd = stdout; ++ stdfiles[2].sfd = stderr; + for (i = 0; i < ELEMENTS(stdfiles); i++) { + if ((dw = atl_vardef(stdfiles[i].sfn, + 2 * sizeof(stackitem))) != NULL) { -- cgit v1.2.3