Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F109207717
D21657.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
983 B
Referenced Files
None
Subscribers
None
D21657.diff
View Options
Index: head/contrib/libedit/chartype.h
===================================================================
--- head/contrib/libedit/chartype.h
+++ head/contrib/libedit/chartype.h
@@ -87,7 +87,7 @@
/* The terminal is thought of in terms of X columns by Y lines. In the cases
* where a wide character takes up more than one column, the adjacent
* occupied column entries will contain this faux character. */
-#define MB_FILL_CHAR ((wchar_t)-1)
+#define MB_FILL_CHAR ((wint_t)-1)
/* Visual width of character c, taking into account ^? , \0177 and \U+nnnnn
* style visual expansions. */
Index: head/contrib/libedit/terminal.c
===================================================================
--- head/contrib/libedit/terminal.c
+++ head/contrib/libedit/terminal.c
@@ -1224,7 +1224,7 @@
{
char buf[MB_LEN_MAX +1];
ssize_t i;
- if (c == (wint_t)MB_FILL_CHAR)
+ if (c == MB_FILL_CHAR)
return 0;
if (c & EL_LITERAL)
return fputs(literal_get(el, c), el->el_outfile);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Feb 3, 1:53 AM (21 h, 10 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16422355
Default Alt Text
D21657.diff (983 B)
Attached To
Mode
D21657: Fix arm builds of updated libedit
Attached
Detach File
Event Timeline
Log In to Comment