HAVE_UT_EXIT
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3505 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -1393,6 +1393,7 @@ rmut(void)
|
|||||||
if (utxp) {
|
if (utxp) {
|
||||||
strcpy(utxp->ut_user, "");
|
strcpy(utxp->ut_user, "");
|
||||||
utxp->ut_type = DEAD_PROCESS;
|
utxp->ut_type = DEAD_PROCESS;
|
||||||
|
#ifdef HAVE_UT_EXIT
|
||||||
#ifdef _STRUCT___EXIT_STATUS
|
#ifdef _STRUCT___EXIT_STATUS
|
||||||
utxp->ut_exit.__e_termination = 0;
|
utxp->ut_exit.__e_termination = 0;
|
||||||
utxp->ut_exit.__e_exit = 0;
|
utxp->ut_exit.__e_exit = 0;
|
||||||
@@ -1402,6 +1403,7 @@ rmut(void)
|
|||||||
#else
|
#else
|
||||||
utxp->ut_exit.e_termination = 0;
|
utxp->ut_exit.e_termination = 0;
|
||||||
utxp->ut_exit.e_exit = 0;
|
utxp->ut_exit.e_exit = 0;
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
gettimeofday(&utxp->ut_tv, NULL);
|
gettimeofday(&utxp->ut_tv, NULL);
|
||||||
pututxline(utxp);
|
pututxline(utxp);
|
||||||
|
Reference in New Issue
Block a user