simplify loginrec.c. ok tim@
pty name on Linux 2.6.x systems. Patch from jpe at eisenmenger.org.
- (bal) [monitor.c monitor_wrap.c] Second try. Put the zlib.h headers
back and #undef TARGET_OS_MAC instead. (Bug report pending with Apple)
+ - (dtucker) [defines.h loginrec.c] Define UT_LINESIZE if not defined and
+ simplify loginrec.c. ok tim@
20040407
- (dtucker) [session.c] Flush stdout after displaying loginmsg. From
#endif
+#ifndef UT_LINESIZE
+# define UT_LINESIZE 8
+#endif
+
/* I hope that the presence of LASTLOG_FILE is enough to detect this */
#if defined(LASTLOG_FILE) && !defined(DISABLE_LASTLOG)
# define USE_LASTLOG
syslogin_perform_logout(struct logininfo *li)
{
# ifdef HAVE_LOGOUT
-# ifdef UT_LINESIZE
char line[UT_LINESIZE];
-# else
- char line[8];
-# endif
(void)line_stripname(line, li->line, sizeof(line));