Print this page
5218 posix definition of NULL
correct unistd.h and iso/stddef_iso.h
update gate source affected

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/bnu/gio.c
          +++ new/usr/src/cmd/bnu/gio.c
↓ open down ↓ 64 lines elided ↑ open up ↑
  65   65  int
  66   66  gturnon()
  67   67  {
  68   68          struct pack *pkopen();
  69   69          if (setjmp(Gfailbuf))
  70   70                  return(FAIL);
  71   71          gsig=signal(SIGALRM, galarm);
  72   72          if (Debug > 4)
  73   73                  pkdebug = 1;
  74   74          Pk = pkopen(Ifn, Ofn);
  75      -        if ((int) Pk == NULL)
       75 +        if ( Pk == NULL)
  76   76                  return(FAIL);
  77   77          return(0);
  78   78  }
  79   79  
  80   80  int
  81   81  gturnoff()
  82   82  {
  83   83          if(setjmp(Gfailbuf))
  84   84                  return(FAIL);
  85   85          pkclose();
↓ open down ↓ 139 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX