mirror of
https://github.com/fachat/xa65.git
synced 2024-06-17 20:29:32 +00:00
fixed incompatibility with system getline()
This commit is contained in:
parent
ac0f09ba77
commit
3ce489442c
|
@ -87,7 +87,7 @@ static int pass2(void);
|
||||||
static int puttmp(int);
|
static int puttmp(int);
|
||||||
static int puttmps(signed char *, int);
|
static int puttmps(signed char *, int);
|
||||||
static void chrput(int);
|
static void chrput(int);
|
||||||
static int getline(char *);
|
static int xagetline(char *);
|
||||||
static void lineout(void);
|
static void lineout(void);
|
||||||
static long ga_p1(void);
|
static long ga_p1(void);
|
||||||
static long gm_p1(void);
|
static long gm_p1(void);
|
||||||
|
@ -763,7 +763,7 @@ static int pass1(void)
|
||||||
temp_er = 0;
|
temp_er = 0;
|
||||||
|
|
||||||
/*FIXIT*/
|
/*FIXIT*/
|
||||||
while(!(er=getline(s)))
|
while(!(er=xagetline(s)))
|
||||||
{
|
{
|
||||||
er=t_p1((signed char*)s,o,&l,&al);
|
er=t_p1((signed char*)s,o,&l,&al);
|
||||||
switch(segment) {
|
switch(segment) {
|
||||||
|
@ -1002,7 +1002,7 @@ static int puttmps(signed char *s, int l)
|
||||||
|
|
||||||
static char l[MAXLINE];
|
static char l[MAXLINE];
|
||||||
|
|
||||||
static int getline(char *s)
|
static int xagetline(char *s)
|
||||||
{
|
{
|
||||||
static int ec;
|
static int ec;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user