2011-06-14 15:13:14 +02:00
|
|
|
$NetBSD: patch-be,v 1.3 2011/06/14 13:13:14 wiz Exp $
|
2006-06-02 01:11:29 +02:00
|
|
|
|
2011-06-14 15:13:14 +02:00
|
|
|
--- global.c.orig 2005-04-19 22:26:50.000000000 +0000
|
|
|
|
+++ global.c
|
|
|
|
@@ -81,7 +81,6 @@ int who_am_i;
|
2006-10-14 21:33:45 +02:00
|
|
|
int dont_write_console = 0;
|
|
|
|
int mail_errors_mode = 2;
|
|
|
|
|
|
|
|
-extern int errno;
|
|
|
|
extern char *getlogin(), *getenv();
|
2006-06-02 01:11:29 +02:00
|
|
|
|
|
|
|
|
2011-06-14 15:13:14 +02:00
|
|
|
@@ -1312,7 +1311,7 @@ fgetstr(FILE * f)
|
|
|
|
*/
|
|
|
|
|
|
|
|
int
|
|
|
|
-getline(char *line, int max)
|
|
|
|
+nngetline(char *line, int max)
|
|
|
|
{
|
|
|
|
if (fgets(line, max, stdin) == NULL)
|
|
|
|
return 0;
|