Re: negative test -x failed for bash 3.2.25(1)-release (x86_64-pc-solaris2)

2007-08-26 Thread Chet Ramey
Cristian Baboi wrote: > > In the file eaccess.c , the function sh_eaccess call access(path, mode) > if test -x is called as root. > On Solaris x86, access (path,mode) return true regardless of the state > of executable bit. Damned if you use custom code in place of access(2), damned if you don't.

Re: Bash-3.2 Official Patch 20

2007-08-26 Thread Chet Ramey
Mike Frysinger wrote: > what i meant was that for some reason, i didnt get the readonly error after > modifying one of those four values, but the script stopped parsing at the > same spot since it was a readonly var ... > > (UID=1) > -bash: UID: readonly variable > > (BASH_ARGV=""; UID=1; echo

negative test -x failed for bash 3.2.25(1)-release (x86_64-pc-solaris2)

2007-08-26 Thread Cristian Baboi
In the file eaccess.c , the function sh_eaccess call access(path, mode) if test -x is called as root. On Solaris x86, access (path,mode) return true regardless of the state of executable bit.

race condition in build system

2007-08-26 Thread Mike Frysinger
the top level Makefile has a race condition in the readline subdir due to how it's been architected ... start with the bash deps: $(Program): ... $(LIBDEP) ... LIBDEP expands to: LIBDEP = ... $(READLINE_DEP) $(HISTORY_DEP) ... and the DEP vars expant to the LIBRARY vars: $(READLINE_LIBRARY): ..