Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F178071788
D25989.1795889181.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
826 B
Referenced Files
None
Subscribers
None
D25989.1795889181.diff
View Options
Index: usr.bin/lorder/lorder.sh
===================================================================
--- usr.bin/lorder/lorder.sh
+++ usr.bin/lorder/lorder.sh
@@ -53,7 +53,7 @@
trap "rm -f $R $S $T; exit 1" 1 2 3 13 15
# make sure all the files get into the output
-for i in $*; do
+for i in "$@"; do
echo $i $i
done
@@ -62,7 +62,7 @@
#
# if the line has " U " it's a globally undefined symbol, put it into
# the reference file.
-${NM} ${NMFLAGS} -go $* | sed "
+${NM} ${NMFLAGS} -go "$@" | sed "
/ [TDW] / {
s/:.* [TDW] / /
w $S
@@ -77,7 +77,7 @@
export LC_ALL=C
# eliminate references that can be resolved by the same library.
-if [ $(expr "$*" : '.*\.a[[:>:]]') -ne 0 ]; then
+if [ "$(expr "$*" : '.*\.a[[:>:]]' || echo 0)" -ne 0 ]; then
sort -u -o $S $S
sort -u -o $R $R
T=$(mktemp -t _temp_)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 28, 6:06 PM (16 h, 53 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
42074273
Default Alt Text
D25989.1795889181.diff (826 B)
Attached To
Mode
D25989: Allow running lorder.sh on Linux
Attached
Detach File
Event Timeline