mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-13 11:42:21 +00:00
dtterm: Add libutempter support for utmp/wtmp updates.
This commit is contained in:
parent
ba1c6bf810
commit
5854cd8543
2 changed files with 6 additions and 0 deletions
|
@ -840,7 +840,9 @@ SignalHandler
|
|||
{
|
||||
DebugF('s', 10, fprintf(stderr, ">>SignalHandler() starting\n"));
|
||||
_DtTermPrimPtyCleanup();
|
||||
#ifndef HAS_UTEMPTER_LIBRARY
|
||||
_DtTermPrimUtmpCleanup();
|
||||
#endif
|
||||
_DtTermPrimLogFileCleanup();
|
||||
DebugF('s', 10, fprintf(stderr, ">>SignalHandler() finished\n"));
|
||||
(void) exit(0);
|
||||
|
|
|
@ -18,6 +18,10 @@ DEFINES = $(ARCHITECTURE_DEFINES) -DSUN_TERMINAL_SERVER
|
|||
EXTRA_DEFINES = -DBUILD_HPVUE -DHPVUE
|
||||
#endif /* Build_HpVue */
|
||||
|
||||
#if defined(HasUtempterLibrary) && HasUtempterLibrary
|
||||
EXTRA_DEFINES = -DHAS_UTEMPTER_LIBRARY
|
||||
#endif
|
||||
|
||||
#ifdef SunArchitecture
|
||||
HELPLIB = $(DTSVCLIB) $(TTLIB)
|
||||
DEPHELPLIB = $(DEPDTSVCLIB) $(DEPTTLIB)
|
||||
|
|
Loading…
Reference in a new issue