From: probe Date: Fri, 22 Oct 1993 20:16:26 +0000 (+0000) Subject: We allow for .root instances to be counted as system users; X-Git-Tag: release77~103 X-Git-Url: http://andersk.mit.edu/gitweb/moira.git/commitdiff_plain/c65cba463ce608850f3f2c72b1a5796b47c89e46 We allow for .root instances to be counted as system users; they have id's in the 65536-97536 range. --- diff --git a/afssync/pt_util.c b/afssync/pt_util.c index c9033c2a..bf75b5b4 100644 --- a/afssync/pt_util.c +++ b/afssync/pt_util.c @@ -28,8 +28,8 @@ #include "pterror.h" #define IDHash(x) (abs(x) % HASHSIZE) -#define print_id(x) ( ((flags&DO_SYS)==0 && (abs(x)>32767)) || \ - ((flags&DO_OTR)==0 && (abs(x)<32768))) +#define print_id(x) ( ((flags&DO_SYS)==0 && (x<-32767 || x>97536)) || \ + ((flags&DO_OTR)==0 && (x>-32768 && x<97537))) extern char *optarg; extern int optind;