home *** CD-ROM | disk | FTP | other *** search
/ minnie.tuhs.org / unixen.tar / unixen / PDP-11 / Bug_Fixes / Net.v7bugs / 0035 < prev    next >
Encoding:
Text File  |  1981-10-27  |  1.3 KB  |  28 lines

  1. Acbosgd.125
  2. net.v7bugs
  3. utzoo!decvax!ucbvax!mhtsa!ihnss!cbosg!cbosgd!mark
  4. Fri Oct 23 12:48:01 1981
  5. serious uucp bug
  6. I have tracked down a bug in uucp which causes one site to get stuff
  7. that was supposed to go to another.  This only happens if you talk to
  8. two different sites, one of whose names is a prefix of the other.
  9. (Thus, cbosg and cbosgd, or duke and duke34.)  If your (third) site
  10. spools something to, say, cbosgd, and the call doesn't go through,
  11. then later, if you happen to be talking to cbosg and the job is still
  12. spooled, cbosg will ask you "got anything for me?" and your system will
  13. say "Aha!  I see something that starts with cbosg - that must be for you@
  14. and send it.  I would appreciate it if anyone who talks to both cbosg
  15. and cbosg[bcd] would fix this.  (This includes research, mhtsa, chico,
  16. harpo, ucbvax.)  Likewise, if your L.sys contains two names such that
  17. one is a prefix of the other, you probably want to fix it.
  18.  
  19. The bug is in anlwrk.c, in routine bldflst.  (If you have an old uucp,
  20. e.g. anything outside Bell Labs, the routine is gtwrk.)  A few lines into
  21. the code you see
  22.     if (!prefix(pre, filename))
  23. which should be changed to
  24.     if (!prefix(pre, filename) || strlen(filename)-strlen(pre) != 5)
  25.  
  26. This bug seems to be fixed in UNIX 4.0 (anlwrk 4.0 11/11/80) but not in
  27. earlier versions.
  28.