Update.
1998-05-13 Ulrich Drepper <drepper@cygnus.com> * wcsmbs/wcsmbsload.c (extract_charset_name): Fix silly bugs in last addition. Patch by wkpark@chem.skku.ac.kr.
This commit is contained in:
parent
3cb0cda8a1
commit
a7c378d8cd
@ -1,3 +1,8 @@
|
||||
1998-05-13 Ulrich Drepper <drepper@cygnus.com>
|
||||
|
||||
* wcsmbs/wcsmbsload.c (extract_charset_name): Fix silly bugs in
|
||||
last addition. Patch by wkpark@chem.skku.ac.kr.
|
||||
|
||||
1998-05-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
|
||||
|
||||
* iconvdata/8bit-gap.c (BODY): Don't fall off the end of the gap
|
||||
|
@ -96,15 +96,15 @@ getfct (const char *to, const char *from)
|
||||
const char *cp = str; \
|
||||
char *result = NULL; \
|
||||
\
|
||||
while (strchr ("@._+,", *cp) == NULL) \
|
||||
while (strchr ("@.+,", *cp) == NULL) \
|
||||
++cp; \
|
||||
if (*cp == '.') \
|
||||
{ \
|
||||
const char *endp = cp; \
|
||||
const char *endp = ++cp; \
|
||||
while (*endp != '\0' && *endp != '@') \
|
||||
++endp; \
|
||||
if (endp != cp) \
|
||||
result = strndupa (str, endp - cp); \
|
||||
result = strndupa (cp, endp - cp); \
|
||||
} \
|
||||
result; \
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user