projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c60b43a
)
* regex.c (re_comp): Cast gettext return value to char *,
author
Paul Eggert
<eggert@cs.ucla.edu>
Mon, 4 Oct 2004 21:00:42 +0000
(21:00 +0000)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Mon, 4 Oct 2004 21:00:42 +0000
(21:00 +0000)
lib/ChangeLog
patch
|
blob
|
history
lib/regex.c
patch
|
blob
|
history
diff --git
a/lib/ChangeLog
b/lib/ChangeLog
index 90e7f0869820611bfe78a83955646312d4733a46..a1b601c279ee040f9d58e01fb081c26b3fb226ad 100644
(file)
--- a/
lib/ChangeLog
+++ b/
lib/ChangeLog
@@
-1,3
+1,8
@@
+2004-10-04 Paul Eggert <eggert@cs.ucla.edu>
+
+ * regex.c (re_comp): Cast gettext return value to char *,
+ Problem reported by Martin Neitzel via Mark D. Baushke.
+
2004-10-04 Simon Josefsson <jas@extundo.com>
* error.c, md5.c, regex.c: Use '#if USE_UNLOCKED_IO' instead of
diff --git
a/lib/regex.c
b/lib/regex.c
index 0f7fef883535b6cad73533bde7aa432e0f54777b..d3840704a02a09d68f6f3748ac9059c5f84dac24 100644
(file)
--- a/
lib/regex.c
+++ b/
lib/regex.c
@@
-7909,7
+7909,7
@@
re_comp (const char *s)
if (!s)
{
if (!re_comp_buf.buffer)
- return gettext ("No previous regular expression");
+ return
(char *)
gettext ("No previous regular expression");
return 0;
}