home *** CD-ROM | disk | FTP | other *** search
/ minnie.tuhs.org / unixen.tar / unixen / PDP-11 / Bug_Fixes / Net.v7bugs / 0006 < prev    next >
Encoding:
Text File  |  1981-05-28  |  522 b   |  20 lines

  1. Aduke.473
  2. NET.v7bugs
  3. utzoo!duke!swd
  4. Thu Jul 10 10:42:51 1980
  5. mkconf bug
  6. Some time ago a bug was reported in scanf relating to
  7. scanning the format string "%d%c".  (This bug is fixed
  8. in the duke version of stdio.)
  9. It seems that mkconf.c REQUIRES this bug in order to work.
  10. Thus we suggest the following fix to mkconf.c:
  11.  
  12. diff mkconf.c.good mkconf.c.original
  13. 107c107
  14. <     "    trap; br7+10.        / 11/70 parity\n",
  15. ---
  16. >     "    trap; br7+7.        / 11/70 parity\n",
  17. 739,740d738
  18. <     if (n == 0)
  19. <         n = sscanf(line, "%s%s%ld", keyw, dev, &num);
  20.