--- MiNT/src/changes 2018/04/24 17:55:56 1.1.1.2 +++ MiNT/src/changes 2018/04/24 17:58:12 1.1.1.4 @@ -4,6 +4,1260 @@ first. +version 1.10 + + + +procfs.c: ++nox@jelal.north.de + + New Fcntl() command (PFSTAT) for finding + + control terminals of processes. + +dosfile.c: ++bjarne@goedel.uni-muenster.de + + Make f_open and f_create reentrant. + +main.c: ++hyc@hanauma.jpl.nasa.gov + + Better Falcon Bconmap() fix. + +dos.c: ++hyc@hanauma.jpl.nasa.gov + + NEW SYSTEM CALL: Tmalarm() for millisecond resolution + + alarms. + +biosfs.c: ++nox@jelal.north.de + + Fixed ioctl(,,TCSETBAUD) when oldbaud == newbaud. + +dosdir.c,unifs.c: ++schwab@ls5.informatik.uni-dortmund.de + + Extended Dfree() to work properly on arbitrary drives, + + not just ones that are root directories or aliased + + (this arises e.g. for Dfree() on U:, when the current directory + + isn't a root). + +syscall.spp,inline.h: ++schwab@ls5.informatik.uni-dortmund.de + + Bugfix for TOS 1.4: the BIOS expects register A5 to + + contain a 0 when it is called. + +bios.c: ++schwab@ls5.informatik.uni-dortmund.de + + Make reads on console interrupt driven. + +procfs.c,shmfs.c: + + Fixed Fseek(offset,f,2) to properly add "offset" to the + + end of file position, rather than subtracting it. + +proc.c,signal.c: ++roemer@informatik.uni-frankfurt.de + + Made sleep return a value specifying whether or not the + + sleeping process was interrupted by any signals. + +file.h,biosfs.c,fasttext.c: ++itschere@TechFak.Uni-Bielefeld.DE + + Added XATTR structure to bios files, to allow them to have + + ownership, access modes, and time stamps. Restricted + + Dcntl on u:\dev to superuser processes. + +biosfs.c, pipefs.c, file.h: ++entropy@terminator.rs.itd.umich.edu + + Fix TIOCFLUSH on biosfs. + + Give meaning to TIOCFLUSH's argument: it is now a pointer + + to a longword mask specifying the type of flush: + + *arg & 1 -> flush input only + + *arg & 2 -> flush output only + + *arg == 0 -> flush input and output + + arg == NULL -> flush input and output (backwards compatibility) + + Add TIOCOUTQ to biosfs and pipefs. The argument is a pointer + + to a longword to be filled with the number of bytes in the + + output buffer. + +*fs.c,file.h: + + Added an "rdev" field to the XATTR structure, so that programs + + can find the BIOS device number for character devices. + +biosfs.c: ++schwab@ls5.informatik.uni-dortmund.de + + Added a /dev/fd subdirectory. + +biosfs.c: ++schwab@ls5.informatik.uni-dortmund.de + + Restrict some operations to privileged users. + +filesys.c: ++itschere@TechFak.Uni-Bielefeld.de + + Create new device filenames in lower case, for consistency. + +dosdir.c,tosfs.c: ++itschere@TechFak.Uni-Bielefeld.de + + Improved security for Fdelete, Dsetpath, and some other + + calls; made TOS file systems accessible only to root and + + the admin group. + +bios.c,syscall.spp,main.c,proc.h: + + Added a flag (in_dos) to the PROC structure; the BIOS can use + + this for security checking on Rwabs and similar calls. + +procfs.c: ++micro@imada.ou.dk + + Bug fix: memory protection modes weren't being properly reset + + after memory was read from/written to. + +mem.c: ++bernd.kischnik@cdc2.ifum.maschinebau.uni-hannover.d400.de + + Fixed a bug with memory initialization when the screen is + + at a fixed location (i.e. with 3rd party graphics cards). + +context.spp: ++alex@falcon.demon.co.uk + + Only check for 64 bytes of supervisor stack, rather than 1K; also, + + corrected some loop counters. + +tty.c: ++nox@jelal.north.de + + Hack so that ^S/^Q work on BIOS devices other than the keyboard. + +intr.spp: ++nox@jelal.north.de + + Check for auto-repeating keys so that Fselect() wakes up more + + quickly. + +bios.c: ++nox@jelal.north.de + + Made BIOS devices take less CPU time while waiting for characters. + +filesys.c: + + If a search for a path component (other than the last one) + + fails, always return EPTHNF (like GEMDOS does). + +pipefs.c: + + When freeing a closed fifo, free any associated tty as well. + +main.c: ++schwab@ls5.informatik.uni-dortmund.de + + New command for mint.cnf: "include". + +mem.c: + + In create_base(), limited the amount of memory assigned to + + a new basepage if the current process has a limit assigned + + by Psetlimit(). + +biosfs.c: + + Fixed the DEV_NEWBIOS call (it wasn't linking the newly created + + device into the bios file system chain). + +dosdir.c: + + Based on a suggestion by Uwe Seimet: made Dlock() return + + ELOCKED when called twice by the same process, so that under + + single tasking AES accessories may use it. + +unifs.c: + + Fixed a bug in FS_UNMOUNT (fc->index is not necessarily + + a pointer to a UNIFILE, since the file system may use + + that for its own purposes). + +debug.c: ++nox@jelal.north.de + + Make only ctrl-alt-key characters significant to the + + debug code (before, any character could start/stop output). + +memprot.c,mem.c,dosmem.c: ++schwab@ls5.informatik.uni-dortmund.de + + Andreas did a major clean-up of the memory protection code. + + It's now faster, and quite a few bugs have been fixed. + +mem.c: ++schwab@ls5.informatik.uni-dortmund.de + + Made sure that only even addresses are passed to zero() (I guess + + some linkers don't make sure that text, data, and bss are all + + even lengths?) + +util.c: ++schwab@ls5.informatik.uni-dortmund.de + + In kmalloc(), the size passed to nalloc_add_arena() was wrong. + +main.c,debug.c,mem.c: ++schwab@ls5.informatik.uni-dortmund.de + + Restore the screen to its original address when exiting MiNT. + +fasttext.c: ++nox@jelal.north.de + + Allowed the fasttext device to be opened more than once. + +nalloc2.c: ++nox@jelal.north.de + + Fixed the code for figuring out when to free an arena (it didn't + + use to take account of the arena size itself). + +proc.c: ++Martin_Koehling@un.maus.ruhr.de + + Allocate all memory before doing file duplication, so that + + if a fork() runs out of memory we don't leave cookies + + hanging. + +main.c: ++brad@tazboy.jpl.nasa.gov + + Allow quotes to delimit arguments in the MINT.CNF file. + +xbios.c: + + Installed a work-around in dosound() for Pure C's problem + + with "volatile". + +filesys.c: + + Put in a temporary kludge so that .XFSes that don't install + + BIOS vectors can work (for a while). Note that .XFSes should + + either install BIOS vectors, or should mount themselves on + + drive U: without taking up a drive letter. THIS KLUDGE WILL + + GO AWAY SOMEDAY SOON!!! + +syscall.spp: ++schwab@ls5.informatik.uni-dortmund.de + + Various optimizations. + + + +version 1.09 + + + +biosfs.c: + + Implement file locking for BIOS devices. + +dosmem.c: + + Fix the Pexec(200,...) bug (trying to save the command line + + image must be done *before* the existing program's memory + + is freed). + +nalloc2.c,util.c: + + Allow kmalloc()'d memory to be returned to the OS, if possible. + +xbios.c: + + Dosound() can be called with a negative number as its parameter, + + in which case it is only an inquiry function. + + + +version 1.08 + + + +dosfile.c,dosdir.c,filesys.c: + + Made the file and directory operations re-entrant, by replacing + + the global variable "temp1" with local variables (where needed). + +dosdir.c,filesys.c: ++schwab@ls5.informatik.uni-dortmund.de + + Cleaned up the directory closing functions. + +dosmem.c: ++schwab@ls5.informatik.uni-dortmund.de + + Fixed a bug in do_vfork (the child's PROC structure could be + + freed when signals are checked for, and the old code wasn't + + prepared for that). + +purec\*.*: ++reschke@math.uni-muenster.de + + Updated for the new version of MiNT. + +*.*: ++alex@falcon.demon.co.uk + + Lots of fixes to get rid of warnings and some small optimizations. + +dosmem.c,procfs.c: ++reschke@math.uni-muenster.de + + In Pexec, save the name and arguments a process was started with + + into the PROC structure, so that they can be recovered at run time. + +filesys.c,main.c,unifs.c: ++Ulrich Kuehn + + At boot time, load files called *.xdd which contain external + + device drivers. + + Also, provide Dcntl calls for drive U: to allow installing and + + de-installing file systems at run time. + +bios.c: ++nox@jelal.north.de + + Only busy-wait for the parallel port, not for serial ports. + +unifs.c: ++schwab@ls5.informatik.uni-dortmund.de + + Pass Dcntl commands along to file systems. + +signal.c: ++schwab@ls5.informatik.uni-dortmund.de + + Make Fselect interruptable. + +procfs.c: ++schwab@ls5.informatik.uni-dortmund.de + + Check for illegal signal numbers in ioctl(PTRACEGO,...). + +dosdir.c: + + Fattrib should have been following links. + +*.spp: ++Claus Brod and Uwe Seimet + + Various optimizations + + + +version 1.07 + + + +debug.c: ++reschke@math.uni-muenster.de + + Translated the German "FATAL ERROR" message. + +intr.spp: + + The bus error handler shouldn't use 68030 MMU instructions unless + + it is on a 68030. (Thanks to Stephen Henson for catching this.) + + + +version 1.06 + + + +bios.c: ++akiernan@cix.compulink.co.uk + + Fixed a bug with Bconout and TOS 1.02. + +dosmem.c: + + Bug fix: Pexec mode 4 should cause the child to inherit its parent's + + memory. + +filesys.c: + + if disk_changed() detects an invalid drive, return EDRIVE from + + it and also from path2cookie(). + +main.c: + + Fixed the PRN= line in mint.cnf (it was redirecting AUX:, not + + PRN:). + +xbios.c: + + Made Dosound() automatically grant supervisor access to the + + region the sound is in. + +debug.c: + + Make the "FATAL ERROR" message multilingual, and also less + + confusing if debugging information is not provided. + +timeout.c,main.c: + + Make the addtimeout() and canceltimeout() functions available + + for device drivers. + +signal.c: ++schwab@ls5.informatik.uni-dortmund.de + + Reduce the amount of space needed for signal calls (we were + + being overly cautious on that), + +dosmem.c: ++akiernan@falcon.demon.co.uk + + Make sure that the text segment in which a process will be + + executing is attached to that process when it is started with + + a Pexec (4,...). + +asmtrans: ++robert.wilhelm@physik.tu-muenchen.de + + Enhanced to accept some 68030 specific addressing modes. + +proc.c: + + Removed the save/restore of the logical screen pointer for the + + MultiTOS kernel (this causes problems on a Falcon, since if the + + AES changes resolution its parent process may be left with a + + logical screen pointer pointing at invalid memory). + +bios.c: ++robert.wilhelm@physik.tu-muenchen.de + + Some small optimizations. + +biosfs.c: + + Fcntl() was not interacting properly with rsconf(), so that + + setting baud rates via Fcntl didn't work. + +dosfile.c: + + Fforce() should return 0 on success. + +context.spp,cpu.spp: ++julian@math.uni-muenster.de + + Patches for PureC. + +intr.spp: ++Robert.Wilhelm@Physik.TU-Muenchen.DE + + Small optimization: no return value is needed for spl(). + + + +version 1.05 + + + +main.c: ++hyc@hanuama.jpl.nasa.gov + + A better Falcon BIOS fix: if we're on a broken Falcon, turn + + off Bconmap completely. + +various places: ++hohmuth@freia.inf.tu-dresden.de + + Applied Michael's patch to make MiNT compile with PureC and + + the MiNT library. + +memprot.c: ++schwab@lamothe.informatik.uni-dortmund.de + + Fixed a bug in prot_temp (the cookie values weren't being + + parsed out correctly). Also, added "const" where appropriate. + +dosfile.c: ++schwab@lamothe.informatik.uni-dortmund.de + + Fixed some places where the fdflags[] for file handles + + wasn't be set up correctly (default is 0 for std handles, + + FD_CLOEXEC for non-std). + +cpu.spp,main.c: ++schwab@lamothe.informatik.uni-dortmund.de + + Saved the MMU context when starting MiNT, so that we can + + restore it again afterwards (and thus exit MiNT gracefully). + +main.c: ++julian@math.uni-muenster.de + + Supplied a PMMU cookie if memory protection is on; if a PMMU + + cookie already exists, don't do memory protection. + +fasttext.c: ++nox@jelal.north.de + + Added ESC-t support to the fasttext device. + +bios.c: ++nox@jelal.north.de + + Some modem port TSRs also don't return the correct value from + + Bconout. + +dos.c: + + Made Tsettime() and Tsetdate() available only to the super user. + +various places: ++akiernan@cix.compulink.co.uk,++julian@math.uni-muenster.de + + Portability fixes to make the code compile with PureC and + + Lattice C; also, Alex fixed up the cache clearing code. + +tosfs.c: ++schwab@lamothe.informatik.uni-dortmund.de + + Fixed a bug in the NEWWAY code (during disk change, don't + + free file cookies that may be in use). + +context.spp: ++seimet@rhrk.uni-kl.de + + In the restore context code, touch the page containing the + + (new) supervisor stack pointer before switching stack pointers. + + Otherwise, if the page is not resident (a 3rd party virtual + + memory system has swapped it out) then the resulting + + bus error is fatal. + +tosfs.c: ++akiernan@cix.compulink.co.uk + + Fixed a bug that could cause crashes on disk changes (the + + 'open' field was an integer for directories). + +rendez.c, mem.c: ++Martin_Koehling@un.maus.de + + Fixed some memory leaks (semaphores weren't freed after being + + destroyed, and if load_and_reloc failed then the memory + + allocated for the shared text region wasn't freed). + +procfs.c: + + When tracing is cancelled for a process with PTRACESFLAGS, + + start the process again by sending it SIGCONT. + +procfs.c: ++schwab@lamothe.informatik.uni-dortmund.de + + Don't allow processes to be removed by a different user. + +signal.c: + + Fixed the debug tracing code so that SIGCONT doesn't stop + + a process, even if it is being traced. + +procfs.c: + + Dpathconf was returning the wrong value (8 instead of 12 -- it + + wasn't taking the pid number extension into account). + + + +version 1.04 + + + +bios.c: + + Changed the way timeout worked for Bconout() stuff (basically, + + rewrote the code so that it really does work -- the old code + + used the system clock in timeout.c, which doesn't get updated + + if no context switches are happening; the new code uses the + + 200hz counter, which is always updated). + +proc.h: + + Increased the number of Fsfirst searches that can happen + + simultaneously to 10 from 6 (this is a per-process + + limit, not system wide). + + + +version 1.03 + + + +xbios.c: ++entropy@terminator.rs.itd.umich.edu + + In old versions of TOS, Rsconf could get stuck waiting for the + + transmit buffer to empty if flow control was on. Added a timeout. + +dos.c: + + Changed Psetpgrp so that passing a pgrp of -1 makes it into + + an inquiry call. + +filesys.c: ++Martin_Koehling@un.maus.de + + Fixed a bug in Flock (regions were being locked 1 byte too far). + +mem.h: + + Changed the memory allocation quantum to 256 bytes, so that + + Srealloc will always work right on ST's. + + + +version 1.02 + + + +main.c: + + Run any AUTO folder programs appearing after MINTNP.PRG + + as well as just plain MINT.PRG. + +syscall.spp: + + Pop more stuff off the stack in sig_return, since we + + did push more onto it in handle_sig. (It really shouldn't + + matter, restore_context will restore the stack pointer + + anyway, but better safe than sorry.) + +filesys.c,mem.c: + + Made the open file associated with shared text memory + + regions be closed automatically when a media change occurs. + +xbios.c: + + Changed the do_usrcall function into an assembly language + + routine which preserves all registers. Apparently some + + programs rely on being able to pass parameters to Supexec + + in registers. We only used to kill register A0, which was + + reserved for BIOS use anyway, but obviously some programmers + + choose not to read the f'ing manual. + +dosdir.c: ++entropy@terminator.rs.itd.umich.edu + + Fixed a typo (PATH_MAX where ERANGE should have been). + +biosfs.c: ++schwab@lamothe.informatik.uni-dortmund.de + + Check control keys on every newline, so users get quick response + + to their key hits. + +tty.c: ++schwab@lamothe.informatik.uni-dortmund.de + + Fixed a typo (t_startc is the character to use to resume terminal + + output, not t_stopc!) + +dosdir.c,dosmem.c,filesys.c,tosfs.c: ++schwab@lamothe.informatik.uni-dortmund.de + + Fixed many dup_cookie and release_cookie bugs; the code should be much + + more usable now. + +main.c: + + Corrected a flaw in the 68030 only version -- it assumed that + + 68030 was synonymous with memory protection. Also: set + + mcpu correctly. + +main.c: + + Checked to see if we're called "MINTNP.PRG"; if so, turn off + + memory protection automatically. Commented out the code + + for automatically turning MP off on 1 meg machines. + + + +version 1.01 + + + +main.c,intr.spp: + + Use init_tail for the temporary stack (saves us 128 bytes of bss, + + oh boy). + +main.c: + + If less than 1 megabyte is free, turn off memory protection + + automatically. + +mem.h: + + If there's no memory protection, do all ROUNDing etc. to + + 16 byte boundaries rather than 8K page boundaries. + +mem.c: + + Added a check for the ability to move screen RAM; evidently + + some boards use ST RAM but still don't allow Setscreen() + + to work. + +all over the place: ++julian@math.uni-muenster.de + + Cleaned up the code for PureC compatibility. + +all over the place: ++akiernan@cix.compulink.co.uk + + Cleaned up the code for Lattice compatibility. + +fasttext.c: ++hyc@hanauma.jpl.nasa.gov + + Sped up by special casing some of the gotoxy() calls, and + + also allowed 8 pixel high characters in monochrome mode. + +dosdir.c: ++schwab@lamothe.informatik.uni-dortmund.de + + Allow Frename() to succeed on symbolic links. + +signal.c: ++schwab@lamothe.informatik.uni-dortmund.de + + Save processor context stuf in the reserved BIOS area even for + + bus errors with memory protection on. + +dosfile.c: ++schwab@lamothe.informatik.uni-dortmund.de + + Initialize the exception file descriptors to 0, in anticipation + + of future use of this Fselect feature. + +dosfile.c: ++schwab@lamothe.informatik.uni-dortmund.de + + Allow pipes to be opened and written to with O_APPEND mode. + +version.h: + + Got rid of the PATCHLEVEL define. Now that I've finally + + checked everything into RCS, it's much easier to just bump + + up the version numbers on each release. + + + +version 1.00 + + + +welcome.c,version.h: + + Sigh. This is MultiTOS 1.0's MiNT, so even though I don't + + consider it "finished", I'm changing the version number to + + 1.0. At least it's no worse than TOS 1.0 :-). + +memprot.c: + + We want to flush the ATC cache, *not* the CPU cache. Thanks + + for pointing this out, Alex. + +bios.c: + + Fixed a problem with Speedo GDOS; if the printer's buffer was + + full, Bconout(2,...) would do a context switch, which is not + + a good thing for Speedo. + + + +version 0.99 + + + +PATCHLEVEL 2:: + + + +main.c: + + Big bug fix -- the do_exec_os routine was being called with a + + basepage that occupied all of memory, so that the Pexec(200) it + + did was failing due to insufficient memory. Now we Mshrink the + + basepage; this also necessitates fixing up the stack pointer. + +main.c: + + Handle mint.cnf files that don't end in a carriage return/line feed + + combination. + +filesys.c: + + New path parsing code to correct a bug in the way symbolic + + links were being handled on loadable file systems. + + + +PATCHLEVEL 1:: + + + +debug.c: + + Made the default debugging level give ALERT messages. + +dosfile.c: + + Corrected a bug in the way global file handles are closed. + + + +PATCHLEVEL 0:: + + + +dosmem.c: + + Made it so that overlay Pexec modes (e.g. 200) set up + + the basepage to preserve the same "parent". + +main.c: + + Added in a kludge so that if we're starting GEM from a file + + (e.g. gem.sys) then we do it via the exec_os vector. I hope + + this makes the Codeheads happy :-). + +dosmem.c,tty.c: + + Backed out entropy's and schwab's changes. Random programs + + were getting stopped under MultiTOS because of them; I can't + + find the cause, so let's go back to something that worked + + (if suboptimally). + +main.c: + + Fixed a silly initialization error: we should not + + assume a default language, we should get it from + + the ROMs. + +dosdir.c: ++julian@math.uni-muenster.de + + Extended Dlock: if bit 1 of the mode is set, then the + + process id of the process using the drive is returned + + instead of ELOCKED or EACCDN; this allows for more + + informative error messages. + +welcome.c: + + Updated the copyright notice. + + + +version 0.98 + + + +PATCHLEVEL 4:: + + + +dosmem.c,tty.c: ++entropy@gnu.ai.mit.edu + + Corrected some silliness in the job control code. + + + +PATCHLEVEL 3:: + + + +xbios.c: + + Took out the ONLY030 optimization; it didn't work correctly + + (I can't see any reason why it shouldn't have worked, but + + it didn't; perhaps a compiler bug bit us?) + + + +PATCHLEVEL 2:: + + + +main.c: + + Changed magic shift key to LEFT shift key. + +filesys.c: + + Make loaded .XFS files go into supervisor accessible + + memory. + +welcome.c,main.c: + + Ask user in her own language whether or not to boot if the + + kernel is a MultiTOS one and she held down the shift key. + +filesys.c: + + Relax O_COMPAT mode opens somewhat so that any + + number of processes can open the file for reading, + + as long as no more than 1 has it open for writing. + + ALSO: make sure O_EXEC gets treated the same as O_RDONLY. + +dosfile.c: + + Change TRACE() to TRACELOW() on Fread and Fwrite. + +tosfs.c: + + Went back to old method of doing tosfs.c; this is + + better tested and safer. + +dos.c: + + New system call, Salert(msg), for doing an alert message. + +debug.c: + + Terminate messages written to the alert pipe with a 0. + + Also: pour them into alert boxes so that programs like + + sysalert don't have so much to do. + + + +PATCHLEVEL 1:: + + + +fasttext.c: ++shenson + + Corrected the quote_putch function. + +dosdir.c: + + Allow Dfree(n) to work if "n" is a big number (e.g. BIOSDRV) + + and the corresponding pseudo-drive is a current or root directory + + of the current process. + +pipefs.c: ++schwab@ls5.informatik.uni-dortmund.de + + Return a new error number, EPIPE, for writes to broken pipes. + +tty.c: ++schwab@ls5.informatik.uni-dortmund.de + + If a tty loses its owner, the next process to do i/o to it + + will become the owner. + +dosfile.c: ++schwab@ls5.informatik.uni-dortmund.de + + FA_RDONLY doesn't mean "read only" on the process file system, + + so allow such processes to be opened for writing. + + + +PATCHLEVEL 0:: + + + +xbios.c: + + Fixed Supexec to pass the function pointer on the stack, too + + (just as TOS does). This is still undocumented behaviour, + + so you rely on it at your own risk. + +xbios.c: ++entropy@gnu.ai.mit.edu + + Applied a fix for Rsconf() with TOS 1.04, and made the + + old TOS Rsconf stuff #ifndef ONLY030. + +proc.c,dosmem.c: + + Wrap all calls to add_q/rm_q in spl7(), so that the + + wakeselect() function truly can be called from + + interrupt code. + +makefile,*.spp: + + Make provisions for compiling an 030/040 only version + + of MiNT; this should be faster and smaller than the + + generic version. + +version.h: + + The file system interface changes warrant a new version + + number, so here it is. + + + +version 0.97 + + + +PATCHLEVEL 3:: + + + +dosdir.c,proc.c: + + Keep a chain of open directories, so that if a program + + terminates without calling closedir() we can still clean + + up after it. Also: allocate directory structures from + + kernel memory rather than user memory, so that we don't + + take an 8K hit on each one. PROBLEM: a bug in the mntlib + + readdir() function causes bus errors if memory protection + + is on. This is a library bug that needs to be fixed + + real soon now. + +dosmem.c: + + TSRs now get forced into global memory if they were running + + privately; this should make things easier for users who + + forgot to change prgflags on their TSR programs. + +filesys.c: + + New meaning for O_COMPAT mode: deny write access to all other + + processes. + +tosfs.c: + + Added a define to turn on/off the RO_FASCISM code. Personally, + + I think it should always be on. + +dosdir.c,filesys.c,file.h,*fs.c: + + New file system functions, release() and dupcookie(), so that + + the kernel can inform file systems when it is finished + + with a file cookie; networked file systems will be very + + happy about this. + + + +PATCHLEVEL 2:: + + + +procfs.c: + + Moved the memory protection checks for proc_read and + + proc_write to a separate function in memprot.c. + +dosfile.c: + + Remove the old compatibility code for Fcntl(F_SETFL,...). + + (Actually, it's commented out, so we can put it back in + + if we need to.) + +signal.c: + + Change default behaviour for SIGFPE (which is raised + + by division by 0) to "ignore", same as TOS. + +dosdir.c: + + Made Dgetcwd() use the new size parameter, so that it + + works as advertised. + +file.h, *fs.c: + + Provide a "size" parameter for the getname() file system + + function, so that we can do Dgetpath() of arbitrary length + + paths. + +util.c: + + BIG_MEM_DUMP is a nasty thing for users to get; + + so we shouldn't do it on all failed mallocs! + + + +PATCHLEVEL 1:: + + + +proc.c: + + Plugged a memory leak (dispose_proc was failing to + + free the process table memory, because fork_proc + + was zeroing that field in the PROC structure). + +main.c: + + Fixed MAXMEM= (it was setting the maximum CPU time, + + not the maximum memory -- I thought I tested this!) + + + +PATCHLEVEL 0:: + + + +main.c: + + Added MAXMEM= and SLICES= variables for mint.cnf. + +bios.c: + + Fixed Setexc so that if the new vector is in a global + + region, the region is re-marked to be super. + +dosmem.c: + + Fixed a race condition with memory protection and + + Pexec(100,...) (if the new process exited early, + + the old process might still try to access it). + +realloc.c: + + New file, for doing the Srealloc system call (for + + Falcon TOS). + +*.*: + + Merged in Allan's memory protection and debugging + + code. New files: memprot.c, nalloc2.c, welcome.c. + + + version 0.96 @@ -770,7 +2024,11 @@ dosdir.c: relpath2cookie no longer checks drive letters - unless "depth" is > 0. Fixed this. + unless "depth" is > 0. Fixed this. (why did + + we change relpath2cookie that way?? this is + + changed back in 0.99pl2) main.c,filesys.c: