+Thu Jan 11 12:40:08 1996 Ezra Peisach (epeisach@paris)
+
+ * krsh.c, krlogin.c: (main): Ultrix cc does not support automatic
+ aggregate initiailzation of structures.
+
Thu Jan 11 11:27:04 1996 Ezra Peisach <epeisach@kangaroo.mit.edu>
* krcp.c (error): Convert to use varargs.
#endif
struct passwd *pwd;
struct servent *sp;
- struct servent defaultservent = {0,0,0,0};
+ struct servent defaultservent;
int uid, options = 0;
#ifdef POSIX_SIGNALS
struct sigaction sa;
#endif
int debug_port = 0;
+ memset(&defaultservent, 0, sizeof(struct servent));
if (strrchr(argv[0], '/'))
argv[0] = strrchr(argv[0], '/')+1;
fd_set readfrom, ready;
int one = 1;
struct servent *sp;
- struct servent defaultservent = {0,0,0,0};
+ struct servent defaultservent;
#ifdef POSIX_SIGNALS
sigset_t omask, igmask;
int fflag = 0, Fflag = 0, Aflag = 0;
#endif /* KERBEROS */
int debug_port = 0;
-
+
+ memset(&defaultservent, 0, sizeof(struct servent));
if (strrchr(argv[0], '/'))
argv[0] = strrchr(argv[0], '/')+1;