<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/contrib/libedit, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>libedit: fix use after free</title>
<updated>2026-03-05T16:13:08+00:00</updated>
<author>
<name>Baptiste Daroussin</name>
<email>bapt@FreeBSD.org</email>
</author>
<published>2026-03-05T16:12:51+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=6d2a147ae558ef423e3df451a9049200b291a8d0'/>
<id>6d2a147ae558ef423e3df451a9049200b291a8d0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>libedit: vendor import version 2026-03-04</title>
<updated>2026-03-05T07:17:51+00:00</updated>
<author>
<name>Baptiste Daroussin</name>
<email>bapt@FreeBSD.org</email>
</author>
<published>2026-03-05T07:17:09+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=28ff4d35f8b904952bf86b3264650d91cc0cb5d7'/>
<id>28ff4d35f8b904952bf86b3264650d91cc0cb5d7</id>
<content type='text'>
MFC After:	1 week
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
MFC After:	1 week
</pre>
</div>
</content>
</entry>
<entry>
<title>libedit: import vendor snapshort 2025-01-03</title>
<updated>2025-04-16T20:21:05+00:00</updated>
<author>
<name>Baptiste Daroussin</name>
<email>bapt@FreeBSD.org</email>
</author>
<published>2025-04-16T20:21:05+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=136d69caf03bc38de95c4df34c5a683e9ce81bfa'/>
<id>136d69caf03bc38de95c4df34c5a683e9ce81bfa</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>libedit: update to snapshot 2023-01-06</title>
<updated>2023-02-06T13:25:06+00:00</updated>
<author>
<name>Baptiste Daroussin</name>
<email>bapt@FreeBSD.org</email>
</author>
<published>2023-02-06T13:25:06+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=baff81958c8efef2a44f4b769743eeb7101bee9e'/>
<id>baff81958c8efef2a44f4b769743eeb7101bee9e</id>
<content type='text'>
MFC atfer:	1 week
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
MFC atfer:	1 week
</pre>
</div>
</content>
</entry>
<entry>
<title>libedit: import version of 2022-04-11</title>
<updated>2022-04-14T14:46:47+00:00</updated>
<author>
<name>Baptiste Daroussin</name>
<email>bapt@FreeBSD.org</email>
</author>
<published>2022-04-14T14:46:47+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=7f39937557052c004d7ebf55dd973108323756f3'/>
<id>7f39937557052c004d7ebf55dd973108323756f3</id>
<content type='text'>
It includes improvements in the libreadline compatibility and a change
from pstef@ which fixes filename autocompletion for strings like a\)b
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It includes improvements in the libreadline compatibility and a change
from pstef@ which fixes filename autocompletion for strings like a\)b
</pre>
</div>
</content>
</entry>
<entry>
<title>libedit: import snapshot 2021-09-10</title>
<updated>2021-09-22T08:19:43+00:00</updated>
<author>
<name>Baptiste Daroussin</name>
<email>bapt@FreeBSD.org</email>
</author>
<published>2021-09-22T08:19:43+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=91f764172e197c82efa97a66cfbc13d2c744b02b'/>
<id>91f764172e197c82efa97a66cfbc13d2c744b02b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>libedit: vendor import libedit 2021-03-28</title>
<updated>2021-03-29T08:05:55+00:00</updated>
<author>
<name>Baptiste Daroussin</name>
<email>bapt@FreeBSD.org</email>
</author>
<published>2021-03-29T08:05:18+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=19318a62d7f8cfe2f0f5c24178fa33e8844ae5d1'/>
<id>19318a62d7f8cfe2f0f5c24178fa33e8844ae5d1</id>
<content type='text'>
It contains changes pushed by pstef@ when working on improving the
completion for /bin/sh
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It contains changes pushed by pstef@ when working on improving the
completion for /bin/sh
</pre>
</div>
</content>
</entry>
<entry>
<title>libedit: vendor import snapshot 2020-07-10</title>
<updated>2021-03-22T14:34:14+00:00</updated>
<author>
<name>Baptiste Daroussin</name>
<email>bapt@FreeBSD.org</email>
</author>
<published>2021-03-22T14:34:14+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=f9a159da2a292968cd5c37b56a6c43b6af8c5eed'/>
<id>f9a159da2a292968cd5c37b56a6c43b6af8c5eed</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix arm and aarch64 builds of libedit after r352275</title>
<updated>2019-09-14T21:49:42+00:00</updated>
<author>
<name>Dimitry Andric</name>
<email>dim@FreeBSD.org</email>
</author>
<published>2019-09-14T21:49:42+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=c0f37bf65234c8d3ad1af7d0f8cefbefe2e2f359'/>
<id>c0f37bf65234c8d3ad1af7d0f8cefbefe2e2f359</id>
<content type='text'>
On arm and arm64, where chars are unsigned by default, buildworld dies
with:

--- terminal.o ---
/usr/src/contrib/libedit/terminal.c:569:41: error: comparison of
integers of different signs: 'wint_t' (aka 'int') and 'wchar_t' (aka
'unsigned int') [-Werror,-Wsign-compare]
                                     el-&gt;el_cursor.v][where &amp; 0370] !=
                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
/usr/src/contrib/libedit/terminal.c:659:28: error: comparison of
integers of different signs: 'wint_t' (aka 'int') and 'wchar_t' (aka
'unsigned int') [-Werror,-Wsign-compare]
                                     [el-&gt;el_cursor.h] == MB_FILL_CHAR)
                                     ~~~~~~~~~~~~~~~~~ ^  ~~~~~~~~~~~~

Fix this by making MB_FILL_CHAR a wint_t, so no casting is needed.

Note that in https://reviews.freebsd.org/D21584 this was also proposed
by Yuichiro Naito &lt;naito.yuichiro_gmail.com&gt;.

Reviewed by:	bapt
Subscribers:	naito.yuichiro_gmail.com, ml_vishwin.info
MFC after:	3 weeks
X-MFC-With:	r352275
Differential Revision: https://reviews.freebsd.org/D21657
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
On arm and arm64, where chars are unsigned by default, buildworld dies
with:

--- terminal.o ---
/usr/src/contrib/libedit/terminal.c:569:41: error: comparison of
integers of different signs: 'wint_t' (aka 'int') and 'wchar_t' (aka
'unsigned int') [-Werror,-Wsign-compare]
                                     el-&gt;el_cursor.v][where &amp; 0370] !=
                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
/usr/src/contrib/libedit/terminal.c:659:28: error: comparison of
integers of different signs: 'wint_t' (aka 'int') and 'wchar_t' (aka
'unsigned int') [-Werror,-Wsign-compare]
                                     [el-&gt;el_cursor.h] == MB_FILL_CHAR)
                                     ~~~~~~~~~~~~~~~~~ ^  ~~~~~~~~~~~~

Fix this by making MB_FILL_CHAR a wint_t, so no casting is needed.

Note that in https://reviews.freebsd.org/D21584 this was also proposed
by Yuichiro Naito &lt;naito.yuichiro_gmail.com&gt;.

Reviewed by:	bapt
Subscribers:	naito.yuichiro_gmail.com, ml_vishwin.info
MFC after:	3 weeks
X-MFC-With:	r352275
Differential Revision: https://reviews.freebsd.org/D21657
</pre>
</div>
</content>
</entry>
<entry>
<title>Readd _el_fn_sh_complete for backward compatibility</title>
<updated>2019-09-11T07:03:17+00:00</updated>
<author>
<name>Baptiste Daroussin</name>
<email>bapt@FreeBSD.org</email>
</author>
<published>2019-09-11T07:03:17+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=96c81c97e4c0ec5f79873b5f19ad553584e87803'/>
<id>96c81c97e4c0ec5f79873b5f19ad553584e87803</id>
<content type='text'>
This function is not needed anymore, it allows old sh binary to continue
to run and avoid breaking backward compatibility.
Note that is now just calls the regular _el_fn_complete which does a proper
job at quoting.

Discussed with:	jilles
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This function is not needed anymore, it allows old sh binary to continue
to run and avoid breaking backward compatibility.
Note that is now just calls the regular _el_fn_complete which does a proper
job at quoting.

Discussed with:	jilles
</pre>
</div>
</content>
</entry>
</feed>
