File:  [cvs.NetBSD.org] / pkgsrc / editors / ne / patches / patch-src_unixhdr.h
Revision 1.1: download - view: text, annotated - select for diffs
Sat Aug 7 12:20:17 2021 UTC (3 years, 4 months ago) by prlw1
Branches: MAIN
CVS tags: pkgsrc-2024Q3-base, pkgsrc-2024Q3, pkgsrc-2024Q2-base, pkgsrc-2024Q2, pkgsrc-2024Q1-base, pkgsrc-2024Q1, pkgsrc-2023Q4-base, pkgsrc-2023Q4, pkgsrc-2023Q3-base, pkgsrc-2023Q3, pkgsrc-2023Q2-base, pkgsrc-2023Q2, pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3, pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1, pkgsrc-2021Q4-base, pkgsrc-2021Q4, pkgsrc-2021Q3-base, pkgsrc-2021Q3, HEAD
Update ne to 3.18

Version 3.18 04-May-2021
------------------------

1. Allow mark textblock and mark rectangle keystrokes in readonly mode (the
corresponding commands and the "copy" keystroke were already allowed; this was
an oversight).

2. Two casts in sysunix.c for the 2nd argument of tgetstr().

3. The buffers for file names were too small for very long file names. They
have been increased in size and put on the stack instead of statics in the
binary.

4. Some obsolete memory-handling code has been tidied up. Use size_t for memory
sizes. NE now frees all its memory via an atexit() function, but in screen mode
ncurses doesn't free everything (see various online discussions).


Version 3.17 21-October-2018

$NetBSD: patch-src_unixhdr.h,v 1.1 2021/08/07 12:20:17 prlw1 Exp $

There is no configure test for GWINSZ_IN_SYS_IOCTL, and ioctl() is used.

--- src/unixhdr.h.orig	2021-05-04 15:35:21.000000000 +0000
+++ src/unixhdr.h
@@ -29,9 +29,7 @@
   #endif
 #endif
           
-#if defined GWINSZ_IN_SYS_IOCTL && GWINSZ_IN_SYS_IOCTL
 #include <sys/ioctl.h>
-#endif
 
 #ifndef NO_TERM_H
   #ifndef TERM_H

CVSweb <webmaster@jp.NetBSD.org>