Page MenuHomeFreeBSD

[libedit] sync with NetBSD
Needs ReviewPublic

Authored by naito.yuichiro_gmail.com on Fri, Aug 9, 1:18 AM.

Details

Reviewers
jilles
Group Reviewers
manpages
Summary

Upstream (NetBSD) has been fixed many bugs in libedit.
To reduce the difference from upstream,
we import libedit again.

According to NetBSD commit log, following bugs have been fixed.

  • NetBSD bug database

PR/54415
PR/54399
PR/54400
PR/54329
PR/54281
PR/54280
PR/54279
PR/54131
PR/52359
PR/54117
PR/54067
PR/53983
PR/53981
PR/53856
PR/53803

Major souce code style changes:

  • omit WIDECHAR definition. It became default.
  • changed wide charactor type from 'Char' to 'wchar_t'.
  • changed 'private' keyword to 'static'.
  • changed 'protected' keyword to 'libedit_private'.
  • 'public' keyword has been omitted.

New manual page:

  • editline.7 has been added.

Function changes:

  • _el_fn_sh_complete() has been deleted.
  • completion_matches() has changed its parameter.
  • rl_reset_terminal() has changed return type.
  • rl_stuff_char() has changed return type.

So we need to bump up library version from 7 to 8.

Diff Detail

Repository
rS FreeBSD src repository
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

bcr accepted this revision as: manpages.Sat, Aug 10, 2:12 PM
bcr added a subscriber: bcr.

OK from manpages.