From ca68523a186496f42394671782096ecd6a619d14 Mon Sep 17 00:00:00 2001 From: CSRG Date: Sun, 24 Apr 1983 23:10:06 -0800 Subject: [PATCH] BSD 4_2 development Work on file usr/src/new/new/news/uucp/bugfix Synthesized-from: CSRG/cd1/4.2 --- usr/src/new/new/news/uucp/bugfix | 40 ++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 usr/src/new/new/news/uucp/bugfix diff --git a/usr/src/new/new/news/uucp/bugfix b/usr/src/new/new/news/uucp/bugfix new file mode 100644 index 0000000000..acb101a6e5 --- /dev/null +++ b/usr/src/new/new/news/uucp/bugfix @@ -0,0 +1,40 @@ +Date: 19 Apr 1983 6:31-PST +From: Jim Rees +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.] -- 2.20.1