[BACK]Return to patch-src_unixhdr.h CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / editors / ne / patches

File: [cvs.NetBSD.org] / pkgsrc / editors / ne / patches / patch-src_unixhdr.h (download)

Revision 1.1, Sat Aug 7 12:20:17 2021 UTC (2 years, 6 months ago) by prlw1
Branch: MAIN
CVS Tags: 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