Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Greenplum
Gpdb
提交
7d5770ea
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,发现更多精彩内容 >>
提交
7d5770ea
编写于
3月 20, 1997
作者:
M
Marc G. Fournier
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Check for and set HAVE_CRYPT_H if <crypt.h> exists
include crypt.h in password.c if crypt.h does exist
上级
419b4304
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
10 addition
and
4 deletion
+10
-4
src/backend/libpq/password.c
src/backend/libpq/password.c
+3
-0
src/configure
src/configure
+2
-2
src/configure.in
src/configure.in
+2
-2
src/include/config.h.in
src/include/config.h.in
+3
-0
未找到文件。
src/backend/libpq/password.c
浏览文件 @
7d5770ea
...
...
@@ -4,6 +4,9 @@
#include <libpq/libpq.h>
#include <string.h>
#include <unistd.h>
#ifdef HAVE_CRYPT
# include <crypt.h>
#endif
int
verify_password
(
char
*
user
,
char
*
password
,
Port
*
port
,
...
...
src/configure
浏览文件 @
7d5770ea
...
...
@@ -2304,7 +2304,7 @@ else
fi
done
for
ac_hdr
in
readline.h history.h dld.h
for
ac_hdr
in
readline.h history.h dld.h
crypt.h
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
...
...
@@ -2997,7 +2997,7 @@ else
fi
done
for
ac_func
in
sigprocmask waitpid setsid
for
ac_func
in
sigprocmask waitpid setsid
do
echo
$ac_n
"checking for
$ac_func
""...
$ac_c
"
1>&6
echo
"configure:3004: checking for
$ac_func
"
>
&5
...
...
src/configure.in
浏览文件 @
7d5770ea
...
...
@@ -127,7 +127,7 @@ dnl Checks for header files.
AC_HEADER_STDC
AC_HEADER_SYS_WAIT
AC_CHECK_HEADERS(limits.h unistd.h termios.h values.h sys/select.h)
AC_CHECK_HEADERS(readline.h history.h dld.h)
AC_CHECK_HEADERS(readline.h history.h dld.h
crypt.h
)
dnl Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
...
...
@@ -160,7 +160,7 @@ AC_FUNC_MEMCMP
AC_TYPE_SIGNAL
AC_FUNC_VPRINTF
AC_CHECK_FUNCS(isinf tzset getrusage vfork memmove sigsetjmp kill sysconf)
AC_CHECK_FUNCS(sigprocmask waitpid setsid)
AC_CHECK_FUNCS(sigprocmask waitpid setsid
)
AC_CHECK_FUNC(inet_aton, AC_DEFINE(HAVE_INET_ATON), INET_ATON='inet_aton.o')
AC_CHECK_FUNC(strerror, AC_DEFINE(HAVE_STRERROR), STRERROR='strerror.o')
AC_CHECK_FUNC(strdup, AC_DEFINE(HAVE_STRDUP), STRDUP='../../utils/strdup.o')
...
...
src/include/config.h.in
浏览文件 @
7d5770ea
...
...
@@ -14,6 +14,9 @@
* The following is set using configure.
*/
/* Set to 1 if you have <crypt.h> */
#undef HAVE_CRYPT_H
/* Set to 1 if you have <termios.h> */
#undef HAVE_TERMIOS_H
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录