CVS commit: src/external/bsd/nvi/dist/regex

2021-05-16 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Mon May 17 04:01:58 UTC 2021 Modified Files: src/external/bsd/nvi/dist/regex: regcomp.c Log Message: Fix search for collating symbols in form of [[.foo.]], as in a similar manner as already done for POSIX character classes by upstrea

CVS commit: src/external/bsd/nvi/usr.bin/nvi

2021-02-25 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Fri Feb 26 02:54:21 UTC 2021 Modified Files: src/external/bsd/nvi/usr.bin/nvi: Makefile Log Message: Misc cleanups: - built-in regex is required only when ${USE_WIDECHAR} == "yes" - -DUSE_WIDECHAR cpp flag should be determined by $

CVS commit: src/external/bsd/nvi/usr.bin/nvi

2021-02-25 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Feb 26 00:41:56 UTC 2021 Modified Files: src/external/bsd/nvi/usr.bin/nvi: Makefile Log Message: Put back local regex (thanks Rin) To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 src/external/bsd/nvi/usr.bin/

CVS commit: src/external/bsd/nvi/usr.bin/nvi

2021-02-25 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Feb 25 21:56:35 UTC 2021 Modified Files: src/external/bsd/nvi/usr.bin/nvi: Makefile Log Message: we don't need the extra copy wide-regex anymore. To generate a diff of this commit: cvs rdiff -u -r1.22 -r1.23 src/external/b

CVS commit: src/external/bsd/nvi/dist/vi

2020-07-07 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Tue Jul 7 10:58:43 UTC 2020 Modified Files: src/external/bsd/nvi/dist/vi: v_txt.c Log Message: PR bin/55468 Fix crash due to out-of-bounds access with Ctrl-W. PR is only for nottywerase, but also fix ttywerase case, taken from Ope

CVS commit: src/external/bsd/nvi/usr.bin/nvi

2020-04-12 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sun Apr 12 17:28:57 UTC 2020 Modified Files: src/external/bsd/nvi/usr.bin/nvi: Makefile Log Message: Remove no longer needed workaround for PR/54656. To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21 src/external/bsd

CVS commit: src/external/bsd/nvi/dist/docs/vi.man

2018-09-14 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Fri Sep 14 13:19:15 UTC 2018 Modified Files: src/external/bsd/nvi/dist/docs/vi.man: vi.1 Log Message: Fix description for -r option reflecting the actual behavior. Suggested by christos on current-users. To generate a diff of this

CVS commit: src/external/bsd/nvi/dist/ex

2018-08-07 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Tue Aug 7 11:41:23 UTC 2018 Modified Files: src/external/bsd/nvi/dist/ex: ex_script.c Log Message: Use wp and wlen instead of ip and ilen for consistency. No binary changes intended. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/external/bsd/nvi/dist/common

2018-08-07 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Tue Aug 7 11:25:45 UTC 2018 Modified Files: src/external/bsd/nvi/dist/common: vi_db1.c Log Message: Remove unnecessary buffer allocation and memcpy. Partially taken from nvi2. To generate a diff of this commit: cvs rdiff -u -r1.9

CVS commit: src/external/bsd/nvi

2018-08-07 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Tue Aug 7 08:05:48 UTC 2018 Modified Files: src/external/bsd/nvi/dist/cl: cl_funcs.c cl_main.c src/external/bsd/nvi/dist/common: gs.h options.c options_f.c src/external/bsd/nvi/dist/docs/vi.man: vi.1 src/exter

CVS commit: src/external/bsd/nvi/dist/common

2018-07-31 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Wed Aug 1 02:48:47 UTC 2018 Modified Files: src/external/bsd/nvi/dist/common: conv.h Log Message: As described in comments, we treat non-spacing chars as single-width ones. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1

CVS commit: src/external/bsd/nvi/dist/common

2018-06-25 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Mon Jun 25 18:36:36 UTC 2018 Modified Files: src/external/bsd/nvi/dist/common: log1.c Log Message: Include for offsetof(3) To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/external/bsd/nvi/dist/common/log1.c Plea

CVS commit: src/external/bsd/nvi

2018-06-25 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Mon Jun 25 18:00:34 UTC 2018 Modified Files: src/external/bsd/nvi: Makefile.inc Log Message: Specify SANITIZER_RENAME_SYMBOL in nvi Rename local versions of regcomp regerror regexec regfree in order to remove symbol clash with lib

CVS commit: src/external/bsd/nvi/dist/common

2018-06-25 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Mon Jun 25 17:42:34 UTC 2018 Modified Files: src/external/bsd/nvi/dist/common: log1.c Log Message: Avoid unportable offsetof(3) calculation in nvi in log1.c Detected with MKSANITIZER/UBSan. To generate a diff of this commit: cvs

CVS commit: src/external/bsd/nvi/dist/common

2018-06-16 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sat Jun 16 21:00:12 UTC 2018 Modified Files: src/external/bsd/nvi/dist/common: log.c Log Message: Correct previous change to CHAR_T_OFFSET The intended operation is offsetof(), not alignof(). Noted by To generate a diff of thi

CVS commit: src/external/bsd/nvi/dist/common

2018-06-16 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sat Jun 16 18:54:52 UTC 2018 Modified Files: src/external/bsd/nvi/dist/common: log.c Log Message: Do not cause Undefined Behavior in vi(1) Replace unportable manual calculation of alignof() that causes UB, with a GCC extension __a

CVS commit: src/external/bsd/nvi/dist

2018-06-03 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Sun Jun 3 08:08:37 UTC 2018 Modified Files: src/external/bsd/nvi/dist/common: conv.h src/external/bsd/nvi/dist/vi: vs_line.c vs_relative.c Log Message: Make sure that every wide char occupies at least one display width: -

CVS commit: src/external/bsd/nvi/dist/vi

2018-04-10 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Tue Apr 10 12:44:41 UTC 2018 Modified Files: src/external/bsd/nvi/dist/vi: vs_refresh.c Log Message: PR bin/53164: Comment why we abort here. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/external/bsd/nvi/dist/vi

CVS commit: src/external/bsd/nvi/dist/cl

2017-12-06 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Wed Dec 6 17:16:14 UTC 2017 Modified Files: src/external/bsd/nvi/dist/cl: cl_main.c Log Message: When testing to see if a signal handler was previously installed in h_winch, test sa_handler against all SIG_* actions defined in

CVS commit: src/external/bsd/nvi/dist/ex

2017-12-01 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Fri Dec 1 20:01:31 UTC 2017 Modified Files: src/external/bsd/nvi/dist/ex: ex_usage.c Log Message: Compare ap->len wide chars, not ap->len bytes. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/external/bsd/nvi/dist

CVS commit: src/external/bsd/nvi/dist/ex

2017-12-01 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Fri Dec 1 18:39:49 UTC 2017 Modified Files: src/external/bsd/nvi/dist/ex: ex_print.c Log Message: Check format strings for ex_printf. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/external/bsd/nvi/dist/ex/ex_prin

CVS commit: src/external/bsd/nvi/dist/common

2017-12-01 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Fri Dec 1 18:35:58 UTC 2017 Modified Files: src/external/bsd/nvi/dist/common: common.h Log Message: Remove ex_printf duplicate with ex_extern.h. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/external/bsd/nvi/dist

CVS commit: src/external/bsd/nvi/dist/common

2017-11-22 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Wed Nov 22 16:17:30 UTC 2017 Modified Files: src/external/bsd/nvi/dist/common: search.c Log Message: Fix missing of "search wrapped" message when searching from the last char of file, taken from nvi2: https://github.com/lichray/nvi2/

CVS commit: src/external/bsd/nvi/dist/ex

2017-11-22 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Wed Nov 22 13:13:18 UTC 2017 Modified Files: src/external/bsd/nvi/dist/ex: ex.c Log Message: Fix backward memcpy in :e +cmd, taken from nvi2 (and OpenBSD): https://github.com/lichray/nvi2/commit/7ab02500a2d89bc45db383cb3dcd10f3c4301a

CVS commit: src/external/bsd/nvi/dist

2017-11-22 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Wed Nov 22 12:47:30 UTC 2017 Modified Files: src/external/bsd/nvi/dist/common: delete.c src/external/bsd/nvi/dist/vi: v_sentence.c Log Message: Fix segmentation fault in corner case of backward sentence deletion, taken from n

CVS commit: src/external/bsd/nvi/dist/ex

2017-11-20 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Tue Nov 21 07:48:07 UTC 2017 Modified Files: src/external/bsd/nvi/dist/ex: ex_join.c Log Message: Use ISMULTIWIDTH() macro. No binary changes. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/external/bsd/nvi/dist/ex

CVS commit: src/external/bsd/nvi/dist

2017-11-20 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Tue Nov 21 07:43:47 UTC 2017 Modified Files: src/external/bsd/nvi/dist/common: key.h src/external/bsd/nvi/dist/vi: v_word.c Log Message: A boundary between single- and multi-width chars is regarded as a word boundary. Suggest

CVS commit: src/external/bsd/nvi/dist/vi

2017-11-20 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Tue Nov 21 06:35:22 UTC 2017 Modified Files: src/external/bsd/nvi/dist/vi: v_txt.c Log Message: Fix screen corruption by rewriting only a part of a multi-width character. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5

CVS commit: src/external/bsd/nvi/usr.bin/nvi

2017-11-20 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Tue Nov 21 02:47:14 UTC 2017 Modified Files: src/external/bsd/nvi/usr.bin/nvi: Makefile Log Message: Bump WARNS to 5. Add -Wno-old-style-definition to regex.c for gcc. To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 s

CVS commit: src/external/bsd/nvi/usr.bin/nvi

2017-11-20 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Tue Nov 21 02:45:03 UTC 2017 Modified Files: src/external/bsd/nvi/usr.bin/nvi: Makefile Log Message: Enable -Wuninitialized -Wformat-security for clang. To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/external/bsd

CVS commit: src/external/bsd/nvi/usr.bin/nvi

2017-11-20 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Tue Nov 21 02:44:13 UTC 2017 Modified Files: src/external/bsd/nvi/usr.bin/nvi: Makefile Log Message: We always need -Wno-format-nonliteral for v_increment.c whether compiler is gcc or clang. To generate a diff of this commit: cvs r

CVS commit: src/external/bsd/nvi/usr.bin/nvi

2017-11-20 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Tue Nov 21 02:42:08 UTC 2017 Modified Files: src/external/bsd/nvi/usr.bin/nvi: Makefile Log Message: Cosmetic changes. No functional changes. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/external/bsd/nvi/usr.bi

CVS commit: src/external/bsd/nvi/dist/common

2017-11-20 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Tue Nov 21 02:36:45 UTC 2017 Modified Files: src/external/bsd/nvi/dist/common: conv.c Log Message: Enable to compile & run without USE_ICONV. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/external/bsd/nvi/dist/co

CVS commit: src/external/bsd/nvi/dist/common

2017-11-20 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Tue Nov 21 02:11:44 UTC 2017 Modified Files: src/external/bsd/nvi/dist/common: conv.c Log Message: Fix resource leaks due to missing of iconv_close(3). To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/external/bsd/nv

CVS commit: src/external/bsd/nvi/dist/common

2017-11-20 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Tue Nov 21 02:04:39 UTC 2017 Modified Files: src/external/bsd/nvi/dist/common: mem.h Log Message: Fix -Wsign-compare issue for BINC_GOTO in a similar manner to BINC_RET. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 s

CVS commit: src/external/bsd/nvi/dist/common

2017-11-20 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Tue Nov 21 02:00:29 UTC 2017 Modified Files: src/external/bsd/nvi/dist/common: conv.c Log Message: Fix use of uninitialized variable, found by clang. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/external/bsd/nvi/

CVS commit: src/external/bsd/nvi/dist/vi

2017-11-14 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Tue Nov 14 12:20:56 UTC 2017 Modified Files: src/external/bsd/nvi/dist/vi: vs_refresh.c Log Message: Fix cursor movement for the case of USE_WIDECHAR != "yes", where the argument of INTISWIDE() is not evaluated. To generate a diff

CVS commit: src/external/bsd/nvi/dist/common

2017-11-12 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Mon Nov 13 04:21:55 UTC 2017 Modified Files: src/external/bsd/nvi/dist/common: conv.c Log Message: Protect iconv stuffs by USE_WIDECHAR in addition to USE_ICONV. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/exter

CVS commit: src/external/bsd/nvi/usr.bin/nvi

2017-11-12 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Mon Nov 13 04:09:42 UTC 2017 Modified Files: src/external/bsd/nvi/usr.bin/nvi: Makefile Log Message: Sorry, remove illegal indents. Real fix for build with USE_WIDECHAR != "yes". To generate a diff of this commit: cvs rdiff -u -r1.

CVS commit: src/external/bsd/nvi/usr.bin/nvi

2017-11-12 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Mon Nov 13 02:33:13 UTC 2017 Modified Files: src/external/bsd/nvi/usr.bin/nvi: Makefile Log Message: - Add -Wno-unused and -Wno-unsequenced for gcc and clang, respectively. This is because encoding conversion macros yield such like

CVS commit: src/external/bsd/nvi

2017-11-12 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Mon Nov 13 01:51:47 UTC 2017 Modified Files: src/external/bsd/nvi/dist/cl: cl_funcs.c src/external/bsd/nvi/usr.bin/nvi: Makefile Log Message: Use mvwchgat(3), which is not a macro in general (and in our case). To generate a

CVS commit: src/external/bsd/nvi/dist

2017-11-12 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Mon Nov 13 01:40:37 UTC 2017 Modified Files: src/external/bsd/nvi/dist/common: cut.h src/external/bsd/nvi/dist/ex: ex.c Log Message: Make sure to cast arguments of ISFOO and TOFOO macros into UCHAR_T. To generate a diff of

CVS commit: src/external/bsd/nvi/dist/cl

2017-11-12 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Mon Nov 13 01:37:48 UTC 2017 Modified Files: src/external/bsd/nvi/dist/cl: cl_funcs.c Log Message: Use ISBLANK macro instead of isblank(3). To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/external/bsd/nvi/dist/cl/cl

CVS commit: src/external/bsd/nvi/dist/common

2017-11-12 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Mon Nov 13 01:34:59 UTC 2017 Modified Files: src/external/bsd/nvi/dist/common: multibyte.h Log Message: Remove duplicate definition for ISUPPER. No binary changes. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/ext

CVS commit: src/external/bsd/nvi/dist/regex

2017-11-12 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Nov 12 16:33:31 UTC 2017 Modified Files: src/external/bsd/nvi/dist/regex: regcomp.c Log Message: PR/52671: Ralph Geier, return the wide character when changing case (because it could be wide). To generate a diff of this co

CVS commit: src/external/bsd/nvi/dist/cl

2017-11-12 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Sun Nov 12 15:33:03 UTC 2017 Modified Files: src/external/bsd/nvi/dist/cl: cl_funcs.c Log Message: _POSIX_VDISABLE exceeds CHAR_MAX. We thus need to cast it to CHAR_T for the case where USE_WIDECHAR != "yes", i.e., CHAR_T is char.

CVS commit: src/external/bsd/nvi/dist/ex

2017-11-12 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Sun Nov 12 15:27:53 UTC 2017 Modified Files: src/external/bsd/nvi/dist/ex: ex_print.c Log Message: db_recno_t aka recno_t is uint32_t To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/external/bsd/nvi/dist/ex/ex_print

CVS commit: src/external/bsd/nvi/dist/common

2017-11-12 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Sun Nov 12 15:26:34 UTC 2017 Modified Files: src/external/bsd/nvi/dist/common: util.c Log Message: No need to cast endp in both cases of USE_WIDECHAR == "yes" nor "no". Note that RCHAR_T is intended to use for bundled regex, not for

CVS commit: src/external/bsd/nvi/dist/common

2017-11-12 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Sun Nov 12 15:23:51 UTC 2017 Modified Files: src/external/bsd/nvi/dist/common: put.c Log Message: Fix argument type of put() in common_extern.h To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/external/bsd/nvi/dist/c

CVS commit: src/external/bsd/nvi/dist/ex

2017-11-12 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Sun Nov 12 15:22:09 UTC 2017 Modified Files: src/external/bsd/nvi/dist/ex: ex_cscope.c Log Message: Add missing encoding conversion before printing it. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/external/bsd/nv

CVS commit: src/external/bsd/nvi/dist/common

2017-11-10 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Nov 10 20:01:11 UTC 2017 Modified Files: src/external/bsd/nvi/dist/common: recover.c Log Message: Instead of opening the file and using popen(3), pass the file descriptor to sendmail directory. Idea and code from Todd Miller

CVS commit: src/external/bsd/nvi/dist/common

2017-11-10 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Fri Nov 10 18:08:11 UTC 2017 Modified Files: src/external/bsd/nvi/dist/common: conv.c Log Message: Restore the initial state at the end of line. This matters for stateful encodings like iso-2022-jp. Fix taken from yamt via nvi2. To

CVS commit: src/external/bsd/nvi/dist/common

2017-11-10 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Nov 10 16:35:54 UTC 2017 Modified Files: src/external/bsd/nvi/dist/common: recover.c Log Message: make the checkok test stricter to avoid races, and use O_REGULAR. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.

CVS commit: src/external/bsd/nvi/dist/ex

2017-11-10 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Fri Nov 10 14:53:00 UTC 2017 Modified Files: src/external/bsd/nvi/dist/ex: ex_join.c Log Message: Change the behavior of join command in accordance with nvi-m17n, as proposed on tech-userlevel@; when the last and first chars in joine

CVS commit: src/external/bsd/nvi/dist/vi

2017-11-10 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Fri Nov 10 14:44:13 UTC 2017 Modified Files: src/external/bsd/nvi/dist/vi: vs_line.c vs_refresh.c vs_relative.c Log Message: - Fix cursor position when a multiwidth char does not fit within a line. - Put cursor on the leftmost column

CVS commit: src/external/bsd/nvi/dist

2017-11-10 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Fri Nov 10 14:35:25 UTC 2017 Modified Files: src/external/bsd/nvi/dist/common: vi_db1.c src/external/bsd/nvi/dist/ex: ex.c Log Message: PR bin/52716 fix buffer overrun found by libasan To generate a diff of this commit: cvs

CVS commit: src/external/bsd/nvi/usr.bin/recover

2017-11-09 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Nov 9 15:03:01 UTC 2017 Modified Files: src/external/bsd/nvi/usr.bin/recover: virecover Log Message: Don't get stuck reading named pipes; only try to read plain files in order to send mail. To generate a diff of this comm

CVS commit: src/external/bsd/nvi/usr.bin/nvi

2017-11-05 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Mon Nov 6 03:37:52 UTC 2017 Modified Files: src/external/bsd/nvi/usr.bin/nvi: Makefile Log Message: No need to compile in ip_*.c and ipc_*.c to nvi, although they are necessary for generation of header files. Reduce 5% of binary si

CVS commit: src/external/bsd/nvi

2017-11-05 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Mon Nov 6 03:27:34 UTC 2017 Modified Files: src/external/bsd/nvi/dist/cl: cl_main.c src/external/bsd/nvi/dist/ex: ex_script.c src/external/bsd/nvi/usr.bin/nvi: Makefile Log Message: Introduce HAVE_XXX macros to where

CVS commit: src/external/bsd/nvi/dist/common

2017-11-05 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Mon Nov 6 03:21:13 UTC 2017 Modified Files: src/external/bsd/nvi/dist/common: options.c Log Message: Entries of abbrev[] should be sorted for bsearch(3) to work. Fix the problem that option abbreviation "fe" is neglected. To gener

CVS commit: src/external/bsd/nvi/dist/common

2017-11-05 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Mon Nov 6 03:17:37 UTC 2017 Modified Files: src/external/bsd/nvi/dist/common: options.c Log Message: Fix corruption in numbering of options without GTAGS compile-time option. Now nvi works without GTAGS. To generate a diff of this

CVS commit: src/external/bsd/nvi/dist/cl

2017-11-05 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Mon Nov 6 03:10:26 UTC 2017 Modified Files: src/external/bsd/nvi/dist/cl: cl_main.c Log Message: No need to include ip_extern.h here. No binary changes. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/external/bsd/

CVS commit: src/external/bsd/nvi/dist/cl

2017-11-05 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Mon Nov 6 03:08:41 UTC 2017 Modified Files: src/external/bsd/nvi/dist/cl: cl_bsd.c Log Message: Remove a hack which declares tigetstr(9) in cl_extern.h. No binary changes. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.

CVS commit: src/external/bsd/nvi/dist/common

2017-11-05 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Mon Nov 6 03:03:54 UTC 2017 Modified Files: src/external/bsd/nvi/dist/common: msg.c Log Message: Fix bogus file location in percentage. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/external/bsd/nvi/dist/common/m

CVS commit: src/external/bsd/nvi/dist/common

2017-11-05 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Mon Nov 6 03:02:22 UTC 2017 Modified Files: src/external/bsd/nvi/dist/common: conv.c Log Message: Fix buffer overrun caused by lines longer than CONV_BUFFER_SIZE. Take care of errno == E2BIG case of iconv(3) appropriately. To gene

CVS commit: src/external/bsd/nvi/dist/common

2017-11-04 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Nov 4 14:20:13 UTC 2017 Modified Files: src/external/bsd/nvi/dist/common: recover.c Log Message: Don't use popenve() for portability; forking an extra shell here is not an issue. To generate a diff of this commit: cvs rdi

CVS commit: src/external/bsd/nvi/usr.bin/recover

2017-11-04 Thread Robert Elz
Module Name:src Committed By: kre Date: Sat Nov 4 07:04:01 UTC 2017 Modified Files: src/external/bsd/nvi/usr.bin/recover: virecover Log Message: Put back the tests for "no files matched" (in a different way than they were written previously - but that's just style.) Thi

CVS commit: src/external/bsd/nvi/dist/common

2017-11-03 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Nov 4 06:15:56 UTC 2017 Modified Files: src/external/bsd/nvi/dist/common: recover.c Log Message: oops, accidendally committed an earlier non-working version; fixed. To generate a diff of this commit: cvs rdiff -u -r1.7 -r

CVS commit: src/external/bsd/nvi/dist/common

2017-11-03 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Nov 4 06:12:26 UTC 2017 Modified Files: src/external/bsd/nvi/dist/common: recover.c Log Message: Deal safely with recovery mail files. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/external/bsd/nvi/dist/

CVS commit: src/external/bsd/nvi/usr.bin/recover

2017-11-03 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Nov 4 05:43:18 UTC 2017 Modified Files: src/external/bsd/nvi/usr.bin/recover: virecover Log Message: - don't use command substitution to glob a pattern into a list of filenames; it is less efficient than doing it directly

CVS commit: src/external/bsd/nvi/dist/common

2017-11-03 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Nov 4 03:26:41 UTC 2017 Modified Files: src/external/bsd/nvi/dist/common: recover.c Log Message: be more careful about opening recovery files... in particular deal with people trying to get 'vi -r' stuck using named pipes,

CVS commit: src/external/bsd/nvi/dist

2017-10-29 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Oct 29 15:29:34 UTC 2017 Modified Files: src/external/bsd/nvi/dist/common: multibyte.h src/external/bsd/nvi/dist/regex: regcomp.c Log Message: PR/52671: Ralph Geier: The ignorecase option is not handeled correctly in

CVS commit: src/external/bsd/nvi/dist/vi

2017-10-21 Thread Paul Goyette
Module Name:src Committed By: pgoyette Date: Sun Oct 22 06:26:01 UTC 2017 Modified Files: src/external/bsd/nvi/dist/vi: v_cmd.c Log Message: Remove superfluous space character. >From rjc via https://github.com/NetBSD/src/pull/1 To generate a diff of this commit: cvs rdi

CVS commit: src/external/bsd/nvi/dist/cl

2017-09-01 Thread Michael van Elst
Module Name:src Committed By: mlelstv Date: Fri Sep 1 07:21:01 UTC 2017 Modified Files: src/external/bsd/nvi/dist/cl: cl_main.c cl_screen.c Log Message: When resizing nvi in xterm, a scroll region is set with the old size which garbles the display. The scroll region is s

CVS commit: src/external/bsd/nvi/dist/vi

2017-01-21 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Sun Jan 22 05:11:22 UTC 2017 Modified Files: src/external/bsd/nvi/dist/vi: v_paragraph.c Log Message: Respect coding style of upstream; revert r1.4 and put back parentheses. No binary changes. Pointed out by mrg. To generate a diff

CVS commit: src/external/bsd/nvi

2017-01-21 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Sat Jan 21 22:27:43 UTC 2017 Modified Files: src/external/bsd/nvi: Makefile.inc Log Message: Bump for } command fix in v_paragraph.c r1.5. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/external/bsd/nvi/Makefile.in

CVS commit: src/external/bsd/nvi/dist/vi

2017-01-21 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Sat Jan 21 22:22:28 UTC 2017 Modified Files: src/external/bsd/nvi/dist/vi: v_paragraph.c Log Message: Fix a strange corner case in } command. When } command is executed in the last paragraph including EOF, the original vi (tradition

CVS commit: src/external/bsd/nvi/dist/vi

2017-01-21 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Sat Jan 21 22:06:46 UTC 2017 Modified Files: src/external/bsd/nvi/dist/vi: v_paragraph.c Log Message: KNF; remove parentheses from return's To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/external/bsd/nvi/dist/vi/v_

CVS commit: src/external/bsd/nvi/dist/docs/vi.man

2016-12-26 Thread Abhinav Upadhyay
Module Name:src Committed By: abhinav Date: Tue Dec 27 06:50:03 UTC 2016 Modified Files: src/external/bsd/nvi/dist/docs/vi.man: vi.1 Log Message: Fix the date (setting the date to the same as the date on which this version was imported). Looks like the '%Q%' was supposed

CVS commit: src/external/bsd/nvi/dist/ex

2016-12-19 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Mon Dec 19 17:51:40 UTC 2016 Modified Files: src/external/bsd/nvi/dist/ex: ex_script.c Log Message: improve logic related to sh_prompt: - sscr_insert(): sh_prompt should be compared with t, not p - replace strnstr(3) with memcmp(3) n

CVS commit: src/external/bsd/nvi/dist/docs/vi.man

2016-08-26 Thread David A. Holland
Module Name:src Committed By: dholland Date: Sat Aug 27 03:34:28 UTC 2016 Modified Files: src/external/bsd/nvi/dist/docs/vi.man: vi.1 Log Message: PR 51446 Brad Harder: fix synopsis for :tagprev To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/external/bsd

CVS commit: src/external/bsd/nvi/dist/docs/vi.man

2016-08-26 Thread David A. Holland
Module Name:src Committed By: dholland Date: Sat Aug 27 03:30:49 UTC 2016 Modified Files: src/external/bsd/nvi/dist/docs/vi.man: vi.1 Log Message: Restore the first line of the copyright header, which accidentally got zapped in -r1.2. To generate a diff of this commit: c

CVS commit: src/external/bsd/nvi/dist/ex

2016-03-19 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Mar 17 00:19:36 UTC 2016 Modified Files: src/external/bsd/nvi/dist/ex: ex_map.c Log Message: add default: to appease gcc. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/external/bsd/nvi/dist/ex/ex_map.c P

CVS commit: src/external/bsd/nvi/dist/common

2016-01-07 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Jan 7 14:07:01 UTC 2016 Modified Files: src/external/bsd/nvi/dist/common: key.h Log Message: remove CONST; it is unused from Brad Harder To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/external/bsd/nvi/dis

CVS commit: src/external/bsd/nvi

2015-11-29 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Nov 29 17:09:33 UTC 2015 Modified Files: src/external/bsd/nvi: Makefile.inc src/external/bsd/nvi/dist/ex: ex_script.c Log Message: Fix > 1024 char lines in script. (Rin Okuyama) To generate a diff of this commit: c

CVS commit: src/external/bsd/nvi

2015-11-28 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Nov 28 13:20:03 UTC 2015 Modified Files: src/external/bsd/nvi: Makefile.inc src/external/bsd/nvi/dist/common: vi_db1.c src/external/bsd/nvi/dist/ex: ex_script.c src/external/bsd/nvi/usr.bin/nvi: Makefi

CVS commit: src/external/bsd/nvi

2015-11-25 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Nov 25 20:25:20 UTC 2015 Modified Files: src/external/bsd/nvi: Makefile.inc src/external/bsd/nvi/dist/cl: cl.h cl_main.c cl_screen.c cl_term.c Log Message: PR/50092: Rin Okuyama: Fix memory leaks in vi when resizing.

CVS commit: src/external/bsd/nvi/docs/USD.doc/vi.ref

2015-11-24 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Nov 25 01:08:34 UTC 2015 Modified Files: src/external/bsd/nvi/docs/USD.doc/vi.ref: Makefile vi.ref Log Message: PR/50360: Thomas Klausner: MKREPRO fix To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/externa

CVS commit: src/external/bsd/nvi/usr.bin/nvi

2015-01-22 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Jan 23 03:04:06 UTC 2015 Modified Files: src/external/bsd/nvi/usr.bin/nvi: Makefile Log Message: add QUEUEDEBUG commented out To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/external/bsd/nvi/usr.bin/nvi/Mak

CVS commit: src/external/bsd/nvi/dist/ex

2014-11-27 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Nov 27 20:00:10 UTC 2014 Modified Files: src/external/bsd/nvi/dist/ex: ex_mkexrc.c Log Message: exrc expects 1 argument. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/external/bsd/nvi/dist/ex/ex_mkexrc.c

CVS commit: src/external/bsd/nvi/docs/USD.doc/vi.ref

2014-09-10 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Sep 10 21:44:22 UTC 2014 Modified Files: src/external/bsd/nvi/docs/USD.doc/vi.ref: Makefile ref.so vi.ref Log Message: Fix the index building which got completely broken after the last update. To generate a diff of this co

CVS commit: src/external/bsd/nvi/dist/ex

2014-08-26 Thread Aymeric Vincent
Module Name:src Committed By: aymeric Date: Tue Aug 26 15:19:38 UTC 2014 Modified Files: src/external/bsd/nvi/dist/ex: ex_cscope.c Log Message: missed setting TAG_IS_LINKED in a special case in my previous commit. Bug reported by Brad Harder, thanks! To generate a diff o

CVS commit: src/external/bsd/nvi/dist/ex

2014-08-22 Thread Aymeric Vincent
Module Name:src Committed By: aymeric Date: Fri Aug 22 21:28:20 UTC 2014 Modified Files: src/external/bsd/nvi/dist/ex: ex_cscope.c ex_tag.c tag.h Log Message: In tagq_free(), fix the test checking whether a TAGQ should be removed from its tailq. This required introducing a

CVS commit: src/external/bsd/nvi/usr.bin/nvi

2014-05-23 Thread David A. Holland
Module Name:src Committed By: dholland Date: Fri May 23 19:59:17 UTC 2014 Modified Files: src/external/bsd/nvi/usr.bin/nvi: Makefile Log Message: PR toolchain/48833: Ilia Zykov: nvi build fails if under /common When autogenerating headers from source (yuck) use a more sel

CVS commit: src/external/bsd/nvi/dist/catalog

2014-01-28 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Tue Jan 28 20:43:55 UTC 2014 Modified Files: src/external/bsd/nvi/dist/catalog: dump.c Log Message: One __RCSID is enough. Don't define it when building catalog as tool. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4

CVS commit: src/external/bsd/nvi/dist/regex

2014-01-26 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Jan 26 21:47:00 UTC 2014 Modified Files: src/external/bsd/nvi/dist/regex: regcomp.c regerror.c regexec.c regfree.c Log Message: little manual fixing To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 s

CVS commit: src/external/bsd/nvi

2014-01-26 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Jan 26 21:46:49 UTC 2014 Added Files: src/external/bsd/nvi: addrcsid Log Message: add netbsd rcsids (does not handle the regex files well) To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 src/external/bsd/nvi/addr

CVS commit: src/external/bsd/nvi/dist

2014-01-26 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Jan 26 21:43:45 UTC 2014 Modified Files: src/external/bsd/nvi/dist/catalog: dump.c src/external/bsd/nvi/dist/cl: cl_bsd.c cl_funcs.c cl_main.c cl_read.c cl_screen.c cl_term.c src/external/bsd/nvi/d

CVS commit: src/external/bsd/nvi/dist/regex

2014-01-07 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Jan 7 21:48:12 UTC 2014 Modified Files: src/external/bsd/nvi/dist/regex: engine.c regcomp.c regerror.c regexec.c regfree.c Log Message: remove register To generate a diff of this commit: cvs rdiff -u -r1.2 -r1

CVS commit: src/external/bsd/nvi/dist/common

2014-01-07 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Jan 7 21:46:47 UTC 2014 Modified Files: src/external/bsd/nvi/dist/common: conv.c Log Message: handle unaligned accesses To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/external/bsd/nvi/dist/common/conv.c

  1   2   >