Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc3e6d5d

Browse files
committed
Fix inadequate autoconfiscation of copyfile() usage.
Per buildfarm, HAVE_COPYFILE is not the same thing as HAVE_COPYFILE_H.Add the extra configure test.
1 parent54ad728 commitc3e6d5d

File tree

4 files changed

+6
-2
lines changed

4 files changed

+6
-2
lines changed

‎configure

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12712,7 +12712,7 @@ $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
1271212712
fi
1271312713

1271412714

12715-
for ac_header in atomic.h crypt.h fp_class.h getopt.h ieeefp.h ifaddrs.h langinfo.h mbarrier.h poll.h sys/epoll.h sys/ipc.h sys/prctl.h sys/procctl.h sys/pstat.h sys/resource.h sys/select.h sys/sem.h sys/shm.h sys/sockio.h sys/tas.h sys/un.h termios.h ucred.h utime.h wchar.h wctype.h
12715+
for ac_header in atomic.hcopyfile.hcrypt.h fp_class.h getopt.h ieeefp.h ifaddrs.h langinfo.h mbarrier.h poll.h sys/epoll.h sys/ipc.h sys/prctl.h sys/procctl.h sys/pstat.h sys/resource.h sys/select.h sys/sem.h sys/shm.h sys/sockio.h sys/tas.h sys/un.h termios.h ucred.h utime.h wchar.h wctype.h
1271612716
do :
1271712717
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
1271812718
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"

‎configure.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1295,6 +1295,7 @@ AC_HEADER_STDBOOL
12951295

12961296
AC_CHECK_HEADERS(m4_normalize([
12971297
atomic.h
1298+
copyfile.h
12981299
crypt.h
12991300
fp_class.h
13001301
getopt.h

‎src/bin/pg_upgrade/file.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
#include<sys/stat.h>
2020
#include<fcntl.h>
21-
#ifdefHAVE_COPYFILE
21+
#ifdefHAVE_COPYFILE_H
2222
#include<copyfile.h>
2323
#endif
2424
#ifdef__linux__

‎src/include/pg_config.h.in

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,9 @@
117117
/* Define to 1 if you have the `copyfile' function. */
118118
#undef HAVE_COPYFILE
119119

120+
/* Define to 1 if you have the <copyfile.h> header file. */
121+
#undef HAVE_COPYFILE_H
122+
120123
/* Define to 1 if you have the <crtdefs.h> header file. */
121124
#undef HAVE_CRTDEFS_H
122125

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp