lsh is a shell which resembles command interpreters of PC systems (such as 4-DOS, DR-DOS, FREE-DOS, MS-DOS, OPEN-DOS, N-DOS, PC-DOS, Q-DOS and others, which might be trademarks of their owners and which is hereby acknowledged). Many of these command interpreters are but poor copies of proper unix shells. So you can think of lsh as a poor clone of a poor clone.
16 lines
379 B
Text
16 lines
379 B
Text
$NetBSD: patch-ah,v 1.1.1.1 2004/12/05 16:45:04 bencollver Exp $
|
|
|
|
--- prompt.c.orig Sat Jan 8 09:22:53 2000
|
|
+++ prompt.c
|
|
@@ -45,7 +45,11 @@ printprompt (int drive, char *promtstr,
|
|
{
|
|
case 'W':
|
|
case 'w':
|
|
+#if defined(__NetBSD__)
|
|
+ if (!stat (_PATH_UTMP, &fs))
|
|
+#else
|
|
if (!stat (UTMP_FILE, &fs))
|
|
+#endif
|
|
{
|
|
if (wtmpy < fs.st_mtime)
|
|
{
|