home *** CD-ROM | disk | FTP | other *** search
- changes:
- new file to track changes to the lib
- include/*:
- wholesale reconstruction; everything compiler dependent should
- now be in compiler.h
- also note that wchar_t has been defined as "int" for gcc; this
- is because gcc lets you do L'\400' but not '400', so wchar_t
- isn't "char"; but only 2 bytes are pushed for L'\400', so
- it's not "long" either
- abort.c:
- change type from void to __EXITING
- make sure it always exits, even under MiNT
- alglobal.c:
- track changes from gnulib
- alphasor.c:
- track changes from gnulib
- atof.c:
- track changes from gnulib
- get rid of warnings about unused variables
- bcmp.c:
- track gnulib changes
- remove lbcopy(); it's not ANSI
- bsearch.c:
- track gnulib changes, use __PROTO where appropriate
- bzero.c:
- track gnulib changes, remove lbzero
- console.c:
- fix parameters to Fwrite
- ctime.c:
- add appropriate header files, get rid of warnings
- ctype.c:
- track gnulib changes
- doprnt.c:
- add #include <math.h> for float declarations
- use __PROTO where appropriate
- change type of fmt0 to agree with definition in lib.h
- fclose.c:
- add #includes to get rid of warnings
- fdopen.c:
- get rid of of more warnings
- filbuf.c:
- ditto
- fopen.c:
- ditto
- fprintf.c:
- change everything to use <stdarg.h>; we no longer have to special
- case printf and fprintf in <stdio.h>
- ftw.c:
- track gnulib changes
- getcwd.c:
- remove warnings, fix a comment
- getlogin.c:
- add <stdlib.h> for declaration of getenv()
- getw.c:
- track gnulib changes
- gmon.c:
- get rid of some warnings
- gnulib2.c:
- get rid of warnings about functions being declared but not defined
- remove minix #ifdefs
- track gnulib changes
- grp.c:
- use __PROTO, get rid of an unused variable
- ioctl.c:
- #include <unistd.h>
- isatty.c:
- cast an expression to (void) to get rid of a warning
- kill.c:
- unistd.h included
- lib.h:
- use __PROTO from compiler.h
- add declarations for _ltoa, _ultoa, _itoa, _doprnt
- linea.h:
- track gnulib changes
- lseek.c:
- lib.h included
- ltoa.c:
- remove redundant declaration
- main.c:
- remove unused variables
- add declarations and casts to (void) as necessary
- exit is now an __EXITING function
- don't close standard output, input, or error, just flush them
- malloc.c:
- remove mlalloc, relalloc, clalloc, call to lbzero
- mkdir.c:
- include lib.h to remove warnings
- mktemp.c:
- include lib.h; add startat as per gnulib
- open.c:
- add extra includes to remove warnings; fix type of "pmode"
- add casts to (void) where necessary
- pause.c:
- casts to (void)
- popen.c:
- include unistd.h
- qsort.c:
- track gnulib changes
- change so non-ANSI compilers can use this
- raise.c:
- include unistd.h
- scandir.c:
- track gnulib changes; include string.h
- scanf.c:
- include string.h, use __PROTO where appropriate
- track gnulib
- sigblock.c:
- change types from "unsigned long" to "long" (Berkeley uses "int",
- so this will be more BSDish)
- spawnv{e,p}.c:
- add va_end where appropriate
- add some declarations to get rid of warnings
- sprintf.c:
- remove unused code
- change definitions to use stdarg.h and ANSI ... style
- stat.c:
- include unistd.h
- strlen.c:
- track gnulib
- strstr.c:
- remove unnecessary declarations (per gnulib, I think)
- system.c:
- make retval an auto variable instead of static, now that we're
- not vfork'ing
- fix up some warnings (some spurious, some not)
- thread.c:
- casts to (void) where needed
- tmpnam.c:
- use MJ's version (I think gnulib does, too)
- unlink.c:
- include lib.h
- utime.c:
- ditto
- wait.c:
- use Pwait3 instead of Pwait, for compatibility with MiNT 0.8
-
- type.h:: ++jrb
- add caddr_t
-
- osbind.h:: ++jrb
- add defn for Bconmap and Bconctl
- adjust defn for Flopfmt.
- as suggested by andreas, delete volatiles for asm() thats
- are split for better code.
-
- fcntl.h:: ++jrb
- add proto for fcntl
-
- unistd.h:: ++jrb
- rm const from argv. i know logically it should be there.
-
- qsort.c:: ++jrb
- replaced with one from gnulib
-
- st-out.h:: ++jrb
- add A_LNAM for gst syms
-
- atof.c:: ++jrb
- merged with gnulib (corrected type for return pointer)
-
- scanf.c:: ++jrb
- adjust casts
-
- localtim.c:: ++jrb
- adjust type of indst. add protos
-
- linea.h:: ++jrb
- adjust protos
-
- gemfast.h :: ++jrb
- merge with one from tos lib
- strftime.c:
- merge changes from tos lib
- sysconf.c:
- new file by Dave Gymer
- atof.c,strtol.c,strtoul.c:
- merged new ANSI stuff from mj
- various places:
- applied changes from tos library (updates 8 and 9 from bammi)
- getrusag.c:
- correct call to _ms2tval when which == RUSAGE_CHILDREN
- unx2dos.c:
- fixed return value for _unx2dos on just "v:" (should be 0, since
- this is a directory, not a character special file)
-
- PATCHLEVEL 11:
-
- mktemp.c:
- AKP's patch to use MiNT pid's implemented (more or less)
- curses.h:
- if HZ is defined by a previous include of param.h, #undef it
- (to avoid conflict with the termcap capability named HZ)
- fcntl.h:
- changes in struct flock and in O_NDELAY, O_SYNC, etc. to match
- MiNT 0.9 pre-alpha. These may have to change again someday :-(.
-
- PATCHLEVEL 12:
-
- open.c:
- changed to pass O_NDELAY, O_SYNC, and the file read/write mode
- to the kernel, and to use O_DENYNONE mode if MiNT is active.
- osbind.h:
- fixed the return value for Bconout() and Rwabs().
- read.c:
- make sure Fread is never called with too big a value for terminals
- (works around a TOS bug)
-
- PATCHLEVEL 13:
-
- crt0.s: ++jrb
- in the prg/acc detection code, check parent basepage pointer;
- if it's != 0, then we must be a prg. this test is in addition
- to the official A0 test
- fopen.c:
- moved _binmode and __default_mode__ to a separate file, binmode.c,
- so that putting __default_mode__ = _IOBIN in the program will
- change the behavior of stdin and stdout (someone on the net
- suggested this, but I can't remember who -- it sounds good to
- me).
- crtinit.c:
- merged in change to "count" from patchlevel 72 of the gcc lib.
- malloc.c:
- in realloc, don't free the old block unless it was successfully
- reallocated (again, from patchlevel 72 of gcc lib)
- main.c,spawn.c,findfile.c:
- when starting up, convert the environment variable PATH to
- POSIX form (i.e. using ':' as a separator); when execing a
- new program, convert back to old form so old programs will
- work correctly
- dirent.c,dirent.h:
- re-written to support MiNT 0.9 extended directory operations
- stat.c:
- re-written to take advantage of MiNT 0.9's Fgetxattr function
- link.c,symlink.c:
- re-written to support MiNT 0.9 link and symbolic link functions
- chmod.c:
- added support for MiNT 0.9's Fchmod and Fchown functions
- gethostn.c:
- changed so that if HOSTNAME isn't set in the environment, then
- we look for it in the file "\local\hostname" (which could be
- a symlink, under MiNT)
- open.c:
- provide support for the real umask() function in MiNT 0.9
-
- PATCHLEVEL 14::
-
- stat.h:
- Re-arrange the stat structure back to its old form, update for
- changes to MiNT 0.9 kernel.
- sysconf.c:
- Provide _PC_NO_TRUNC pathconf() option.
- limits.h,unistd.h:
- Update to reflect MiNT 0.9.
- strerror.c,perror.c:
- Moved sys_errlist and sys_nerr from perror.c to strerror.c (where
- they more properly belong), and added a message for EMLINK. Also:
- had strerror() return "unknown error" instead of "" for errors
- that it doesn't know about.
- errno.h:
- Added EMLINK and moved some things around to leave space for
- future additions to MiNT.
- dirent.c:
- Added rewinddir code for TOS; this involved changes in the
- dirent structure in dirent.h, too.
- *.c:
- Changed FILENAME_MAX to PATH_MAX and included <limits.h>
- instead of <stdio.h> where appropriate.
- various places:
- Fixed compiler warnings.
- stat.c:
- Made fstat() use the new FSTAT Fcntl in MiNT 0.9.
- grp.c:
- Re-written to actually work from the file /etc/group (if found).
- getpw.c:
- Changed return values of setpwent and endpwent to be void, as
- seems to be normal. Also, reduced the buffer size used; no
- password entry is likely to be 1024 bytes long!
- mkdir.c:
- Added a 'mode' argument, per POSIX.
- types.h:
- Corrected the utimbuf structure (there was a typo: axtime should
- have been actime).
- unistd.h,getuid.c:
- Oops: getgid should have type gid_t, getuid type uid_t, etc.
- utmp.c,wtmp.c,utmp.h:
- New files from Stephen Usher.
- stat.c:
- Apparently most Unixes count st_blocks in units of 512 bytes,
- so we will too.
- localtim.c:
- Change the name "_timezone" into "timezone"; some (most?) Unixes
- export this variable.
- resource.h, setrlimi.c:
- Add the rlim_max field to the rlimit structure; for now, this
- is always RLIM_INFINITY.
- wait.h:
- Added WIFEXITED.
-
- PATCHLEVEL15::
-
- console.c:
- Try to use the GEMDOS input routines if appropriate; otherwise
- try to guess which BIOS device the file refers to.
- stat.c:
- The st_dev field for root directories wasn't being set; oops!
- gethostn.c:
- Close the file we opened to find the host name from.
- uname.c,nice.c:
- New files from Dave Gymer.
- unx2dos.c:
- Provide special translation for "/pipe" as well as for "/dev".
- fread.c:
- Correctly note EOF and errors for large reads.
- ttyname.c:
- New file -- this is pretty hopeless under TOS, but works well
- under MiNT.
-
- PATCHLEVEL16:
-
- stat.c:
- Fix stat(".") under TOS.
- param.h, spawn.c:
- Add NCARGS to param.h, update spawn() to use TOS_ARGS instead.
- crtinit.c:
- Cleaned up slightly.
- tmpfile.c:
- Under MiNT 0.9+, we may be able to just unlink the file and
- keep using it; if so, this saves some work for atexit() and
- also is a more sure way of getting rid of the temp file.
- access.c:
- Check file ownership in the access() call.
- various header files:
- Eliminate use of defined() in preparation to porting to stupid
- compilers that can't handle it :-(.
- ioctl.c,ioctl.h:
- Add fake TIOCLGET and TIOCLSET routines.
- timeoday.c:
- New BSD-ish ftime(), gettimeofday() and settimeofday() system calls.
- clock.c, main.c:
- Make the value returned be relative to the startup time
- of the program.
- localtime.c:
- Change the variable name back to _timezone (the gcc lib has
- the underscore, POSIX and ANSI want it, and now that we have
- ftime() and gettimeofday() little software will be needing
- a variable called "timezone"). Apologies for the flipping and
- flopping -- it's going to stay _timezone from here on in.
- osbind.cpp:
- The "real" Rwabs has an extra parameter now, so we should reserve
- an extra 4 bytes on the stack in the bios() call.
- signal.c, kill.c:
- Moved the signal initialization stuff to signal.c.
- kill.c, sigblock.c:
- Added checks (under TOS) for blocked signals, and made killpg()
- on the current process group work under TOS.
- thread.c, vfork.cpp:
- Moved some of the vfork() logic (under TOS) to tfork(), which
- now does things like saving/restoring the signal state and
- which also returns a more sensible pid for the child process.
- wait3.c:
- Made it work under TOS.
- uname.c,utsname.h:
- Cleaned up a bit (Dave Gymer sent me a newer version, and
- I merged some of his changes).
- link.c:
- Set errno correctly when Flink fails.
- scanf.c:
- Correct the %n format to match what ANSI wants; also,
- when matching the last character of the format string, don't
- bother to peek ahead at the input, since we won't be needing
- it (mgr wants this behaviour).
- main.c, unx2dos.c, getcwd.c:
- Implement part of UNIXMODE, namely binary files by default
- ("b") and preferred root directory ("r"); under MiNT, if we're
- on drive u: and no preferred directory is given then we
- assume u:.
- crtinit.c:
- Allow _stksize = -foo to mean "keep foo bytes of memory for
- stack+heap, and use it for mallocs".
- basepage.h:
- Make sure that people know which fields are legal.
- sscanf.c, fscanf.c:
- Added vscanf, vsscanf, vfscanf functions (from Bjarne Pohlers).
-
- PATCHLEVEL17::
-
- statfs.c:
- New file, from Adrian Ashley.
- link.c:
- Use unx2dos() on the names before calling the kernel (!).
- ttyname.c:
- A missing argument (aargh! I should have used protos!)
- Thanks to Dave Gymer for catching this one and the previous.
- unistd.h:
- Changed _POSIX_VDISABLE from 255 to 0, to match the change in
- the MiNT kernel from 0.91 to 0.92. (To be more accurate,
- 255 never actually was guaranteed to work; it just "usually"
- did, and in fact still usually does, but 0 definitely does.)
- *.cpp:
- Added Michael Ritzert's floating point changes from the gcc lib.
- scanf.c, ctype.[ch], fputc.c, malloc.c, system.c, osbind.h, float.h:
- Added patches from gcc lib update15. (patchlevels 74 and 75)
-
- PATCHLEVEL18:
-
- LOTS OF PLACES:
- Apply Dave Gymer's patches for Sozobon 2.0 support.
- bcmp.c, bzero.c, qsort.c:
- Ansification (casting lvalues is a no-no :-).
- lockf.c:
- New file from Dave Gymer.
- mkdir.c:
- Added check for existing directories (from Alan Hourihane).
- ctype.[ch]:
- Make _ctype a pointer again, so that it will be possible to
- change character classes in different locales (and so that
- existing code & libraries that use ctype.h don't break).
-