diff options
author | 2000-10-30 17:16:44 +0000 | |
---|---|---|
committer | 2000-10-30 17:16:44 +0000 | |
commit | c23026ea2a4f5752d72cbb59f758a922a1f47b3c (patch) | |
tree | 442f8cd267478204a31a8a8fcbc3d19b93b3066f /bin/csh/csh.c | |
parent | Fix bug with ACQUIRE message. (diff) | |
download | wireguard-openbsd-c23026ea2a4f5752d72cbb59f758a922a1f47b3c.tar.xz wireguard-openbsd-c23026ea2a4f5752d72cbb59f758a922a1f47b3c.zip |
Use mkstemp(3) for here document (<<) temporary files instead of $$
Problem noted by proton@ENERGYMECH.NET
Diffstat (limited to 'bin/csh/csh.c')
-rw-r--r-- | bin/csh/csh.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/bin/csh/csh.c b/bin/csh/csh.c index 557c6d38a7a..0066c6a314d 100644 --- a/bin/csh/csh.c +++ b/bin/csh/csh.c @@ -1,4 +1,4 @@ -/* $OpenBSD: csh.c,v 1.12 2000/09/04 19:33:58 mickey Exp $ */ +/* $OpenBSD: csh.c,v 1.13 2000/10/30 17:16:45 millert Exp $ */ /* $NetBSD: csh.c,v 1.14 1995/04/29 23:21:28 mycroft Exp $ */ /*- @@ -44,7 +44,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)csh.c 8.2 (Berkeley) 10/12/93"; #else -static char rcsid[] = "$OpenBSD: csh.c,v 1.12 2000/09/04 19:33:58 mickey Exp $"; +static char rcsid[] = "$OpenBSD: csh.c,v 1.13 2000/10/30 17:16:45 millert Exp $"; #endif #endif /* not lint */ @@ -266,7 +266,6 @@ main(argc, argv) set(STRshell, Strsave(STR_SHELLPATH)); doldol = putn((int) getpid()); /* For $$ */ - shtemp = Strspl(STRtmpsh, doldol); /* For << */ /* * Record the interrupt states from the parent process. If the parent is |