OSDN Git Service
(root)
/
pg-rex
/
syncrep.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8401f06
)
Fix bug in mic2ascii(). It does not handle correctly if none ASCII
author
Tatsuo Ishii
<ishii@postgresql.org>
Tue, 25 Sep 2001 01:27:03 +0000
(
01:27
+0000)
committer
Tatsuo Ishii
<ishii@postgresql.org>
Tue, 25 Sep 2001 01:27:03 +0000
(
01:27
+0000)
chars are in the input.
src/backend/utils/mb/conv.c
patch
|
blob
|
history
diff --git
a/src/backend/utils/mb/conv.c
b/src/backend/utils/mb/conv.c
index
7e7f948
..
959d5fc
100644
(file)
--- a/
src/backend/utils/mb/conv.c
+++ b/
src/backend/utils/mb/conv.c
@@
-6,7
+6,7
@@
* WIN1250 client encoding support contributed by Pavel Behal
* SJIS UDC (NEC selection IBM kanji) support contributed by Eiji Tokuya
*
- * $Id: conv.c,v 1.
29 2001/09/22 08:44:48
ishii Exp $
+ * $Id: conv.c,v 1.
30 2001/09/25 01:27:03
ishii Exp $
*
*
*/
@@
-806,8
+806,8
@@
mic2ascii(unsigned char *mic, unsigned char *p, int len)
else
{ /* should be ASCII */
*p++ = c1;
+ mic++;
}
- mic++;
}
*p = '\0';
}