1997-03-03 04:29:48 +00:00
|
|
|
--- su2.c.orig Sun Mar 2 20:17:16 1997
|
|
|
|
+++ su2.c Sun Mar 2 20:21:41 1997
|
|
|
|
@@ -113,9 +113,9 @@
|
1996-12-19 12:10:06 +00:00
|
|
|
#ifndef NOSU2RC
|
|
|
|
char *UsersNameFile = ".su2rc";
|
|
|
|
#endif NOSU2RC
|
|
|
|
-char *SULog = "/usr/adm/sulog";
|
|
|
|
+char *SULog = SU2LOGFILE;
|
|
|
|
|
1997-03-03 04:29:48 +00:00
|
|
|
-char *UtmpFile = "/etc/utmp";
|
|
|
|
+char *UtmpFile = "/var/run/utmp";
|
1996-12-19 12:10:06 +00:00
|
|
|
|
1997-03-03 04:29:48 +00:00
|
|
|
#ifndef PATH
|
|
|
|
# ifdef BSD
|
1996-12-19 12:10:06 +00:00
|
|
|
@@ -182,13 +182,15 @@
|
|
|
|
|
|
|
|
char *malloc ();
|
|
|
|
|
|
|
|
+#if !(defined(BSD) && (BSD >= 199306))
|
|
|
|
#ifdef OSF
|
|
|
|
int setpwent ();
|
|
|
|
-#else
|
|
|
|
+#elseif !(defined(BSD) && (BSD >= 199306))
|
|
|
|
void setpwent ();
|
|
|
|
#endif
|
|
|
|
+#endif
|
|
|
|
|
|
|
|
-#ifndef sgi
|
|
|
|
+#if !defined(sgi) && !(defined(BSD) && (BSD >= 199306))
|
|
|
|
struct passwd *getpwuid ();
|
|
|
|
struct passwd *getpwnam ();
|
|
|
|
void endpwent ();
|
|
|
|
@@ -570,7 +572,7 @@
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
-#ifndef sgi
|
|
|
|
+#if !(defined(sgi) && (defined(BSD) && (BSD >= 199306)))
|
|
|
|
setpwent ();
|
|
|
|
#endif
|
|
|
|
|