$NetBSD: patch-br,v 1.2 2010/09/27 12:01:49 taca Exp $ * Fix confilct with getline(3). --- support/pop/popser.c.orig 1999-02-09 11:30:00.000000000 +0000 +++ support/pop/popser.c @@ -259,7 +259,7 @@ static p_cmatch(), p_isdate(), p_ishead extern int mbx_read (); static int setup(), setupaux(), read_map(), read_file(), pmbx_size(); -static int quitaux(), quitfile(), respond(), getline(); +static int quitaux(), quitfile(), respond(), _getline(); static m_gMsgs(), multiline(), multiend(), putline(); /* */ @@ -410,7 +410,7 @@ char *rhost; (void) respond (OK, "%s ready %s", server, timestamp); for (mystate = auth1; mystate != halt && mystate != error;) - switch (getline (buffer, sizeof buffer, input)) { + switch (_getline (buffer, sizeof buffer, input)) { case OK: if ((v = getvector (buffer, vec)) == NULL) continue; @@ -1850,7 +1850,7 @@ static multiend () { /* */ -static int getline (s, n, iop) +static int _getline (s, n, iop) register char *s; register int n; register FILE *iop;