#%*&*@#(@ sun

This commit is contained in:
Russ Cox
2006-05-21 17:02:05 +00:00
parent ee4955c879
commit 1125f094ce
29 changed files with 563 additions and 44 deletions

View File

@@ -17,7 +17,7 @@ typedef struct AuthRpc AuthRpc;
enum
{
MAXCHLEN= 256, /* max challenge length */
MAXNAMELEN= 256, /* maximum name length */
AMAXNAMELEN= 256, /* maximum name length */
MD5LEN= 16,
ARok = 0, /* rpc return values */
@@ -63,7 +63,7 @@ struct Chalstate
/* for implementation only */
int afd; /* to factotum */
AuthRpc *rpc; /* to factotum */
char userbuf[MAXNAMELEN]; /* temp space if needed */
char userbuf[AMAXNAMELEN]; /* temp space if needed */
int userinchal; /* user was sent to obtain challenge */
};

View File

@@ -1,4 +1,4 @@
#if defined(linux) || defined(IRIX) || defined(SOLARIS) || defined(OSF1) || defined(__FreeBSD__) || defined(__APPLE__) || defined(__NetBSD__)
#if defined(linux) || defined(IRIX) || defined(SOLARIS) || defined(OSF1) || defined(__FreeBSD__) || defined(__APPLE__) || defined(__NetBSD__) || defined(__sun) || defined(sun)
# include "unix.h"
# ifdef __APPLE__
# define panic dt_panic