pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/54519: jove crashes on time update [patch included]
>Number: 54519
>Category: pkg
>Synopsis: jove crashes on redraw or time update
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Sep 01 21:35:00 +0000 2019
>Originator: Greywolf
>Release: NetBSD 9.99.10 sources from 2019-08-31
>Organization:
Star Wolf Innovations
>Environment:
-= ldd =-
/usr/local/bin/jove:
-lterminfo.1 => /usr/lib/libterminfo.so.1
-lc.12 => /usr/lib/libc.so.12
-= ident =-
/usr/local/bin/jove:
$NetBSD: crt0.S,v 1.4 2018/11/26 17:37:46 joerg Exp $
$NetBSD: crt0-common.c,v 1.23 2018/12/28 20:12:35 christos Exp $
$NetBSD: crti.S,v 1.1 2010/08/07 18:01:35 joerg Exp $
$NetBSD: crtbegin.S,v 1.2 2010/11/30 18:37:59 joerg Exp $
$NetBSD: crtend.S,v 1.1 2010/08/07 18:01:34 joerg Exp $
$NetBSD: crtn.S,v 1.1 2010/08/07 18:01:35 joerg Exp $
System: NetBSD eddie.starwolf.com 9.99.10 NetBSD 9.99.10 (GENERIC) #0: Sat Aug 31 15:01:01 PDT 2019 greywolf%eddie.starwolf.com@localhost:/usr/src/build/arch/amd64/obj/sys/arch/amd64/compile/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:
jove crashes with EINVAL/SIGSEGV upon any update to the time in the status line.
>How-To-Repeat:
build and install pkgsrc/editors/jove.
-> NOTE WARNING ABOUT <time.h> <-
execute jove, with or without a filename.
press ^L [redraw] or wait about 30 seconds or so.
Watch jove crash.
>Fix:
Glad you asked :)
--- jove.h.orig 2002-03-20 13:49:38.000000000 -0800
+++ jove.h 2019-09-01 11:42:10.803933963 -0700
@@ -18,8 +18,8 @@
# include <sys/types.h>
#else
# include <types.h>
-# include <time.h> /* for time_t */
#endif
+# include <time.h> /* for time_t */
/* proto: macro to allow us to prototype any function declaration
* without upsetting old compilers.
Home |
Main Index |
Thread Index |
Old Index