mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 06:25:31 +00:00
Restore missing check for flockfile and getc_unlocked
This commit is contained in:
@@ -431,7 +431,7 @@ isc_lex_gettoken(isc_lex_t *lex, unsigned int options, isc_token_t *tokenp) {
|
||||
if (source->is_file) {
|
||||
stream = source->input;
|
||||
|
||||
#if defined(HAVE_FLOCKFILE) && defined(HAVE_GETCUNLOCKED)
|
||||
#if defined(HAVE_FLOCKFILE) && defined(HAVE_GETC_UNLOCKED)
|
||||
c = getc_unlocked(stream);
|
||||
#else
|
||||
c = getc(stream);
|
||||
|
Reference in New Issue
Block a user