mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-02 08:42:48 +00:00
Fix a merge glitch - put our FREEBSD_NATIVE hack back in the original
place. The author saw fit to reindent the code which messed this up.
This commit is contained in:
parent
82d9ae4e32
commit
b589b6f200
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=62455
@ -103,16 +103,17 @@ tgetent(char *bufp GCC_UNUSED, const char *name)
|
||||
/* LINT_PREPRO
|
||||
#endif*/
|
||||
|
||||
}
|
||||
|
||||
#ifdef FREEBSD_NATIVE
|
||||
/*
|
||||
* This is a REALLY UGLY hack. Basically, if we originate with
|
||||
* a termcap source, try and copy it out.
|
||||
*/
|
||||
if (bufp && _nc_termcap[0])
|
||||
strncpy(bufp, _nc_termcap, 1024);
|
||||
/*
|
||||
* This is a REALLY UGLY hack. Basically, if we originate with
|
||||
* a termcap source, try and copy it out.
|
||||
*/
|
||||
if (bufp && _nc_termcap[0])
|
||||
strncpy(bufp, _nc_termcap, 1024);
|
||||
#endif
|
||||
|
||||
}
|
||||
returnCode(errcode);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user