RE: Fwd: sed porting trouble

2010-10-03 Thread Schmitz, Joachim
Yes I know there are traces of GCC, but it never really materialized. The guy (Tom Bates) who did all these ports that you can seen on http://ituglib.connect-community.org left the company end of 2007 (made redundant, actually), so all the stuff you can see there from 2007 or older is his

RE: Fwd: sed porting trouble

2010-10-03 Thread Schmitz, Joachim
Ah, OK, thanks for digging that up. As I mentioned OSS came into existence in the early 1990s. Yes, I'd agree, it is time for a refresher... -Original Message- From: Bruno Haible [mailto:br...@clisp.org] Sent: Sunday, October 03, 2010 2:37 AM To: Schmitz, Joachim Cc: 'Paul Eggert';

RE: ACLs on HP NonStop

2010-10-03 Thread Schmitz, Joachim
Hi Bruno The shell commands are setacl and getacl. Output of VERBOSE=1 make check TESTS=test-file-has-acl.sh attached. Will have a look at that new acltestdir shortly Bye, Jojo -Original Message- From: Bruno Haible [mailto:br...@clisp.org] Sent: Sunday, October 03, 2010 4:34 AM To:

RE: Fwd: sed porting trouble

2010-10-03 Thread Schmitz, Joachim
Which makes it nicer on non-Tandem platforms as there it's expand to nothing rather than an empty #ifdef __TANDEM #endif -Original Message- From: Bruno Haible [mailto:br...@clisp.org] Sent: Sunday, October 03, 2010 11:53 AM To: Schmitz, Joachim Cc: Paul Eggert; Paolo Bonzini;

Re: Fwd: sed porting trouble

2010-10-03 Thread Bruno Haible
Joachim Schmitz wrote: Yes I know there are traces of GCC, but it never really materialized. OK, then - as pointed out by Karl Berry - the idiom can be simplified from #ifdef __TANDEM @PRAGMA_COLUMNS@ #endif to @PRAGMA_COLUMNS@ Bruno

Re: ACLs on HP NonStop

2010-10-03 Thread Bruno Haible
Hi Joachim, The shell commands are setacl and getacl. Output of VERBOSE=1 make check TESTS=test-file-has-acl.sh attached. + acl_flavor=osf1 ... setacl: illegal option -- u Thanks, that's what we needed to know. So, one needs a new acl_flavor in the four unit tests. There used to be an

RE: ACLs on HP NonStop

2010-10-03 Thread Schmitz, Joachim
Open System Services Shell and Utilities Reference Manual has been moved to http://bizsupport2.austin.hp.com/bc/docs/support/SupportManual/c02128680/c02128680.pdf -Original Message- From: Bruno Haible [mailto:br...@clisp.org] Sent: Sunday, October 03, 2010 1:04 PM To: Schmitz, Joachim

Re: Who owns config.rpath?

2010-10-03 Thread Ralf Wildenhues
[ adding bug-gnulib ] Hi Dave, * Dave Korn wrote on Sun, Oct 03, 2010 at 01:42:15PM CEST: I can't find any mention of it at the usual place for external sources (http://gcc.gnu.org/codingconventions.html#upstream), so is our version forked, or is that just an oversight? It comes originally

Re: [PATCH] mbsstr: fix warnings reported by gcc -Wcast-align on ARM

2010-10-03 Thread Bruno Haible
Hi, Dmitry V. Levin wrote: * lib/mbsstr.c (knuth_morris_pratt_multibyte): Assign a raw memory pointer returned by nmalloca() right to the variable of type mbchar_t * thus removing redundant proxy variable of type char *. Thanks for the patch, but I don't feel that it is an improvement over

RE: integer types on HP NonStop

2010-10-03 Thread Schmitz, Joachim
In my cc wrapper script I switch them off -Wnowarn. Not really nice, but otherwise one would miss the tree (of error) in the forrest (or warnings), as this compiler is extremely picky and verbose. When not porting, but writing code myself, I want everything to compile with all warnings enabled

RE: ACLs on HP NonStop

2010-10-03 Thread Schmitz, Joachim
Two errors so far, I fixed one (hopefully correct): diff -u ./gllib/copy-acl.c.orig ./gllib/copy-acl.c --- ./gllib/copy-acl.c.orig 2010-10-02 21:25:58.0 -0500 +++ ./gllib/copy-acl.c 2010-10-03 06:59:44.0 -0500 @@ -544,7 +544,7 @@ /* If NACLENTRIES cannot be trusted,

RE: ACLs on HP NonStop

2010-10-03 Thread Schmitz, Joachim
One other error, brute force fix: diff -u ./gltests/test-sameacls.c.orig ./gltests/test-sameacls.c --- ./gltests/test-sameacls.c.orig 2010-10-02 11:10:42.0 -0500 +++ ./gltests/test-sameacls.c 2010-10-03 07:11:40.0 -0500 @@ -24,7 +24,7 @@ #include string.h #include

RE: ACLs on HP NonStop

2010-10-03 Thread Schmitz, Joachim
And this: func_test_file_has_acl[2]: /home/jojo/Floss/acltestdir2/gltests/test-file-has-acl: not found file_has_acl(tmpfile0) returned , expected no FAIL: test-file-has-acl.sh ... PASS: test-set-mode-acl.sh unknown permission :0 PASS: test-copy-acl.sh ... -Original Message- From:

Re: ACLs on HP NonStop

2010-10-03 Thread Bruno Haible
Joachim Schmitz wrote: Two errors so far, I fixed one (hopefully correct): diff -u ./gllib/copy-acl.c.orig ./gllib/copy-acl.c --- ./gllib/copy-acl.c.orig 2010-10-02 21:25:58.0 -0500 +++ ./gllib/copy-acl.c 2010-10-03 06:59:44.0 -0500 @@ -544,7 +544,7 @@ /* If

Re: ACLs on HP NonStop

2010-10-03 Thread Bruno Haible
Joachim Schmitz wrote: One other error, brute force fix: diff -u ./gltests/test-sameacls.c.orig ./gltests/test-sameacls.c --- ./gltests/test-sameacls.c.orig 2010-10-02 11:10:42.0 -0500 +++ ./gltests/test-sameacls.c 2010-10-03 07:11:40.0 -0500 @@ -24,7 +24,7 @@

RE: ACLs on HP NonStop

2010-10-03 Thread Schmitz, Joachim
Looks much better now. 'make check' now reports: make[4]: Entering directory `/usr/local/Floss/acltestdir2/gltests' PASS: test-file-has-acl.sh PASS: test-set-mode-acl.sh unknown permission :0 PASS: test-copy-acl.sh PASS: test-binary-io.sh unknown permission :0 PASS: test-copy-file.sh PASS:

RE: ACLs on HP NonStop

2010-10-03 Thread Schmitz, Joachim
Well, it hasn't created a program gltests/test-file-has-acl. It will now, with the patch from your other email ;-) -Original Message- From: Bruno Haible [mailto:br...@clisp.org] Sent: Sunday, October 03, 2010 2:49 PM To: Schmitz, Joachim Cc: 'Paolo Bonzini'; 'bug-gnulib' Subject: Re:

Re: ACLs on HP NonStop

2010-10-03 Thread Bruno Haible
Joachim Schmitz wrote: Looks much better now. 'make check' now reports: PASS: test-file-has-acl.sh PASS: test-set-mode-acl.sh Very nice! These are usually the hardest ones to make pass on a new platform. unknown permission :0 PASS: test-copy-acl.sh unknown permission :0 PASS:

RE: ACLs on HP NonStop

2010-10-03 Thread Schmitz, Joachim
+ setacl -s user::6,group::0,other::0 tmpfile0 unknown permission :0 I think that should rather be setacl -s user::6,group::0,other:0 tmpfile0 But that gives: $ setacl -s user::6,group::0,other:0 tmpfile0 required entry for file owner, file group, class, or other not specified usage: setacl

Re: ACLs on HP NonStop

2010-10-03 Thread Bruno Haible
Joachim Schmitz wrote: Ah, now I see, 'class' is mandatory, so we'd need setacl -s user::6,group::0,class:0,other:0 tmpfile0 Good. I'll use class:7 instead of class:0, since this is more realistic. and that indeed works: Great! I'm thus committing the ACL support. 2010-10-03 Bruno

Re: Fwd: sed porting trouble

2010-10-03 Thread Paul Eggert
On 10/02/2010 03:33 AM, Bruno Haible wrote: I vehemently disagree, for five reasons: OK, let's look at those reasons. But first, please bear in mind that the sentiment seems to be in the other direction. In my case this is not just because the software engineering mechanism is simpler; it's

Re: Who owns config.rpath?

2010-10-03 Thread Dave Korn
On 03/10/2010 12:24, Ralf Wildenhues wrote: [ adding bug-gnulib ] Hi Dave, * Dave Korn wrote on Sun, Oct 03, 2010 at 01:42:15PM CEST: I can't find any mention of it at the usual place for external sources (http://gcc.gnu.org/codingconventions.html#upstream), so is our version forked,

Re: pmccabe cyclomatic complexity type inconsistency

2010-10-03 Thread Reuben Thomas
On 30 September 2010 10:54, Simon Josefsson si...@josefsson.org wrote: Reuben Thomas r...@sc3d.org writes: Either way, if we have a consensus, I'll happily make a patch to pmccabe2html to make the figures in the report consistent with the sorting and colouring. Thanks, You're welcome. Here

libposix

2010-10-03 Thread Bruce Korb
Hi, I'd still like to wrap up this thing, but it fails in a way I've been unable to diagnose. A reminder, the goal here is to produce a stand alone project that installs a library and headers so that other projects can reduce the number of configury tests required in order to build. The amount

RE: Fwd: sed porting trouble

2010-10-03 Thread Karl Berry
Ah, OK, thanks for digging that up. As I mentioned OSS came into existence in the early 1990s. Off the subject of these endless pragma issues, but I feel compelled to point out for the record that rms started GNU in 1983 (http://www.gnu.org/gnu/gnu-history.html). Granted GNU is not part

Re: Fwd: sed porting trouble

2010-10-03 Thread Bruno Haible
Karl Berry wrote: Ah, OK, thanks for digging that up. As I mentioned OSS came into existence in the early 1990s. Off the subject of these endless pragma issues, but I feel compelled to point out for the record that rms started GNU in 1983 (http://www.gnu.org/gnu/gnu-history.html).

Re: Fwd: sed porting trouble

2010-10-03 Thread Bruno Haible
Hi Paul, Some of your proposed changes are undoubtedly good. I like the new macro in math.in.h, and comment lines have usually no reason to be longer than 80 columns. I've applied the part of your patch which I agree with (see below). However, the main reasons why I want to handle this

Re: read-file on HP NonStop

2010-10-03 Thread Bruno Haible
Joachim Schmitz wrote: Read 68 from /etc/resolv.conf... FAIL: test-read-file Now hunting that failed check... ah, /etc/resolv.conf is a symlink here, apparently the test doesn't like this. That should work too. When on Linux I change FILE1 to /tmp/symlink which is a symlink to a regular

Re: libposix

2010-10-03 Thread Bruno Haible
[removed libtool list from CC] Hi Bruce, Bruce Korb wrote: I'd still like to wrap up this thing, but it fails in a way I've been unable to diagnose. A reminder, the goal here is to produce a stand alone project that installs a library and headers so that other projects can reduce the

RE: Fwd: sed porting trouble

2010-10-03 Thread Schmitz, Joachim
Hi Karl OSS in this context (of ther NonStop Kernel OS , NSK) means Open System Services, the POSIX personality of NSK. Bye, Jojo -Original Message- From: Karl Berry [mailto:k...@freefriends.org] Sent: Sunday, October 03, 2010 11:05 PM To: Schmitz, Joachim; bug-gnulib@gnu.org Subject:

RE: Fwd: sed porting trouble

2010-10-03 Thread Schmitz, Joachim
Hi Bruno FLOSS is actually supposed to mean 'Freeware Look for Open System Services and is used for 2 things, a) the floss package itself, which is sort of an enabler, containing scripts, header files and a library that is supposed to ease the porting effort and b) all the stuff that has been