BSD 4_2 development
authorCSRG <csrg@ucbvax.Berkeley.EDU>
Mon, 25 Apr 1983 07:10:06 +0000 (23:10 -0800)
committerCSRG <csrg@ucbvax.Berkeley.EDU>
Mon, 25 Apr 1983 07:10:06 +0000 (23:10 -0800)
Work on file usr/src/new/new/news/uucp/bugfix

Synthesized-from: CSRG/cd1/4.2

usr/src/new/new/news/uucp/bugfix [new file with mode: 0644]

diff --git a/usr/src/new/new/news/uucp/bugfix b/usr/src/new/new/news/uucp/bugfix
new file mode 100644 (file)
index 0000000..acb101a
--- /dev/null
@@ -0,0 +1,40 @@
+Date: 19 Apr 1983 6:31-PST
+From: Jim Rees  <jim@uw-beaver>
+Subject: Re:  news 2.10
+Message-Id: <83/04/19 0631.950@uw-beaver>
+
+Meanwhile, I thought of something else you may want to include in the
+distribution.  I know that there are lots of bugs in uucp, and that it
+would be impossible to list them all in a reasonable amount of space,
+but news will not work at all on a 4.1bsd system unless this bug is
+fixed.  This bug is still in even the latest tape from Berkeley, and is
+not traceable with a debugger because of other bugs in uucp.  This bug
+causes uucico to core-dump after transferring some small (~20) number
+of files.
+
+The fix is easy.  In anlwrk.c, routine iswrk():
+
+*** anlwrk.c_o Wed Mar  9 07:53:09 1983
+--- anlwrk.c   Wed Sep 22 10:21:43 1982
+***************
+*** 64,70
+  {
+       static char **listp, *list[LLEN];
+  
+!      if (listp == NULL || *listp == NULL || listp > (list + LLEN)
+         || !prefix(pre, *listp)) {
+               int i;
+               for (i = 0, listp = list; i < LLEN; i++) {
+
+--- 64,70 -----
+  {
+       static char **listp, *list[LLEN];
+  
+!      if (listp == NULL || *listp == NULL || listp >= (list + LLEN)
+         || !prefix(pre, *listp)) {
+               int i;
+               for (i = 0, listp = list; i < LLEN; i++) {
+
+
+[uucp is fully of nasty bugs.  watch net.bugs.uucp for them and
+hopefully their fixes.]