mirror of
https://gitlab.freedesktop.org/pkg-config/pkg-config.git
synced 2026-05-16 05:48:09 +02:00
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:
parent
6725d8ee36
commit
282c3b775f
3 changed files with 8 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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])
|
||||
|
|
|
|||
5
parse.c
5
parse.c
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue