=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ftp/fetch.c,v retrieving revision 1.134 retrieving revision 1.135 diff -u -r1.134 -r1.135 --- src/usr.bin/ftp/fetch.c 2014/10/31 13:48:21 1.134 +++ src/usr.bin/ftp/fetch.c 2014/11/25 08:22:09 1.135 @@ -1,4 +1,4 @@ -/* $OpenBSD: fetch.c,v 1.134 2014/10/31 13:48:21 jsing Exp $ */ +/* $OpenBSD: fetch.c,v 1.135 2014/11/25 08:22:09 deraadt Exp $ */ /* $NetBSD: fetch.c,v 1.14 1997/08/18 10:20:20 lukem Exp $ */ /*- @@ -514,6 +514,10 @@ } } #endif /* !SMALL */ + + /* ensure consistent order of the output */ + if (verbose) + setvbuf(ttyout, NULL, _IOLBF, 0); s = -1; for (res = res0; res; res = res->ai_next) {