diff --git a/Makefile.in b/Makefile.in index 88c5b314f0..ac1af5f082 100644 --- a/Makefile.in +++ b/Makefile.in @@ -787,6 +787,8 @@ distclean: clean src/pam/Makefile \ src/pinstall/test/Makefile \ src/pinstall/Makefile \ + src/platform/Makefile \ + src/platform/${MKAFS_OSTYPE}/Makefile \ src/procmgmt/Makefile \ src/procmgmt/test/Makefile \ src/ptserver/Makefile \ diff --git a/src/ptserver/ptuser.c b/src/ptserver/ptuser.c index 5c525f7c73..515f685fb2 100644 --- a/src/ptserver/ptuser.c +++ b/src/ptserver/ptuser.c @@ -625,7 +625,6 @@ pr_CheckEntryByName(char *name, afs_int32 *id, char *owner, char *creator) if (*id == ANONYMOUSID) return PRNOENT; code = ubik_PR_ListEntry(pruclient, 0, *id, &aentry); - //code = ubik_PR_ListEntry(pruclient, 0, *id, &aentry); if (code) return code; /* this should be done in one RPC, but I'm lazy. */ diff --git a/src/volser/dumpstuff.c b/src/volser/dumpstuff.c index 053081f7ef..79d460b078 100644 --- a/src/volser/dumpstuff.c +++ b/src/volser/dumpstuff.c @@ -535,11 +535,11 @@ DumpFile(struct iod *iodp, int vnode, FdHandle_t * handleP) afs_sfsize_t size; #ifdef AFS_AIX_ENV #include -#ifdef AFS_LARGEFILE_ENV +#if defined(AFS_AIX52_ENV) && defined(AFS_LARGEFILE_ENV) struct statfs64 tstatfs; -#else /* !AFS_LARGEFILE_ENV */ +#else /* !AFS_AIX52_ENV || !AFS_LARGEFILE_ENV */ struct statfs tstatfs; -#endif /* !AFS_LARGEFILE_ENV */ +#endif /* !AFS_AIX52_ENV || !AFS_LARGEFILE_ENV */ int statfs_code; #endif @@ -555,16 +555,16 @@ DumpFile(struct iod *iodp, int vnode, FdHandle_t * handleP) /* Unfortunately in AIX valuable fields such as st_blksize are * gone from the stat structure. */ -#ifdef AFS_LARGEFILE_ENV +#if defined(AFS_AIX52_ENV) && defined(AFS_LARGEFILE_ENV) statfs_code = fstatfs64(handleP->fd_fd, &tstatfs); -#else /* !AFS_LARGEFILE_ENV */ +#else /* !AFS_AIX52_ENV || !AFS_LARGEFILE_ENV */ statfs_code = fstatfs(handleP->fd_fd, &tstatfs); -#endif /* !AFS_LARGEFILE_ENV */ +#endif /* !AFS_AIX52_ENV || !AFS_LARGEFILE_ENV */ if (statfs_code != 0) { Log("DumpFile: fstatfs returned error code %d on descriptor %d\n", errno, handleP->fd_fd); return VOLSERDUMPERROR; } - howMany = tstatfs.f_bsize; + howMany = (afs_sfsize_t) tstatfs.f_bsize; Log("DumpFile: fstatfs returned block size of %lld; howMany=%lld", tstatfs.f_bsize, howMany); #else howMany = status.st_blksize;