Agrumpy.314 NET.v7bugs utzoo!duke!unc!grumpy!smb Sun Aug 24 21:18:23 1980 learn bugs There are a few bugs in the distributed learn: a) When a sub-shell is invoked by makpipe.c, its output on file 2 is going direct to the terminal rather than through a pipe; this can cause prompts to be intermixed with other output. Fix: in makpipe.c, in the fork that will actually invoke the shell, close file 2 and dup(1). b) In the distributed PDP 11 version (though not in UCB VAX UNIX), routine start.c uses its own structure to describe a directory; this structure in turn gives the type of an i-node as "int", which causes portability problems on 32-bit machines. c) In tee.c, a single character is read into the &i, which is an "int"; this value is then used as the argument to putc. While this code works properly on PDP-11s and VAXes, it fails on any machine where the bytes aren't backwards. ----------------------------------------------------------------- gopher://quux.org/ conversion by John Goerzen of http://communication.ucsd.edu/A-News/ This Usenet Oldnews Archive article may be copied and distributed freely, provided: 1. There is no money collected for the text(s) of the articles. 2. The following notice remains appended to each copy: The Usenet Oldnews Archive: Compilation Copyright (C) 1981, 1996 Bruce Jones, Henry Spencer, David Wiseman.