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
handle multiple uba's
[unix-history]
/
usr
/
src
/
usr.bin
/
ex
/
ex_io.c
diff --git
a/usr/src/usr.bin/ex/ex_io.c
b/usr/src/usr.bin/ex/ex_io.c
index
edcb0e6
..
4cc4e30
100644
(file)
--- a/
usr/src/usr.bin/ex/ex_io.c
+++ b/
usr/src/usr.bin/ex/ex_io.c
@@
-1,5
+1,5
@@
/* Copyright (c) 1981 Regents of the University of California */
/* Copyright (c) 1981 Regents of the University of California */
-static char *sccsid = "@(#)ex_io.c 7.
2
%G%";
+static char *sccsid = "@(#)ex_io.c 7.
4
%G%";
#include "ex.h"
#include "ex_argv.h"
#include "ex_temp.h"
#include "ex.h"
#include "ex_argv.h"
#include "ex_temp.h"
@@
-277,10
+277,10
@@
gscan()
/*
* Parse one filename into file.
*/
/*
* Parse one filename into file.
*/
+struct glob G;
getone()
{
register char *str;
getone()
{
register char *str;
- struct glob G;
if (getargs() == 0)
error("Missing filename");
if (getargs() == 0)
error("Missing filename");
@@
-620,7
+620,7
@@
edfile()
/*
* Extract the next line from the io stream.
*/
/*
* Extract the next line from the io stream.
*/
-
static
char *nextip;
+char *nextip;
getfile()
{
getfile()
{
@@
-753,7
+753,8
@@
source(fil, okfail)
{
jmp_buf osetexit;
register int saveinp, ointty, oerrno;
{
jmp_buf osetexit;
register int saveinp, ointty, oerrno;
- char savepeekc, *saveglobp;
+ char *saveglobp;
+ short savepeekc;
signal(SIGINT, SIG_IGN);
saveinp = dup(0);
signal(SIGINT, SIG_IGN);
saveinp = dup(0);