1 Star 0 Fork 7

src-oepkgs-oE-rv/autoconf213

forked from src-openEuler/autoconf213 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
autoconf-2.12-race.patch 1.52 KB
一键复制 编辑 原始数据 按行查看 历史
dogsheng 提交于 2019-12-14 18:52 +08:00 . Package init
--- autoconf-2.12/autoconf.sh.race Thu Aug 27 19:01:23 1998
+++ autoconf-2.12/autoconf.sh Thu Aug 27 19:05:04 1998
@@ -45,7 +45,7 @@
esac
: ${TMPDIR=/tmp}
-tmpout=${TMPDIR}/acout.$$
+tmpout=`/bin/mktemp ${TMPDIR}/acout.XXXXXX`
localdir=
show_version=no
@@ -97,10 +97,10 @@
trap 'rm -f $tmpin $tmpout; exit 1' 1 2 15
-tmpin=${TMPDIR}/acin.$$ # Always set this, to avoid bogus errors from some rm's.
+tmpin=`/bin/mktemp ${TMPDIR}/acin.XXXXXX`
+# Always set this, to avoid bogus errors from some rm's.
if test z$infile = z-; then
infile=$tmpin
- cat > $infile
elif test ! -r "$infile"; then
echo "autoconf: ${infile}: No such file or directory" >&2
exit 1
--- autoconf-2.12/autoheader.sh.race Thu Aug 27 19:05:19 1998
+++ autoconf-2.12/autoheader.sh Thu Aug 27 19:08:18 1998
@@ -194,9 +194,9 @@
# Some fgrep's have limits on the number of lines that can be in the
# pattern on the command line, so use a temporary file containing the
# pattern.
- (fgrep_tmp=${TMPDIR-/tmp}/autoh$$
+ (fgrep_tmp=`/bin/mktemp ${TMPDIR-/tmp}/autoh$$.XXXXXX`
trap "rm -f $fgrep_tmp; exit 1" 1 2 15
- cat > $fgrep_tmp <<EOF
+ cat >> $fgrep_tmp <<EOF
$syms
EOF
fgrep -f $fgrep_tmp
--- autoconf-2.12/autoupdate.sh.race Thu Aug 27 19:09:12 1998
+++ autoconf-2.12/autoupdate.sh Thu Aug 27 19:10:05 1998
@@ -26,7 +26,7 @@
Usage: autoupdate [-h] [--help] [-m dir] [--macrodir=dir]
[--version] [template-file]"
-sedtmp=/tmp/acups.$$
+sedtmp=`/bin/mktemp /tmp/acups.XXXXXX`
# For debugging.
#sedtmp=/tmp/acups
show_version=no
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-oepkgs-oe-rv/autoconf213.git
git@gitee.com:src-oepkgs-oe-rv/autoconf213.git
src-oepkgs-oe-rv
autoconf213
autoconf213
master

搜索帮助