1) Fix -E (no escape char) mode, has error with 0xFF char
[unix-history] / usr.bin / find / function.c
index 14e5d5b..c56634f 100644 (file)
@@ -673,7 +673,7 @@ f_nogroup(plan, entry)
 {
        char *group_from_gid();
 
 {
        char *group_from_gid();
 
-       return (group_from_gid(entry->fts_statp->st_gid, 1) ? 1 : 0);
+       return (group_from_gid(entry->fts_statp->st_gid, 1) ? 0 : 1);
 }
  
 PLAN *
 }
  
 PLAN *
@@ -697,7 +697,7 @@ f_nouser(plan, entry)
 {
        char *user_from_uid();
 
 {
        char *user_from_uid();
 
-       return (user_from_uid(entry->fts_statp->st_uid, 1) ? 1 : 0);
+       return (user_from_uid(entry->fts_statp->st_uid, 1) ? 0 : 1);
 }
  
 PLAN *
 }
  
 PLAN *