[4217] in Athena Bugs
vax 6.4R: discuss
daemon@ATHENA.MIT.EDU (Jonathan I. Kamens)
Tue Feb 13 18:41:26 1990
Date: Tue, 13 Feb 90 18:40:57 -0500
From: Jonathan I. Kamens <jik@PIT-MANAGER.MIT.EDU>
To: jtkohl@ATHENA.MIT.EDU
Cc: bugs@ATHENA.MIT.EDU, bug-sipb@ATHENA.MIT.EDU, discussers@ATHENA.MIT.EDU
In-Reply-To: John T Kohl's message of Tue, 13 Feb 90 16:43:21 -0500 <9002132143.AA16389@lycus.MIT.EDU>
The bug you reported is a bug in the file "parse.c" in the ss
library. The bug has been fixed in the discuss sources and in the ss
sources in the sipbsrc locker, and it has been entered into the
changes meeting to be fixed in the Athena source tree for the next
release.
New binaries and libraries have also been installed in the sipb
locker.
I can't fix the sources in the discuss locker, since I don't think I
have write access to the sources there, so the patch is appended to
the end of this message for those of you who do to install.
Jonathan Kamens
Project Athena Quality Assurance
*** /tmp/,RCSt1014434 Tue Feb 13 18:39:49 1990
--- parse.c Tue Feb 13 18:30:25 1990
***************
*** 47,52 ****
--- 47,53 ----
argv = (char **) malloc (sizeof(char *));
if (argv == (char **)NULL) {
ss_error(sci_idx, errno, "Can't allocate storage");
+ *argc_ptr = 0;
return(argv);
}
*argv = (char *)NULL;
***************
*** 108,113 ****
--- 109,115 ----
ss_error (sci_idx, 0,
"Unbalanced quotes in command line");
free (argv);
+ *argc_ptr = 0;
return NULL;
}
else if (*line_ptr == '"') {