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/sysfiles.c
          +++ new/usr/src/cmd/bnu/sysfiles.c
↓ open down ↓ 472 lines elided ↑ open up ↑
 473  473          /* from systems */
 474  474          devreset();
 475  475          if (fsystems == NULL)
 476  476                  if (nextsystems() == FALSE) {
 477  477                          (void) _uu_resetlocale(LC_ALL, prev);
 478  478                          return(FALSE);
 479  479                  }
 480  480  
 481  481          ASSERT(len >= BUFSIZ, "BUFFER TOO SMALL", "getsysline", 0);
 482  482          for(;;) {
 483      -                while (getaline(fsystems, buf) != NULL)
      483 +                while (getaline(fsystems, buf) != 0)
 484  484                      if ((*buf != '#') && (*buf != ' ') &&
 485  485                          (*buf != '\t') && (*buf != '\n')) {
 486  486                          (void) _uu_resetlocale(LC_ALL, prev);
 487  487                          return(TRUE);
 488  488                  }
 489  489                  if (nextsystems() == FALSE) {
 490  490                          (void) _uu_resetlocale(LC_ALL, prev);
 491  491                          return(FALSE);
 492  492                  }
 493  493          }
↓ open down ↓ 282 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX