On Thu, Nov 01, 2007 at 02:47:47AM +0100, Roland Mainz wrote:

Hi!

> [Please keep [EMAIL PROTECTED] in the CC: field

Will block, since I'm not subscribed to that list...

> Jens Elkner wrote:
> > >
> > > 1. Which locale do you use ?
> > 
> > LC_CTYPE is set to en_US and LC_LANG/LC_ALL are unset. So I assume
> > 'en_US'.

Ouput of my default settings for solaris:
elkner.q ~ > locale
LANG=
LC_CTYPE=en_US
LC_NUMERIC=en_US.ISO8859-1
LC_TIME=C
LC_COLLATE=C
LC_MONETARY=en_US.ISO8859-1
LC_MESSAGES=C
LC_ALL=

For linux:
elkner.home ~/tmp > locale
LANG=POSIX
LC_CTYPE=de_DE
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=

> What about trying
> 1. LC_ALL=C (single-byte locale)
> 2. LC_ALL=en_US.UTF-8 (multibyte locale)

No notable difference on any platform.

> > Well, have no machine with B72. So I tried to build
> > ast-ast.2007-06-28.tgz, but that fails under Solaris (must admit, that I
> > never understood the mamake magic to be able to troubleshoot).
> 
> What was the build failure ?

Have a look at http://iws.cs.uni-magdeburg.de/~elkner/regex/mk.log ;-)
  
> > Linux (libast)  24.269u 0.160s 0:24.49 99.7%
> > (gcc -O5 regex.c -L /export/scratch/build/ast/arch/linux.i386/lib -last)
> 
> Erm, you have to add the libast includes, too - otherwise it may not use
> the libast regex functions...

Signatures are the same and the -Lpath contains libast.a ...

> > So I guess, it wouldn't be an improvement on Solaris, too.
> 
> Are you sure it used the libast regex functions ?

Modified regex.c as Glenn suggested : regerror(17, 0, e, 1024)
-> 'regex (AT&T Research) 2004-05-24'
So, yes.

BTW: Since truss -u shows a lot of mem ops, I set LD_PRELOAD to
libmtmalloc.so (one never knows ;-)), but didn't improve things
either. So I guess it is really a regexec impl. problem...

Regards,
jel.
-- 
Otto-von-Guericke University     http://www.cs.uni-magdeburg.de/
Department of Computer Science   Geb. 29 R 027, Universitaetsplatz 2
39106 Magdeburg, Germany         Tel: +49 391 67 12768
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to