diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2015-01-09 07:40:56 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2015-01-09 07:40:56 +0000 |
commit | c1a66a97f95d2f4366348b75e2c7676d11048666 (patch) | |
tree | d33ef1b987208879e7fa795c6b8d9fb885b151a9 /lib/libedit/refresh.h | |
parent | ec680ff8a8ad7b7018eaf69ad934178e6464e61e (diff) | |
download | src-c1a66a97f95d2f4366348b75e2c7676d11048666.tar.gz src-c1a66a97f95d2f4366348b75e2c7676d11048666.zip |
Synchronize libedit with NetBSD and activate UTF-8 support [1]
Differences with NetBSD
Reapply our local patches on top of it
Fix Unicode environement detection
Fix reading a line in unicode environment.
It allows /bin/sh to works in UTF-8 envs
Differential Revision: https://reviews.freebsd.org/D1455
Reviewed by: jilles, pfg
Obtained from: NetBSD [1]
MFC after: 1 month
Relnotes: yes
Notes
Notes:
svn path=/head/; revision=276881
Diffstat (limited to 'lib/libedit/refresh.h')
-rw-r--r-- | lib/libedit/refresh.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libedit/refresh.h b/lib/libedit/refresh.h index e44ef9c5f274..71a15875b0b9 100644 --- a/lib/libedit/refresh.h +++ b/lib/libedit/refresh.h @@ -1,3 +1,5 @@ +/* $NetBSD: refresh.h,v 1.6 2009/12/30 22:37:40 christos Exp $ */ + /*- * Copyright (c) 1992, 1993 * The Regents of the University of California. All rights reserved. @@ -30,7 +32,6 @@ * SUCH DAMAGE. * * @(#)refresh.h 8.1 (Berkeley) 6/4/93 - * $NetBSD: refresh.h,v 1.5 2003/08/07 16:44:33 agc Exp $ * $FreeBSD$ */ @@ -48,7 +49,7 @@ typedef struct { int r_newcv; } el_refresh_t; -protected void re_putc(EditLine *, int, int); +protected void re_putc(EditLine *, Int, int); protected void re_clear_lines(EditLine *); protected void re_clear_display(EditLine *); protected void re_refresh(EditLine *); |