Messages in this thread | | | Date | Wed, 18 Jan 2006 22:24:06 +1100 | From | Eyal Lebedinsky <> | Subject | Re: Linux 2.6.16-rc1 |
| |
Sam Ravnborg wrote: > Could you please confirm that the above command is the one that trashes > /dev/null, then I will try to cook up something better.
scripts/kconfig/lxdialog/check-lxdialog.sh with debug =====================================================
ldflags() { echo "ldflags 1" >>/tmp/xxx 2>&1 ls -l /dev/null >>/tmp/xxx 2>&1 echo "main() {}" | $cc -lncursesw -xc - -o /dev/null 2> /dev/null if [ $? -eq 0 ]; then echo "ldflags 2" >>/tmp/xxx 2>&1 ls -l /dev/null >>/tmp/xxx 2>&1 echo '-lncursesw' exit fi echo "ldflags 3" >>/tmp/xxx 2>&1 ls -l /dev/null >>/tmp/xxx 2>&1 echo "main() {}" | $cc -lncurses -xc - -o /dev/null 2> /dev/null if [ $? -eq 0 ]; then echo "ldflags 4" >>/tmp/xxx 2>&1 ls -l /dev/null >>/tmp/xxx 2>&1 echo '-lncurses' exit fi echo "ldflags 5" >>/tmp/xxx 2>&1 ls -l /dev/null >>/tmp/xxx 2>&1 echo "main() {}" | $cc -lcurses -xc - -o /dev/null 2> /dev/null if [ $? -eq 0 ]; then echo "ldflags 6" >>/tmp/xxx 2>&1 ls -l /dev/null >>/tmp/xxx 2>&1 echo '-lcurses' exit fi echo "ldflags 7" >>/tmp/xxx 2>&1 ls -l /dev/null >>/tmp/xxx 2>&1 exit 1 }
content of /tmp/xxx ===================
ldflags 1 crw-rw-rw- 1 root root 1, 3 Jan 18 22:20 /dev/null ldflags 3 ls: /dev/null: No such file or directory ldflags 4 -rwxr-xr-x 1 root root 11650 Jan 18 22:20 /dev/null
-- Eyal Lebedinsky (eyal@eyal.emu.id.au) <http://samba.org/eyal/> attach .zip as .dat - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |