git://git.onelab.eu
/
util-vserver.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
There's no need to call getpwuid/getpwnam_r 5 times. Do it once before chroot, once...
[util-vserver.git]
/
depcomp
diff --git
a/depcomp
b/depcomp
index
ffcd540
..
04701da
100755
(executable)
--- a/
depcomp
+++ b/
depcomp
@@
-1,7
+1,7
@@
#! /bin/sh
# depcomp - compile a program generating dependencies as side-effects
#! /bin/sh
# depcomp - compile a program generating dependencies as side-effects
-scriptversion=2005-0
2-09.22
+scriptversion=2005-0
7-09.11
# Copyright (C) 1999, 2000, 2003, 2004, 2005 Free Software Foundation, Inc.
# Copyright (C) 1999, 2000, 2003, 2004, 2005 Free Software Foundation, Inc.
@@
-17,8
+17,8
@@
scriptversion=2005-02-09.22
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
-# Foundation, Inc., 5
9 Temple Place - Suite 330
, Boston, MA
-# 0211
1-1307
, USA.
+# Foundation, Inc., 5
1 Franklin Street, Fifth Floor
, Boston, MA
+# 0211
0-1301
, USA.
# As a special exception to the GNU General Public License, if you
# distribute this file as part of a program that contains a
# As a special exception to the GNU General Public License, if you
# distribute this file as part of a program that contains a
@@
-467,7
+467,8
@@
cpp)
done
"$@" -E |
done
"$@" -E |
- sed -n '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' |
+ sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \
+ -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' |
sed '$ s: \\$::' > "$tmpdepfile"
rm -f "$depfile"
echo "$object : \\" > "$depfile"
sed '$ s: \\$::' > "$tmpdepfile"
rm -f "$depfile"
echo "$object : \\" > "$depfile"