From: Arch Librarian Date: Thu, 14 Jul 2005 13:04:08 +0000 (+0000) Subject: 2001-06-05 Havoc Pennington X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=282c3b775f263a9635b245723beef69fb6e66869;p=pkg-config 2001-06-05 Havoc Pennington Author: hp Date: 2001-06-05 17:45:02 GMT 2001-06-05 Havoc Pennington * parse.c: never use flockfile, getc_unlocked --- diff --git a/ChangeLog b/ChangeLog index 7efc79b..008f94e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2001-06-05 Havoc Pennington + + * parse.c: never use flockfile, getc_unlocked + 2001-06-05 Havoc Pennington * pkg.m4: remove unrelated macros diff --git a/configure.in b/configure.in index 6ba746d..de029bf 100644 --- a/configure.in +++ b/configure.in @@ -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]) diff --git a/parse.c b/parse.c index 1495932..87afbd4 100644 --- a/parse.c +++ b/parse.c @@ -12,11 +12,12 @@ #include #include -#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