Commit | Line | Data |
21d892ea |
1 | These are the changes done by the `patches' file: |
2 | |
3 | [These patches have been applied, more or less, so I don't supply the |
4 | patches file--law] |
5 | |
6 | Compilation of some portions is done conditional on the definition |
7 | of the following symbols: |
8 | |
9 | BINARY Enables the usage of setmode under MSDOS (added binmode command) |
10 | BUGGY_MSC Adds #pragma_function(memset) to avoid internal compiler error |
11 | CHOWN Enables chown |
12 | CHROOT Enables chroot |
13 | FORK Enables fork and changes the compilation of system |
14 | GETLOGIN Enables getlogin |
15 | GETPPID Enables getppid |
16 | GROUP Enables all the group access functions |
17 | KILL Enables kill |
18 | LINK Enables link |
19 | PASSWD Enables all the password access functions |
20 | PIPE Enables the pipe function |
21 | WAIT Enables the wait function |
22 | UMASK Enables the umask function |
23 | |
24 | S_IFBLK * Enables the block special device check |
25 | S_ISGID * Enables the setgid check |
26 | S_ISUID * Enables the setuid check |
27 | S_ISVTX * Enables the vtx check |
28 | unix * Compiles globbing for Unix |
29 | MSDOS * Compiles globbing for MS-DOS |
30 | Closes stdaux and stdprn on startup |
31 | Adds a copyright message for -v |
32 | Disables the compilation of my_popen, my_pclose as the |
33 | are in a separate file. |
34 | |
35 | Symbols marked with * are defined in the compilation environment. The |
36 | rest should be added to config.h (config.h.SH). All functions when not |
37 | supported give a fatal error. |
38 | |
39 | Added documentation for the binmode function in the manual. |
40 | |
41 | Fixed the following bugs: |
42 | |
43 | In eval.c function eval if ioctl or fcntl returned something |
44 | other than 0 or -1 the result was a random number as the |
45 | double `value' variable wasn't set to `anum'. |
46 | |
47 | In doio.c function do_exec there were two errors associated with |
48 | firing up the shell when the execv fails. First argv was not freed, |
49 | secondly an attempt was made to start up the shell with the cmd |
50 | string that was now cut to pieces for the execv. Also the maxible |
51 | possible length of argv was calculated by (s - cmd). Problem was |
52 | that s was not pointing to the end of the string, but to the first |
53 | non alpha. |
54 | |
55 | [These are incorporated in patches 15 and 16--law] |
56 | |
57 | Diomidis Spinellis, March 1990 |