projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
date and time created 88/07/22 16:08:01 by bostic
[unix-history]
/
usr
/
src
/
old
/
as.vax
/
asmain.c
diff --git
a/usr/src/old/as.vax/asmain.c
b/usr/src/old/as.vax/asmain.c
index
1a91547
..
f8d32cc
100644
(file)
--- a/
usr/src/old/as.vax/asmain.c
+++ b/
usr/src/old/as.vax/asmain.c
@@
-11,7
+11,7
@@
char copyright[] =
#endif not lint
#ifndef lint
#endif not lint
#ifndef lint
-static char sccsid[] = "@(#)asmain.c 5.
1
(Berkeley) %G%";
+static char sccsid[] = "@(#)asmain.c 5.
3
(Berkeley) %G%";
#endif not lint
#include <stdio.h>
#endif not lint
#include <stdio.h>
@@
-25,7
+25,7
@@
static char sccsid[] = "@(#)asmain.c 5.1 (Berkeley) %G%";
#include <sys/stat.h>
#include <sys/stat.h>
-#define unix_lang_name "VAX/UNIX Assembler V%G% 5.
1
"
+#define unix_lang_name "VAX/UNIX Assembler V%G% 5.
3
"
/*
* variables to manage reading the assembly source files
*/
/*
* variables to manage reading the assembly source files
*/
@@
-422,9
+422,9
@@
FILE *tempopen(tname, part)
char *part;
{
FILE *file;
char *part;
{
FILE *file;
- sprintf(tname, "%s%sas%s%05d",
+
(void)
sprintf(tname, "%s%sas%s%05d",
tmpdirprefix,
tmpdirprefix,
- (tmpdirprefix[strlen(tmpdirprefix)-1] != '/') ? "/" :
0
,
+ (tmpdirprefix[strlen(tmpdirprefix)-1] != '/') ? "/" :
""
,
part,
getpid());
file = fopen(tname, "w");
part,
getpid());
file = fopen(tname, "w");