Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Greenplum
Gpdb
提交
9dac5264
G
Gpdb
项目概览
Greenplum
/
Gpdb
通知
7
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
Gpdb
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
9dac5264
编写于
2月 02, 2004
作者:
B
Bruce Momjian
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Win32 adjustments for dirmod and configure/configure.in.
上级
67aa1962
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
19 addition
and
6 deletion
+19
-6
configure
configure
+4
-1
configure.in
configure.in
+5
-2
src/include/port.h
src/include/port.h
+2
-2
src/port/dirmod.c
src/port/dirmod.c
+8
-1
未找到文件。
configure
浏览文件 @
9dac5264
...
...
@@ -12078,12 +12078,15 @@ esac
# Win32 can't to rename or unlink on an open file
case
$host_os
in
mingw
*
)
LIBOBJS
=
"
$LIBOBJS
copydir.
$ac_objext
"
LIBOBJS
=
"
$LIBOBJS
dirmod.
$ac_objext
"
LIBOBJS
=
"
$LIBOBJS
gettimeofday.
$ac_objext
"
LIBOBJS
=
"
$LIBOBJS
pipe.
$ac_objext
"
LIBOBJS
=
"
$LIBOBJS
rand.
$ac_objext
"
;;
esac
case
$host_os
in
mingw
*
|
cygwin
*
)
LIBOBJS
=
"
$LIBOBJS
dirmod.
$ac_objext
"
;;
esac
if
test
"
$with_readline
"
=
yes
;
then
echo
"
$as_me
:
$LINENO
: checking for rl_completion_append_character"
>
&5
echo
$ECHO_N
"checking for rl_completion_append_character...
$ECHO_C
"
>
&6
...
...
configure.in
浏览文件 @
9dac5264
dnl Process this file with autoconf to produce a configure script.
dnl $PostgreSQL: pgsql/configure.in,v 1.31
2 2004/02/02 16:00:49
momjian Exp $
dnl $PostgreSQL: pgsql/configure.in,v 1.31
3 2004/02/02 22:20:32
momjian Exp $
dnl
dnl Developers, please strive to achieve this order:
dnl
...
...
@@ -906,12 +906,15 @@ esac
# Win32 can't to rename or unlink on an open file
case $host_os in mingw*)
AC_LIBOBJ(copydir)
AC_LIBOBJ(dirmod)
AC_LIBOBJ(gettimeofday)
AC_LIBOBJ(pipe)
AC_LIBOBJ(rand) ;;
esac
case $host_os in mingw*|cygwin*)
AC_LIBOBJ(dirmod) ;;
esac
if test "$with_readline" = yes; then
PGAC_VAR_RL_COMPLETION_APPEND_CHARACTER
AC_CHECK_FUNCS([rl_completion_matches rl_filename_completion_function])
...
...
src/include/port.h
浏览文件 @
9dac5264
...
...
@@ -6,7 +6,7 @@
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $PostgreSQL: pgsql/src/include/port.h,v 1.1
7 2004/02/02 00:17:2
3 momjian Exp $
* $PostgreSQL: pgsql/src/include/port.h,v 1.1
8 2004/02/02 22:20:3
3 momjian Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -30,7 +30,7 @@ extern int fseeko(FILE *stream, off_t offset, int whence);
extern
off_t
ftello
(
FILE
*
stream
);
#endif
#if
!defined(FRONTEND) && (defined(WIN32) || defined(CYGWIN)
)
#if
defined(WIN32) || defined(CYGWIN
)
/*
* Win32 doesn't have reliable rename/unlink during concurrent access
*/
...
...
src/port/dirmod.c
浏览文件 @
9dac5264
...
...
@@ -10,14 +10,20 @@
* Win32 (NT, Win2k, XP). replace() doesn't work on Win95/98/Me.
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/port/dirmod.c,v 1.
9 2004/02/02 00:17:2
3 momjian Exp $
* $PostgreSQL: pgsql/src/port/dirmod.c,v 1.
10 2004/02/02 22:20:3
3 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef TEST_VERSION
#if defined(WIN32) || defined(CYGWIN)
#ifndef FRONTEND
#include "postgres.h"
#else
#include "postgres_fe.h"
#endif
#undef rename
#undef unlink
...
...
@@ -95,6 +101,7 @@ pgunlink(const char *path)
return
0
;
}
#endif
#else
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录