mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-22 16:44:32 +01:00
Bring in the fix for the trace/_nc_trace issue, without breaking the
vendor branching. The author has fixed this also so we can do this safely.
This commit is contained in:
parent
1759abf3ae
commit
6b9085fd58
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/vendor/ncurses/dist/; revision=60867
@ -1313,6 +1313,7 @@ extern char *_tracechar(const unsigned char);
|
|||||||
extern char *_tracechtype(chtype);
|
extern char *_tracechtype(chtype);
|
||||||
extern char *_tracechtype2(int, chtype);
|
extern char *_tracechtype2(int, chtype);
|
||||||
extern char *_tracemouse(const MEVENT *);
|
extern char *_tracemouse(const MEVENT *);
|
||||||
|
#define trace _nc_trace
|
||||||
extern void trace(const unsigned int);
|
extern void trace(const unsigned int);
|
||||||
|
|
||||||
/* trace masks */
|
/* trace masks */
|
||||||
|
@ -54,7 +54,7 @@ long _nc_outchars;
|
|||||||
static FILE * tracefp; /* default to writing to stderr */
|
static FILE * tracefp; /* default to writing to stderr */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
void trace(const unsigned int tracelevel GCC_UNUSED)
|
void _nc_trace(const unsigned int tracelevel GCC_UNUSED)
|
||||||
{
|
{
|
||||||
#ifdef TRACE
|
#ifdef TRACE
|
||||||
static bool been_here = FALSE;
|
static bool been_here = FALSE;
|
||||||
|
Loading…
Reference in New Issue
Block a user