pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/51345: editors/ex-20040103 dumps core on port-sparc64
The following reply was made to PR pkg/51345; it has been noted by GNATS.
From: Martin Husemann <martin%duskware.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: pkg/51345: editors/ex-20040103 dumps core on port-sparc64
Date: Tue, 19 Jul 2016 09:32:58 +0200
The issue is the declaration of "ospeed". In ex.h it is declared as:
#ifdef POSIX_1
extern speed_t ospeed; /* Output speed (from gtty) */
#else
extern short ospeed; /* Output speed (from gtty) */
#endif
but NetBSD wants it as extern short ospeed;
So alignment mismatches, and we crash.
I don't know if the ifdef is correct, so this might be a lib bug in NetBSD
as well.
Using the second definition instead makes ex work.
Martin
Home |
Main Index |
Thread Index |
Old Index