From 0581f17dca593a7d17ec1ada37c94f92b414eb74 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Mon, 18 Oct 2004 05:06:47 +0000 Subject: Sync from gnulib. --- lib/diacrit.c | 16 +++++++++++++++- lib/diacrit.h | 16 +++++++++++++++- lib/getpass.c | 11 +++++++++++ 3 files changed, 41 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/diacrit.c b/lib/diacrit.c index e286d8bcc..e3735a408 100644 --- a/lib/diacrit.c +++ b/lib/diacrit.c @@ -3,7 +3,21 @@ François Pinard , 1988. All this file is a temporary hack, waiting for locales in GNU. -*/ + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; see the file COPYING. + If not, write to the Free Software Foundation, + 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #ifdef HAVE_CONFIG_H # include diff --git a/lib/diacrit.h b/lib/diacrit.h index 875af1ead..db9886ab9 100644 --- a/lib/diacrit.h +++ b/lib/diacrit.h @@ -3,7 +3,21 @@ François Pinard , 1988. All this file is a temporary hack, waiting for locales in GNU. -*/ + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; see the file COPYING. + If not, write to the Free Software Foundation, + 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ extern const char diacrit_base[]; /* characters without diacritics */ extern const char diacrit_diac[]; /* diacritic code for each character */ diff --git a/lib/getpass.c b/lib/getpass.c index bc8eb4498..78f21e019 100644 --- a/lib/getpass.c +++ b/lib/getpass.c @@ -57,6 +57,17 @@ # define funlockfile(s) _IO_funlockfile (s) #elif USE_UNLOCKED_IO # include "unlocked-io.h" +#else +# undef fflush_unlocked +# define fflush_unlocked(x) fflush (x) +# undef flockfile +# define flockfile(x) ((void) 0) +# undef funlockfile +# define funlockfile(x) ((void) 0) +# undef fputs_unlocked +# define fputs_unlocked(str,stream) fputs (str, stream) +# undef putc_unlocked +# define putc_unlocked(c,stream) putc (c, stream) #endif #if _LIBC -- cgit v1.2.3-54-g00ecf