FreeBSD Bugzilla – Attachment 73596 Details for
Bug 106635
[fix] lang/see-devel: fix UTF8 decoding
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.15 KB, created by
Šimun Mikecin
on 2006-12-12 09:30:02 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Šimun Mikecin
Created:
2006-12-12 09:30:02 UTC
Size:
1.15 KB
patch
obsolete
>diff -urN see-devel.orig/Makefile see-devel/Makefile >--- see-devel.orig/Makefile Tue Dec 5 16:03:41 2006 >+++ see-devel/Makefile Tue Dec 12 08:57:59 2006 >@@ -7,7 +7,7 @@ > > PORTNAME= see > PORTVERSION= 2.0.1131 >-PORTREVISION= 1 >+PORTREVISION= 2 > CATEGORIES= lang devel > MASTER_SITES= http://www.powerband.net.au/~david.leonard/ \ > http://freshmeat.net/redir/see/45974/url_tgz/ >diff -urN see-devel.orig/files/patch-libsee_input__utf8.c see-devel/files/patch-libsee_input__utf8.c >--- see-devel.orig/files/patch-libsee_input__utf8.c Thu Jan 1 01:00:00 1970 >+++ see-devel/files/patch-libsee_input__utf8.c Tue Dec 12 08:53:49 2006 >@@ -0,0 +1,20 @@ >+--- libsee/input_utf8.c.orig Wed Jan 18 12:40:19 2006 >++++ libsee/input_utf8.c Tue Dec 12 08:48:44 2006 >+@@ -63,7 +63,7 @@ >+ >+ struct input_utf8 { >+ struct SEE_input inp; >+- const char * s; >++ const unsigned char * s; >+ }; >+ >+ static SEE_unicode_t >+@@ -141,7 +141,7 @@ >+ inpu->inp.inputclass = &input_utf8_class; >+ inpu->inp.filename = NULL; >+ inpu->inp.first_lineno = 1; >+- inpu->s = s; >++ inpu->s = (const unsigned char *)s; >+ SEE_INPUT_NEXT((struct SEE_input *)inpu); /* prime */ >+ return (struct SEE_input *)inpu; >+ }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 106635
: 73596