head 1.4; access; symbols pkgsrc-2013Q2:1.4.0.54 pkgsrc-2013Q2-base:1.4 pkgsrc-2012Q4:1.4.0.52 pkgsrc-2012Q4-base:1.4 pkgsrc-2011Q4:1.4.0.50 pkgsrc-2011Q4-base:1.4 pkgsrc-2011Q2:1.4.0.48 pkgsrc-2011Q2-base:1.4 pkgsrc-2009Q4:1.4.0.46 pkgsrc-2009Q4-base:1.4 pkgsrc-2008Q4:1.4.0.44 pkgsrc-2008Q4-base:1.4 pkgsrc-2008Q3:1.4.0.42 pkgsrc-2008Q3-base:1.4 cube-native-xorg:1.4.0.40 cube-native-xorg-base:1.4 pkgsrc-2008Q2:1.4.0.38 pkgsrc-2008Q2-base:1.4 pkgsrc-2008Q1:1.4.0.36 pkgsrc-2008Q1-base:1.4 pkgsrc-2007Q4:1.4.0.34 pkgsrc-2007Q4-base:1.4 pkgsrc-2007Q3:1.4.0.32 pkgsrc-2007Q3-base:1.4 pkgsrc-2007Q2:1.4.0.30 pkgsrc-2007Q2-base:1.4 pkgsrc-2007Q1:1.4.0.28 pkgsrc-2007Q1-base:1.4 pkgsrc-2006Q4:1.4.0.26 pkgsrc-2006Q4-base:1.4 pkgsrc-2006Q3:1.4.0.24 pkgsrc-2006Q3-base:1.4 pkgsrc-2006Q2:1.4.0.22 pkgsrc-2006Q2-base:1.4 pkgsrc-2006Q1:1.4.0.20 pkgsrc-2006Q1-base:1.4 pkgsrc-2005Q4:1.4.0.18 pkgsrc-2005Q4-base:1.4 pkgsrc-2005Q3:1.4.0.16 pkgsrc-2005Q3-base:1.4 pkgsrc-2005Q2:1.4.0.14 pkgsrc-2005Q2-base:1.4 pkgsrc-2005Q1:1.4.0.12 pkgsrc-2005Q1-base:1.4 pkgsrc-2004Q4:1.4.0.10 pkgsrc-2004Q4-base:1.4 pkgsrc-2004Q3:1.4.0.8 pkgsrc-2004Q3-base:1.4 pkgsrc-2004Q2:1.4.0.6 pkgsrc-2004Q2-base:1.4 pkgsrc-2004Q1:1.4.0.4 pkgsrc-2004Q1-base:1.4 pkgsrc-2003Q4:1.4.0.2 pkgsrc-2003Q4-base:1.4 buildlink2-base:1.4 comdex-fall-1999:1.1.1.1 netbsd-1-4-PATCH001:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.4 date 99.12.22.14.59.45; author bad; state dead; branches; next 1.3; 1.3 date 99.12.13.20.31.52; author bad; state Exp; branches; next 1.2; 1.2 date 99.11.15.17.16.22; author rh; state Exp; branches; next 1.1; 1.1 date 99.05.06.23.22.27; author tv; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 99.05.06.23.22.27; author tv; state Exp; branches; next ; desc @@ 1.4 log @Defuzz patch-ac (again, but entirely my fault). @ text @$NetBSD: patch-ac,v 1.3 1999/12/13 20:31:52 bad Exp $ --- client/get_password.c.orig Sun Jun 14 16:26:27 1998 +++ client/get_password.c Sun Jun 14 19:25:24 1998 @@@@ -18,8 +18,8 @@@@ #include #define TERMIO struct termio #else -#include -#define TERMIO struct sgttyb +#include +#define TERMIO struct termios #endif #ifdef alpha_linux_port #include /* QQ; Fix this in configure */ @@@@ -92,13 +92,14 @@@@ get_password(buff,sizeof(buff)-1,fileno(stdin),isatty(fileno(stdout))); ioctl(fileno(stdin),(int) TCSETA, &org); #else - gtty(fileno(stdin), &org); + tcgetattr(fileno(stdin), &org); tmp=org; - tmp.sg_flags &= ~ECHO; - tmp.sg_flags |= RAW; - stty(fileno(stdin), &tmp); + tmp.c_lflag &= ~(ECHO | ISIG | ICANON); + tmp.c_cc[VMIN] = 1; + tmp.c_cc[VTIME]= 0; + tcsetattr(fileno(stdin), TCSAFLUSH, &tmp); get_password(buff,sizeof(buff)-1,fileno(stdin),isatty(fileno(stdout))); - stty(fileno(stdin), &org); + tcsetattr(fileno(stdin), TCSAFLUSH, &org); #endif if (isatty(fileno(stdout))) fputc('\n',stdout); @ 1.3 log @Update MySQL to 3.22.27. There are a bunch of bug fixes to the server. See the documentation for a complete list. Also, get rid of USE_GMAKE. Our make is fine now. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.1.1.1 1999/05/06 23:22:27 tv Exp $ @ 1.2 log @defuzz @ text @d1 1 a1 1 $NetBSD$ d3 3 a5 3 --- client/get_password.c.orig Thu Nov 26 21:00:42 1998 +++ client/get_password.c Mon Nov 15 18:12:46 1999 @@@@ -27,8 +27,8 @@@@ a13 1 #endif d15 2 a16 1 @@@@ -130,13 +130,14 @@@@ @ 1.1 log @Initial revision @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.2 1998/08/07 10:40:19 agc Exp $ d3 3 a5 3 --- client/get_password.c.orig Sun Jun 14 16:26:27 1998 +++ client/get_password.c Sun Jun 14 19:25:24 1998 @@@@ -18,8 +18,8 @@@@ d14 1 d16 1 a16 2 #include /* QQ; Fix this in configure */ @@@@ -92,13 +92,14 @@@@ @ 1.1.1.1 log @One half of a client/server-split version of the mysql pkg. This part (client) works on all architectures. Updated to 3.22.22 and adapted to use libedit on 1.4 systems. @ text @@