[ sorry for replying to the wrong article, I'm still not subscribed ]
Jim Meyering writes:
If people like you exercise new releases and provide feedback about them
(even if just to say it builds and passes make check on system X.Y.Z)
on older systems, we'll be more likely to spend time
Albert Chin [EMAIL PROTECTED] wrote:
On Sun, May 28, 2006 at 07:58:24PM +0200, Jim Meyering wrote:
I have to confess that I wonder if it's worth trying to work around
bugs in AIX 4. Is it still officially supported? Is it used by many?
I haven't had access to such a system for a few years
On Tue, May 30, 2006 at 11:25:14AM +0200, Jim Meyering wrote:
Albert Chin [EMAIL PROTECTED] wrote:
On Sun, May 28, 2006 at 07:58:24PM +0200, Jim Meyering wrote:
I have to confess that I wonder if it's worth trying to work around
bugs in AIX 4. Is it still officially supported? Is it used
Ralf Wildenhues wrote:
Not sure if I have much motivation for fighting this into glibc, but
here you go. I'm unsure if conditionalizing away the #undef __strndup
is wrong for some system.
Tested on AIX 4.3.3, 5.1, 5.2 (first has strnlen and strndup broken,
second has strnlen fixed, last has
Ralf Wildenhues wrote:
Tested on AIX 4.3.3, 5.1, 5.2 (first has strnlen and strndup broken,
second has strnlen fixed, last has both fixed)
Hmm? My results for AIX 5.1 differ: On AIX 5.1.0.0 I get
checking whether strndup is declared... yes
checking for working strndup... no
checking whether
Hi Bruno,
* Bruno Haible wrote on Tue, May 30, 2006 at 09:11:04PM CEST:
I added your patch to gnulib, with 4 modifications:
Thanks for applying, your modifications are all good.
+ test $gl_cv_func_strndup = no
+ if test $gl_cv_func_strndup = no; then
Was this intended redundancy or
* Bruno Haible wrote on Tue, May 30, 2006 at 09:29:37PM CEST:
Ralf Wildenhues wrote:
Tested on AIX 4.3.3, 5.1, 5.2 (first has strnlen and strndup broken,
second has strnlen fixed, last has both fixed)
Hmm? My results for AIX 5.1 differ: On AIX 5.1.0.0 I get
checking whether strndup is
Ralf Wildenhues wrote:
Hmm? My results for AIX 5.1 differ: On AIX 5.1.0.0 I get
checking whether strndup is declared... yes
checking for working strndup... no
checking whether strnlen is declared... yes
checking for working strnlen... no
(lslpp -L). The one I tested on has:
On Tue, May 30, 2006 at 09:48:24PM +0200, Ralf Wildenhues wrote:
* Bruno Haible wrote on Tue, May 30, 2006 at 09:29:37PM CEST:
Ralf Wildenhues wrote:
Tested on AIX 4.3.3, 5.1, 5.2 (first has strnlen and strndup broken,
second has strnlen fixed, last has both fixed)
Hmm? My results
On Sun, May 28, 2006 at 05:52:45PM +0200, Ralf Wildenhues wrote:
... AIX strndup is severely broken, at least on 4.3.3 and 5.1, similar
to its strnlen; see also[1]. See for example this test:
$ cat a.c \EOF
#include stdio.h
#include stdlib.h
extern char *strndup (const char *,
On Tue, May 30, 2006 at 10:27:48PM +0200, Bruno Haible wrote:
Ralf Wildenhues wrote:
Hmm? My results for AIX 5.1 differ: On AIX 5.1.0.0 I get
checking whether strndup is declared... yes
checking for working strndup... no
checking whether strnlen is declared... yes
checking for
On Sun, May 28, 2006 at 05:52:45PM +0200, Ralf Wildenhues wrote:
And yes, that happens with GCC as well. They simply forget the final
`\0', I guess. As also mentioned here[2], the strndup declaration is
#ifdef'ed away behind a _LINUX_SOURCE_COMPAT define.
I guess Autoconf should have a
On Sun, May 28, 2006 at 07:58:24PM +0200, Jim Meyering wrote:
I have to confess that I wonder if it's worth trying to work around
bugs in AIX 4. Is it still officially supported? Is it used by many?
I haven't had access to such a system for a few years now, and no one
has been building
Ralf Wildenhues [EMAIL PROTECTED] wrote:
With coreutils 5.96, I get three failures on AIX 4.3.3, namely:
cp/fail-perm, rm/inaccessible, help-version.
Verbose output is below. The last one looks funny. :-)
...
! cp: accessing `symlink': The file access permissions do not allow the
Hi Jim,
Thanks for fixing. Small nit:
* Jim Meyering wrote on Sun, May 28, 2006 at 11:04:05AM CEST:
Ralf Wildenhues [EMAIL PROTECTED] wrote:
With coreutils 5.96, I get three failures on AIX 4.3.3, namely:
^^^
+# HPUX appears to fail with
Ralf Wildenhues [EMAIL PROTECTED] wrote:
With coreutils 5.96, I get three failures on AIX 4.3.3, namely:
^^^
+# HPUX appears to fail with EACCES rather than EPERM.
This looks like an inconsistency to me. FWIW, I didn't see any
Hi Jim,
* Jim Meyering wrote on Sun, May 28, 2006 at 11:22:42AM CEST:
Ralf Wildenhues [EMAIL PROTECTED] wrote:
With coreutils 5.96, I get three failures on AIX 4.3.3, namely:
^^^
+# HPUX appears to fail with EACCES rather than EPERM.
Ralf Wildenhues [EMAIL PROTECTED] wrote:
With coreutils 5.96, I get three failures on AIX 4.3.3, namely:
cp/fail-perm, rm/inaccessible, help-version.
...
rm: cannot remove `rel': The file access permissions do not allow the
specified action.
---
rm: cannot remove `rel': Permission denied
Ralf Wildenhues [EMAIL PROTECTED] wrote:
Ahh, thanks for the clarification. Speaking of trunk, I follow the
:pserver:[EMAIL PROTECTED]:/cvsroot/coreutils
CVS repository, both HEAD and branch b5_9x. Is that where development
is happening though? Both have this as latest entry:
|
Hi Jim,
* Jim Meyering wrote on Sun, May 28, 2006 at 03:48:21PM CEST:
Ralf Wildenhues [EMAIL PROTECTED] wrote:
With coreutils 5.96, I get three failures on AIX 4.3.3, namely:
cp/fail-perm, rm/inaccessible, help-version.
$ env VERBOSE=yes TESTS=help-version make check-TESTS
[...]
+ 0
Ralf Wildenhues [EMAIL PROTECTED] wrote:
Hi Jim,
* Jim Meyering wrote on Sun, May 28, 2006 at 03:48:21PM CEST:
Ralf Wildenhues [EMAIL PROTECTED] wrote:
With coreutils 5.96, I get three failures on AIX 4.3.3, namely:
cp/fail-perm, rm/inaccessible, help-version.
$ env VERBOSE=yes
[ Cc:ing bug-gnulib ]
* Jim Meyering wrote on Sun, May 28, 2006 at 07:58:24PM CEST:
Ralf Wildenhues [EMAIL PROTECTED] wrote:
... AIX strndup is severely broken, at least on 4.3.3 and 5.1, similar
to its strnlen; see also[1]. See for example this test:
I have to confess that I wonder if
Ralf Wildenhues [EMAIL PROTECTED] writes:
I only saw Paul's message after mostly finishing this one, so feel free
to decide as you like. (I don't know whether Gnulib intends to target
systems that are apparently not of interest to coreutils any more.)
The general rule I use with gnulib-like
With coreutils 5.96, I get three failures on AIX 4.3.3, namely:
cp/fail-perm, rm/inaccessible, help-version.
Verbose output is below. The last one looks funny. :-)
Cheers,
Ralf
$ TESTS=fail-perm VERBOSE=yes make -e check
make check-TESTS
+ cp --version
cp (GNU coreutils) 5.96
24 matches
Mail list logo