FreeBSD Bugzilla – Attachment 188075 Details for
Bug 220013
editors/nvi-m17n [patch] fix CJK display problem caused by libncurses
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
fileencoding misdetection when the first line does not contain multi-byte letters
patch (text/plain), 1.13 KB, created by
Satoshi TOMIOKA
on 2017-11-17 14:29:37 UTC
(
hide
)
Description:
fileencoding misdetection when the first line does not contain multi-byte letters
Filename:
MIME Type:
Creator:
Satoshi TOMIOKA
Created:
2017-11-17 14:29:37 UTC
Size:
1.13 KB
patch
obsolete
>diff -u files-orig/patch-common-multibyte.c files/patch-common-multibyte.c >--- files-orig/patch-common-multibyte.c 448538 (2017-11-17 18:06:08.842019000 +0900) >+++ files/patch-common-multibyte.c (2017-11-17 22:04:16.619423000 +0900) >@@ -1,8 +1,10 @@ >---- ../common/multibyte.c.orig 2017-01-07 18:04:20.087312000 +0900 >-+++ ../common/multibyte.c 2017-01-07 18:05:53.585988000 +0900 >-@@ -1455,7 +1455,7 @@ >+--- ../common/multibyte.c.orig 2017-11-17 21:47:04.305764000 +0900 >++++ ../common/multibyte.c 2017-11-17 21:58:19.218532000 +0900 >+@@ -1454,8 +1454,9 @@ >+ if (maybe == 0) > return ename; > >++ if ( (maxfunc!=1) && (try==maybe) ) continue ; > for (i = 0; i < maxfunc; i++) { > - if (maybe == (1 << i)) > + if (maybe & (1 << i)) >diff -u files-orig/patch-configure files/patch-configure >--- files-orig/patch-configure 407617 (2016-01-31 21:11:03.000000000 +0900) >+++ files/patch-configure (2017-11-17 22:06:04.727256000 +0900) >@@ -25,7 +25,7 @@ > cobjs="\$(COBJS)";; > "other curses") > - LIBS="-lcurses $LIBS";; >-+ LIBS="-lncurses $LIBS";; >++ LIBS="-lncursesw $LIBS";; > esac > > echo $ac_n "checking for sys/mman.h""... $ac_c" 1>&6
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 220013
:
183498
|
183510
|
188075
|
188352