getline

mouring at etoh.eviladmin.org mouring at etoh.eviladmin.org
Tue Feb 6 05:35:15 EST 2001


On Mon, 5 Feb 2001, Roumen Petrov wrote:

> Some system have getline method.
> Place rename 'getline' to  'Linebuf_getline' in ssh-keyscan.c !
> 
> 


Rename 'getline' to 'Linebug_getline' for consistany and portablity.

--- ../openssh/ssh-keyscan.c	Mon Feb  5 11:54:56 2001
+++ ssh-keyscan.c	Mon Feb  5 12:32:40 2001
@@ -146,7 +146,7 @@
 }
 
 static inline char *
-getline(Linebuf * lb)
+Linebuf_getline(Linebuf * lb)
 {
 	int n = 0;
 
@@ -547,7 +547,7 @@
 				error("ignoring invalid/misplaced option `%s'", argv[argno++]);
 		} else {
 			char *line;
-			line = getline(lb);
+			line = Linebuf_getline(lb);
 			if (line)
 				return (line);
 			Linebuf_free(lb);






More information about the openssh-unix-dev mailing list