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

Diff for /src/usr.bin/sectok/Attic/cyberflex.c between version 1.14 and 1.15

version 1.14, 2001/07/26 21:05:15 version 1.15, 2001/07/26 22:12:56
Line 384 
Line 384 
             continue;              continue;
   
         /* Format name */          /* Format name */
         sectok_fmt_fid(fname, f0, f1);          sectok_fmt_fid(fname, &buf[4]);
   
         /* Format size */          /* Format size */
         fsize = (buf[2] << 8) | buf[3];          fsize = (buf[2] << 8) | buf[3];
Line 555 
Line 555 
     int cont_size = 1152, inst_size = 1024;      int cont_size = 1152, inst_size = 1024;
     des_cblock tmp;      des_cblock tmp;
     des_key_schedule schedule;      des_key_schedule schedule;
       static unsigned char acl[] = {0x5, 0, 0, 0xff, 0, 0, 0, 0};
   
     optind = optreset = 1;      optind = optreset = 1;
   
Line 626 
Line 627 
     if (!aut0_vfyd)      if (!aut0_vfyd)
         jaut(0, NULL);          jaut(0, NULL);
   
     sectok_fmt_fid(progname, progID[0], progID[1]);      sectok_fmt_fid(progname, progID);
     sectok_fmt_fid(contname, contID[0], contID[1]);      sectok_fmt_fid(contname, contID);
   
     if (vflag) {      if (vflag) {
         printf ("applet file             \"%s\"\n", filename);          printf ("applet file             \"%s\"\n", filename);
Line 697 
Line 698 
         return -1;          return -1;
   
     /* create program file */      /* create program file */
     if (cyberflex_create_file(fd, cla, progID, size, 3, &sw) < 0) {      if (cyberflex_create_file_acl(fd, cla, progID, size, 3, acl, &sw) < 0) {
         /* error */          /* error */
         printf("can't create %s: %s\n", progname, sectok_get_sw(sw));          printf("can't create %s: %s\n", progname, sectok_get_sw(sw));
         return -1;          return -1;
Line 799 
Line 800 
     if (!aut0_vfyd)      if (!aut0_vfyd)
         jaut(0, NULL);          jaut(0, NULL);
   
     sectok_fmt_fid(progname, progID[0], progID[1]);      sectok_fmt_fid(progname, progID);
     sectok_fmt_fid(contname, contID[0], contID[1]);      sectok_fmt_fid(contname, contID);
   
     if (vflag) {      if (vflag) {
         printf ("program ID              %s\n", progname);          printf ("program ID              %s\n", progname);

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15