bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

rawmemchr [was: strchrnul speed]


From: Eric Blake
Subject: rawmemchr [was: strchrnul speed]
Date: Mon, 28 Apr 2008 22:02:03 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.12) Gecko/20080213 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Eric Blake on 4/28/2008 5:20 PM:
| Eric Blake <ebb9 <at> byu.net> writes:
|
|> Meanwhile, adding rawmemchr would speed up the (corner) case of
|> strchrnul(s,0), but I haven't tackled that yet.
|
| Here it is, plus another potential C99 read-beyond-end violation.  I'll
follow
| Bruno's advice and add .valgrind files for strchrnul and rawmemchr next,
if you
| don't beat me to it.

Still haven't gotten to that...

But I did realize I forgot to mention the new rawmemchr module in
MODULES.html.sh, now fixed.  And in the process, my editor tried to munge
ChangeLog (which is odd, since the entries it tried to munge have been in
place for several months; I'm not sure why it picked today).  To avoid
corrupting 8-bit values, I recoded ChangeLog as utf-8.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkgWnboACgkQ84KuGfSFAYCvtgCgl1yQYfHMkg4pfoQf1Ict8wK1
fBQAoMQYVkGAbOt2IWSVxhVz8thL6aUe
=aTgj
-----END PGP SIGNATURE-----
>From 1aa76c542e037b9f5f333bb851f1d6fea4b219f0 Mon Sep 17 00:00:00 2001
From: Eric Blake <address@hidden>
Date: Mon, 28 Apr 2008 20:08:36 -0600
Subject: [PATCH] Ensure sane coding of ChangeLog.

Signed-off-by: Eric Blake <address@hidden>
---
 ChangeLog |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index c2fdaa6..3560f03 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -40189,6 +40189,10 @@
 
        -----
 
+       Local Variables:
+       coding: utf-8
+       End:
+
        Copyright (C) 1997-2008 Free Software Foundation, Inc.
 
        Copying and distribution of this file, with or without
-- 
1.5.5.1


>From 250b228a46c02957b80282d6054a36dfceb7bcbe Mon Sep 17 00:00:00 2001
From: Eric Blake <address@hidden>
Date: Mon, 28 Apr 2008 20:16:06 -0600
Subject: [PATCH] Document rawmemchr.

* MODULES.html.sh: Document new module.

Signed-off-by: Eric Blake <address@hidden>
---
 ChangeLog       |    4 ++++
 MODULES.html.sh |    1 +
 2 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 3560f03..b7fa000 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-04-28  Eric Blake  <address@hidden>
+
+       * MODULES.html.sh: Document new module.
+
 2008-04-20  Bruno Haible  <address@hidden>
 
        * lib/c-stack.c (die): Use raise.
diff --git a/MODULES.html.sh b/MODULES.html.sh
index 6614755..8000e77 100755
--- a/MODULES.html.sh
+++ b/MODULES.html.sh
@@ -1658,6 +1658,7 @@ func_all_modules ()
   func_module memmem-simple
   func_module mempcpy
   func_module memrchr
+  func_module rawmemchr
   func_module stpcpy
   func_module stpncpy
   func_module c-strcase
-- 
1.5.5.1


reply via email to

[Prev in Thread] Current Thread [Next in Thread]