2001-06-05 Havoc Pennington <hp@redhat.com>

Author: hp
Date: 2001-06-05 17:45:02 GMT
2001-06-05  Havoc Pennington  <hp@redhat.com>

	* parse.c: never use flockfile, getc_unlocked
This commit is contained in:
Arch Librarian 2005-07-14 13:04:08 +00:00
parent 6725d8ee36
commit 282c3b775f
3 changed files with 8 additions and 4 deletions

View file

@ -1,3 +1,7 @@
2001-06-05 Havoc Pennington <hp@redhat.com>
* parse.c: never use flockfile, getc_unlocked
2001-06-05 Havoc Pennington <hp@redhat.com>
* pkg.m4: remove unrelated macros

View file

@ -3,7 +3,7 @@ AC_INIT(pkg-config.1)
AC_CONFIG_SUBDIRS(glib-1.2.8)
AM_INIT_AUTOMAKE(pkgconfig, 0.6.0)
AM_INIT_AUTOMAKE(pkgconfig, 0.7.0)
AM_MAINTAINER_MODE
@ -15,7 +15,6 @@ AC_PROG_CC
AC_FUNC_ALLOCA
AC_CHECK_FUNCS(flockfile)
AC_CHECK_FUNCS(setresuid setreuid,break)
AC_OUTPUT([Makefile])

View file

@ -12,11 +12,12 @@
#include <sys/wait.h>
#include <sys/types.h>
#ifndef HAVE_FLOCKFILE
/* since we never use getc_unlocked now we should really
* do something to speed up read_one_line
*/
# define flockfile(f) (void)1
# define funlockfile(f) (void)1
# define getc_unlocked(f) getc(f)
#endif /* !HAVE_FLOCKFILE */
#ifdef NATIVE_WIN32