Eric Blake wrote:
Looks good to me
Applied, thanks.
except for:
|
| ! /* Compute auxiliary longword values:
| ! repeated_one is a value which has a 1 in every byte.
| ! repeated_c1 has a c1 in every byte.
| ! repeated_c2 has a c2 in every byte. */
| ! repeated_one =
Eric Blake asked:
Also, is anyone interested in making gnulib's memchr and strchrnul more
efficient by copying the optimizations learned in memchr2?
Checked in like this:
2008-04-26 Eric Blake [EMAIL PROTECTED]
Bruno Haible [EMAIL PROTECTED]
* lib/memchr.c: Include
Ralf Wildenhues wrote:
I hear that there really do exist systems in actual use
on which tr still does not honor backslash-escapes like \r and \n.
Which platforms, please?
Solaris 10 /usr/ucb/tr. Not likely to be early in PATH, but hey, people
do all kinds of weird things to their
Ralf Wildenhues wrote:
! LC_ALL=C tr -d '\r' t-xstrtoimax.tmp t-xstrtoimax.xo
I hear that there really do exist systems in actual use
on which tr still does not honor backslash-escapes like \r and \n.
Which platforms, please? (I use the similar idiom in more than 200 files in
* Bruno Haible wrote on Sat, Apr 26, 2008 at 02:06:17PM CEST:
Ralf Wildenhues wrote:
I hear that there really do exist systems in actual use
on which tr still does not honor backslash-escapes like \r and \n.
Which platforms, please?
Solaris 10 /usr/ucb/tr. Not likely to be
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
According to Ralf Wildenhues on 4/26/2008 6:16 AM:
|
| Maybe the Autoconf manual should contain: please don't put /usr/ucb
| nor '.' in $PATH, and if you must, put it as late as possible.
| Dunno, I don't have a strong opinion on all of this.
Yes,
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
According to Bruno Haible on 4/26/2008 6:06 AM:
| Ralf Wildenhues wrote:
| I hear that there really do exist systems in actual use
| on which tr still does not honor backslash-escapes like \r and \n.
| Which platforms, please?
| Solaris 10
Simon Josefsson wrote:
+# if defined _WIN32 || defined __WIN32__
This is not the right preprocessor test for mingw: It may also evaluate to
true on Cygwin. But Cygwin has the right declaration of setsockopt and does
not need a fix. The right #if here is
#if (defined _WIN32 || defined __WIN32__)
Simon Josefsson wrote:
# if defined _WIN32 || defined __WIN32__
# define setsockopt(a,b,c,d,e) rpl_setsockopt(a,b,c,d,e)
static inline int
rpl_setsockopt(int socket, int level, int optname, const void *optval,
socklen_t optlen)
{
return (setsockopt)(socket, level,
Hi Simon,
I would also favor removing both inet_ntop.h and inet_pton.h, and use
arpa/inet.h for the declarations, as you suggested.
Me too.
Bruno
Eric Blake wrote:
| Maybe the Autoconf manual should contain: please don't put /usr/ucb
| nor '.' in $PATH, and if you must, put it as late as possible.
| Dunno, I don't have a strong opinion on all of this.
Yes, we could add that, but it won't help the fact that configure is run
by people
In preparation of the DragonflyBSD port, this moves a few system dependent
tasks to inline functions.
2008-04-26 Bruno Haible [EMAIL PROTECTED]
* lib/fflush.c (clear_ungetc_buffer, disable_seek_optimization,
restore_seek_optimization, update_fpos_cache): New functions,
In preparation of the DragonflyBSD port, another refactoring. This should help
to keep the number of #ifs limited.
2008-04-26 Bruno Haible [EMAIL PROTECTED]
* lib/stdio-impl.h: New file.
* lib/fbufmode.c: Include stdio-impl.h.
(fbufmode): Use fp_, remove redundant
Hi Bruno,
* Bruno Haible wrote on Sat, Apr 26, 2008 at 02:15:27PM CEST:
2008-04-26 Bruno Haible [EMAIL PROTECTED]
* tests/test-xstrtol.sh: Work around limitation of an old 'tr' program
on Solaris.
* tests/test-xstrtoimax.sh: Likewise.
* tests/test-xstrtoumax.sh:
* Ralf Wildenhues wrote on Sat, Apr 26, 2008 at 06:10:56PM CEST:
+ # Find out how to remove carriage returns from output. Solaris /usr/ucb/tr
+ # does not understand '\r'.
+ if echo solaris | tr -d '\r' | grep solais /dev/null; then
s/solais/solaris/
Likewise in the other files.
Please
There was no answer from the DragonFly BSD developers. So I'm adding the
DragonFly BSD support without their system support.
2008-04-26 Bruno Haible [EMAIL PROTECTED]
Add tentative support for DragonFly BSD.
* lib/stdio-impl.h: Add macros for DragonFly BSD.
*
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
According to Bruno Haible on 4/26/2008 4:38 AM:
| Eric Blake asked:
| Also, is anyone interested in making gnulib's memchr and strchrnul more
| efficient by copying the optimizations learned in memchr2?
|
| Checked in like this:
|
| 2008-04-26 Eric
17 matches
Mail list logo