Re: problem with $(/proc/net/route) on amd64

2005-07-19 Thread Tatavarty Kalyan
Though I get the same results as posted above on i686,i am not sure if this is a bash problem. On the other hand i feel there is might be some issue with the glibc read and /proc filesystem on some 2.6 kernels as i wasnt able to reproduce this on Redhat with 2.4.21-20.EL kernel.I was able to

Re: problem with $(/proc/net/route) on amd64

2005-07-19 Thread Aron Griffis
Tatavarty Kalyan wrote: [Tue Jul 19 2005, 08:52:40AM EDT] I was able to confirm this by running a small test program with libc read and /proc/net/route. I did the same thing yesterday. Then I tried 2.6.13-rc3 and the problem is fixed. Seems it was a kernel issue. Aron

problem reading /proc/net/route on amd64

2005-07-15 Thread agriffis
Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: x86_64-pc-linux-gnu-gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-pc-linux-gnu' -DCONF_VENDOR='pc'

problem with $(/proc/net/route) on amd64

2005-07-15 Thread Aron Griffis
Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: x86_64-pc-linux-gnu-gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-pc-linux-gnu' -DCONF_VENDOR='pc'

Re: problem with $(/proc/net/route) on amd64

2005-07-15 Thread Chet Ramey
Aron Griffis wrote: Bash Version: 3.0 Patch Level: 16 Release Status: release Description: Using bash internals to read /proc/net/route on amd64 stops reading at the end of the first line. Tested on bash-3.0-16 on Gentoo and Debian. Also tested on alpha, ia64