Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
libvirt
提交
aa290a3e
L
libvirt
项目概览
openeuler
/
libvirt
通知
3
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
L
libvirt
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
aa290a3e
编写于
2月 01, 2008
作者:
J
Jim Meyering
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Pull vc-list-files from gnulib, and update.
* bootstrap (gnulib_tool): Add the vc-list-files module.
上级
b5433aaa
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
41 addition
and
18 deletion
+41
-18
ChangeLog
ChangeLog
+5
-0
bootstrap
bootstrap
+2
-1
build-aux/vc-list-files
build-aux/vc-list-files
+13
-6
gnulib/lib/Makefile.am
gnulib/lib/Makefile.am
+8
-1
gnulib/lib/vasnprintf.c
gnulib/lib/vasnprintf.c
+10
-8
gnulib/m4/gnulib-cache.m4
gnulib/m4/gnulib-cache.m4
+2
-2
gnulib/m4/gnulib-comp.m4
gnulib/m4/gnulib-comp.m4
+1
-0
未找到文件。
ChangeLog
浏览文件 @
aa290a3e
Fri Feb 1 20:46:07 CET 2008 Jim Meyering <meyering@redhat.com>
Pull vc-list-files from gnulib, and update.
* bootstrap (gnulib_tool): Add the vc-list-files module.
Thu Jan 31 20:12:40 CET 2008 Guido Guenther <agx@sigxcpu.org>
Avoid compilation failure when building --without-xen.
...
...
bootstrap
浏览文件 @
aa290a3e
...
...
@@ -77,7 +77,8 @@ $gnulib_tool \
--tests-base
=
gnulib/tests
\
--import
physmem getaddrinfo
\
sys_stat vasprintf strndup
\
strsep poll gettext getpass
strsep poll gettext getpass
\
vc-list-files
rm
-f
\
.gitignore
\
...
...
build-aux/vc-list-files
浏览文件 @
aa290a3e
#!/bin/sh
# List
the specified version-controlled fil
es.
# List
version-controlled file nam
es.
# Copyright (C) 2006
, 2007
Free Software Foundation, Inc.
# Copyright (C) 2006
-2008
Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
...
...
@@ -18,7 +18,8 @@
# List the specified version-controlled files.
# With no argument, list them all.
# With no argument, list them all. With a single DIRECTORY argument,
# list the version-controlled files in that directory.
# This script must be run solely from the top of a $srcdir build directory.
# If there's an argument, it must be a single, "."-relative directory name.
...
...
@@ -28,12 +29,17 @@ dir=
case
$#
in
0
)
;;
1
)
dir
=
$1
;;
*
)
echo
"
$0
: too many arguments"
1>&2
;
exit
1
;;
*
)
echo
"
$0
: too many arguments"
1>&2
echo
"Usage:
$0
[DIR]"
1>&2
;
exit
1
;;
esac
test
"x
$dir
"
=
x
&&
dir
=
.
if
test
-d
CVS
;
then
if
test
-d
.git
;
then
exec
git ls-files
"
$dir
"
elif
test
-d
.hg
;
then
exec
hg locate
"
$dir
/*"
elif
test
-d
CVS
;
then
if
test
-x
build-aux/cvsu
;
then
build-aux/cvsu
--find
--types
=
AFGM
"
$dir
"
else
...
...
@@ -46,5 +52,6 @@ if test -d CVS; then
$(
find
${
*-*
}
-name
Entries
-print
)
/dev/null
;
fi
else
git-ls-files
"
$dir
"
echo
"
$0
: Failed to determine type of version control used in "
`
pwd
`
1>&2
exit
1
fi
gnulib/lib/Makefile.am
浏览文件 @
aa290a3e
...
...
@@ -9,7 +9,7 @@
# the same distribution terms as the rest of that program.
#
# Generated by gnulib-tool.
# Reproduce by: gnulib-tool --import --dir=. --lib=libgnu --source-base=gnulib/lib --m4-base=gnulib/m4 --doc-base=doc --aux-dir=build-aux --with-tests --lgpl=2 --libtool --macro-prefix=gl getaddrinfo getpass gettext physmem poll strndup strsep sys_stat vasprintf
# Reproduce by: gnulib-tool --import --dir=. --lib=libgnu --source-base=gnulib/lib --m4-base=gnulib/m4 --doc-base=doc --aux-dir=build-aux --with-tests --lgpl=2 --libtool --macro-prefix=gl getaddrinfo getpass gettext physmem poll strndup strsep sys_stat vasprintf
vc-list-files
AUTOMAKE_OPTIONS
=
1.5 gnits
...
...
@@ -719,6 +719,13 @@ EXTRA_libgnu_la_SOURCES += asprintf.c vasprintf.c
## end gnulib module vasprintf
## begin gnulib module vc-list-files
EXTRA_DIST
+=
$(top_srcdir)
/build-aux/vc-list-files
## end gnulib module vc-list-files
## begin gnulib module wchar
BUILT_SOURCES
+=
$(WCHAR_H)
...
...
gnulib/lib/vasnprintf.c
浏览文件 @
aa290a3e
/* vsprintf with automatic memory allocation.
Copyright (C) 1999, 2002-200
7
Free Software Foundation, Inc.
Copyright (C) 1999, 2002-200
8
Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
...
...
@@ -95,7 +95,7 @@
#if (NEED_PRINTF_DOUBLE || NEED_PRINTF_INFINITE_DOUBLE) && !defined IN_LIBINTL
# include <math.h>
# include "isnan.h"
# include "isnan
d
.h"
#endif
#if (NEED_PRINTF_LONG_DOUBLE || NEED_PRINTF_INFINITE_LONG_DOUBLE) && !defined IN_LIBINTL
...
...
@@ -106,7 +106,7 @@
#if (NEED_PRINTF_DIRECTIVE_A || NEED_PRINTF_DOUBLE) && !defined IN_LIBINTL
# include <math.h>
# include "isnan.h"
# include "isnan
d
.h"
# include "printf-frexp.h"
#endif
...
...
@@ -236,7 +236,7 @@ decimal_point_char ()
static
int
is_infinite_or_zero
(
double
x
)
{
return
isnan
(
x
)
||
x
+
x
==
x
;
return
isnan
d
(
x
)
||
x
+
x
==
x
;
}
#endif
...
...
@@ -2327,7 +2327,7 @@ VASNPRINTF (DCHAR_T *resultbuf, size_t *lengthp,
# if NEED_PRINTF_DIRECTIVE_A || NEED_PRINTF_DOUBLE
double
arg
=
a
.
arg
[
dp
->
arg_index
].
a
.
a_double
;
if
(
isnan
(
arg
))
if
(
isnan
d
(
arg
))
{
if
(
dp
->
conversion
==
'A'
)
{
...
...
@@ -2676,7 +2676,7 @@ VASNPRINTF (DCHAR_T *resultbuf, size_t *lengthp,
if
(
dp
->
conversion
==
'f'
||
dp
->
conversion
==
'F'
)
{
double
arg
=
a
.
arg
[
dp
->
arg_index
].
a
.
a_double
;
if
(
!
(
isnan
(
arg
)
||
arg
+
arg
==
arg
))
if
(
!
(
isnan
d
(
arg
)
||
arg
+
arg
==
arg
))
{
/* arg is finite and nonzero. */
int
exponent
=
floorlog10
(
arg
<
0
?
-
arg
:
arg
);
...
...
@@ -3080,7 +3080,7 @@ VASNPRINTF (DCHAR_T *resultbuf, size_t *lengthp,
{
double
arg
=
a
.
arg
[
dp
->
arg_index
].
a
.
a_double
;
if
(
isnan
(
arg
))
if
(
isnan
d
(
arg
))
{
if
(
dp
->
conversion
>=
'A'
&&
dp
->
conversion
<=
'Z'
)
{
...
...
@@ -4327,7 +4327,7 @@ VASNPRINTF (DCHAR_T *resultbuf, size_t *lengthp,
if
(
prec_ourselves
)
{
/* Handle the precision. */
TCHAR_T
*
prec_ptr
=
TCHAR_T
*
prec_ptr
=
# if USE_SNPRINTF
(
TCHAR_T
*
)
(
result
+
length
);
# else
...
...
@@ -4654,6 +4654,7 @@ VASNPRINTF (DCHAR_T *resultbuf, size_t *lengthp,
not have this limitation. */
return
result
;
#if USE_SNPRINTF
overflow:
if
(
!
(
result
==
resultbuf
||
result
==
NULL
))
free
(
result
);
...
...
@@ -4662,6 +4663,7 @@ VASNPRINTF (DCHAR_T *resultbuf, size_t *lengthp,
CLEANUP
();
errno
=
EOVERFLOW
;
return
NULL
;
#endif
out_of_memory:
if
(
!
(
result
==
resultbuf
||
result
==
NULL
))
...
...
gnulib/m4/gnulib-cache.m4
浏览文件 @
aa290a3e
...
...
@@ -15,11 +15,11 @@
# Specification in the form of a command-line invocation:
# gnulib-tool --import --dir=. --lib=libgnu --source-base=gnulib/lib --m4-base=gnulib/m4 --doc-base=doc --aux-dir=build-aux --with-tests --lgpl=2 --libtool --macro-prefix=gl getaddrinfo getpass gettext physmem poll strndup strsep sys_stat vasprintf
# gnulib-tool --import --dir=. --lib=libgnu --source-base=gnulib/lib --m4-base=gnulib/m4 --doc-base=doc --aux-dir=build-aux --with-tests --lgpl=2 --libtool --macro-prefix=gl getaddrinfo getpass gettext physmem poll strndup strsep sys_stat vasprintf
vc-list-files
# Specification in the form of a few gnulib-tool.m4 macro invocations:
gl_LOCAL_DIR([])
gl_MODULES([getaddrinfo getpass gettext physmem poll strndup strsep sys_stat vasprintf])
gl_MODULES([getaddrinfo getpass gettext physmem poll strndup strsep sys_stat vasprintf
vc-list-files
])
gl_AVOID([])
gl_SOURCE_BASE([gnulib/lib])
gl_M4_BASE([gnulib/m4])
...
...
gnulib/m4/gnulib-comp.m4
浏览文件 @
aa290a3e
...
...
@@ -225,6 +225,7 @@ AC_DEFUN([gltests_LIBSOURCES], [
AC_DEFUN([gl_FILE_LIST], [
build-aux/config.rpath
build-aux/link-warning.h
build-aux/vc-list-files
lib/alloca.in.h
lib/asnprintf.c
lib/asprintf.c
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录