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

Commit1200d71

Browse files
committed
Assume that we have memmove().
Windows has this, and so do all other live platforms according to thebuildfarm, so remove the configure probe and c.h's substitute code.This is part of a series of commits to get rid of no-longer-relevantconfigure checks and dead src/port/ code. I'm committing them separatelyto make it easier to back out individual changes if they prove lessportable than I expect.Discussion:https://postgr.es/m/15379.1582221614@sss.pgh.pa.us
1 parentabe41f4 commit1200d71

File tree

5 files changed

+1
-10
lines changed

5 files changed

+1
-10
lines changed

‎configure

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14925,7 +14925,7 @@ fi
1492514925
LIBS_including_readline="$LIBS"
1492614926
LIBS=`echo "$LIBS" | sed -e 's/-ledit//g' -e 's/-lreadline//g'`
1492714927

14928-
for ac_func in backtrace_symbols clock_gettime copyfile fdatasync getifaddrs getpeerucred getrlimit kqueue mbstowcs_l memset_smemmovepoll posix_fallocate ppoll pstat pthread_is_threaded_np readlink setproctitle setproctitle_fast setsid shm_open strchrnul strsignal symlink sync_file_range uselocale utime utimes wcstombs_l
14928+
for ac_func in backtrace_symbols clock_gettime copyfile fdatasync getifaddrs getpeerucred getrlimit kqueue mbstowcs_l memset_s poll posix_fallocate ppoll pstat pthread_is_threaded_np readlink setproctitle setproctitle_fast setsid shm_open strchrnul strsignal symlink sync_file_range uselocale utime utimes wcstombs_l
1492914929
do :
1493014930
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
1493114931
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"

‎configure.in

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1627,7 +1627,6 @@ AC_CHECK_FUNCS(m4_normalize([
16271627
kqueue
16281628
mbstowcs_l
16291629
memset_s
1630-
memmove
16311630
poll
16321631
posix_fallocate
16331632
ppoll

‎src/include/c.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1261,10 +1261,6 @@ extern long long strtoll(const char *str, char **endptr, int base);
12611261
externunsigned long longstrtoull(constchar*str,char**endptr,intbase);
12621262
#endif
12631263

1264-
#if !defined(HAVE_MEMMOVE)&& !defined(memmove)
1265-
#definememmove(d,s,c)bcopy(s, d, c)
1266-
#endif
1267-
12681264
/* no special DLL markers on most ports */
12691265
#ifndefPGDLLIMPORT
12701266
#definePGDLLIMPORT

‎src/include/pg_config.h.in

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -370,9 +370,6 @@
370370
/* Define to 1 if you have the `mbstowcs_l' function. */
371371
#undef HAVE_MBSTOWCS_L
372372

373-
/* Define to 1 if you have the `memmove' function. */
374-
#undef HAVE_MEMMOVE
375-
376373
/* Define to 1 if you have the <memory.h> header file. */
377374
#undef HAVE_MEMORY_H
378375

‎src/tools/msvc/Solution.pm

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,6 @@ sub GenerateFiles
294294
HAVE_LONG_LONG_INT_64=> 1,
295295
HAVE_MBARRIER_H=>undef,
296296
HAVE_MBSTOWCS_L=> 1,
297-
HAVE_MEMMOVE=> 1,
298297
HAVE_MEMORY_H=> 1,
299298
HAVE_MEMSET_S=>undef,
300299
HAVE_MINIDUMP_TYPE=> 1,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp