[BACK]Return to tcfsflag.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / tcfs

Diff for /src/usr.bin/tcfs/Attic/tcfsflag.c between version 1.1 and 1.2

version 1.1, 2000/06/18 22:07:24 version 1.2, 2000/06/19 01:36:17
Line 35 
Line 35 
         int fd;          int fd;
         tcfs_flags i;          tcfs_flags i;
   
           seteuid(getuid());
           setuid(getuid());
   
         if (argc < 3) {          if (argc < 3) {
                 fprintf (stderr, "tcfsflags {r,x,g} file\n\n");                  fprintf (stderr, "tcfsflags {r,x,g} file\n\n");
                 exit(1);                  exit(1);
Line 66 
Line 69 
                 break;                  break;
         }          }
   
         i = tcfs_setflags(fd,i);          i = tcfs_setflags(fd, i);
         if (i.flag == -1) {          if (i.flag == -1) {
                 fprintf(stderr,"setflags error\n");                  fprintf(stderr, "setflags error\n");
                 exit(1);                  exit(1);
         }          }
         close(fd);          close(fd);

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2