974850.5707z.group/bin/cvsweb.cgi/djgpp/src/docs/kb/wc203.txi | search |
To download the latest version of this file, click on most recent revision number, then use your browser's "save page as" feature.
Up to djgpp/src/docs/kb/One more typo fix from cvs side of tree.
KB update for refresh with changes from base 2.03 release.
Fix a typo.
Typos fixed (from Esa A E Peuha <[email protected]>).
2.04 entry added.
Avoid endless loop when all file handles are exhausted. Reported by Dlanor Blytkerchan <[email protected]>.
Don't crash and don't overwrite next line if the function or the file name are too long to fit on a single line.
If called with an invalid drive letter, don't behave as if LFN were not available. Instead, set errno to ENODEV or ENXIO and arrange for the filesystem to be queried on the very next call to _USE_LFN. Reported by Richard Sanders <[email protected]>.
Redefine wchar_t for compatibility with Windows and RSXNTDJ.
Handle two infinities in addition and subtraction. Don't return sNaN for Inf in nan_type. Handle zeroes, Infs and NaNs in FPATAN as Intel manual says. Round results when storing to float or double.
Document the redir bugfix wrt FP emulation.
Oops, edited a stale version of the file to add the last changes. Undo the damage.
Make sure FYL2X always pops the FPU stack, otherwise stack overflow will sooner or later strike. (This one took 3 weekends to debug!) Many instructions, such as FSIN, FCOS, FPREM, FSCALE, FSQRT, and FRNDINT now handle Inf and NaN much better. The accuracy of FPATAN emulation is now much higher (63 bits), especially for arguments close to 1. FPREM emulation no longer hangs when the first argument is MUCH larger than the second.
Don't pass non-existent C++ libraries to gcc. If libstdcxx.a does not exist, try libstdcx.a and libstd~1.a (and similarly for any library whose name exceeds DOS 8+3 limits). If gcc.exe is not on PATH, print an error message to that effect.
Convert "++" to "xx" (instead of "plus"), and do it everywhere in the file name, not only for the first occurence. Convert ".tar.gz" only if at the end of a file name, and ".info-" only if followed by a digit. Use sizeof instead of literal constants. Suggested by Juan Manuel Guerrero.
Don't ignore the return value of fseek. Return -1 on failure. Suggested by Richard Dawe <[email protected]>.
Pass the correct tss->__signum value to the caller, when some error happens in the emulator. Correct setting of condition code Cn, as per Intel docs.
Fix the emulation of WAIT/FWAIT, with or without the size prefix. This is only important on Windows.
Fix a bug with stepping over function calls using INT3 breakpoints. Support SIGQUIT.
Actually compile memicmp.c and put it into the library. From Mark Elbrecht.
Correct a typo; reported by Andris.
Don't create tarchange.lst unless we have something to say there. From Jeff Williams.
Fix a bug in comparing the leading directories. Reported by Laurynas Biveinis.
Mention the latest bugfix in realloc.
Provide tc[gs]etpgrp functions (we should have done that a long time ago).
Mention the new long section support in startup code and linker script.
Set errno to ENOSYS if we return -1 because the PID was not ours.
Assorted small typos and omissions in the docs.
Handle %p as base-16 conversion.
Don't convert digits 8 and 9 when octal conversion is to be used. Describe in the docs which base is used for conversion with different format specifiers.
Added a missing @ to the email address.
Restore the file pointer position after truncation. Update the docs.
Make setitimer round up small timer values to clock granularity. Make getitimer return last-used it_interval values, even if the timer has expired or was disabled. Don't crash if the second argument is NULL. New variable __djgpp_clock_tick_interval (declared in <sys/time.h>). Enhanced docs. Enhanced test in tests/libc/posix/signal/itimer.c.
Avoid leaking file descriptor for corrupt executables. From Mark.
Avoid losing FileFind handle for root directories and devices. From Mark.
Support for passing signals to debuggee, by Pierre Muller. Add comments in exceptn.S that warn against breaking this support if certain parts of code are changed.
New math functions from Eric Rudd, and new-and-imnproved docs to go with them. Note: hypot.c is actually hypotl.c in disguise, and is not compiled into libc.a for now. It is here for some future day when we will need long double versions of math functions.
Make sure arguments to ctype functions are always in the range [-1..255].
If the target doesn't exist, and the source is not a directory, assume that simple _rename should be enough.
Mention the fixed problem with the missing npxsetup.o in libemu.a.
Changed subtraction of unsigned parts of the mantissa into comparison.
Copy the RM stack data as words, not as bytes. Docs and the prototype in dpmi.h changed accordingly.
When debugging raw COFF image, determine the stack and transfer buffer size from the values used by the debugger.
Fix an xref.
Mention the changes in debug support.
If the file name includes drive letter or leading directories, see whether it actually exists before reporting success. Fail for NULL or empty arguments. Extend the docs with more detailed description and portability info.
Set the read/write bits correctly when `+' is the 3rd character of `mode'.
Don't bypass raw/cooked mode code when termios is used. (I firmly believe that this ``feature'' was introduced to work around the problem in termios whereby when the console was in raw mode, termios would use raw mode as well. This now happens only for binary handles; see a previous change to tminit.c.)
Expand TABs into SPACEs in cooked-mode output to console.
Don't raise SIGINT and SIGQUIT in termios if they aren't disabled by __djgpp_set_ctrl_c(). Add a non-destructive query feature to __djgpp_set_ctrl_c().
Use raw input/output only if the handle is in binary mode.
Prevent errors when wctype.h is included after ctype.h. Declare ANSI and non-freestanding features in the appropriate sections.
On the first call, if under Windows, wait for the next timer tick before returning. This prevents negative values to be reported during the first 55msec. Update the docs with known bugs and printf format required to print a uclock_t datum.
Force initialization of __file_rec_list, even if we are dumped and restarted (Emacs).
When getch() or getche() are called, and stdin is the console, flush any pending output in stdout and stderr if they are connected to the console device. This is to prevent confusing out-of-order execution.
Implement and document the /dev/env/FOO feature.
Document the changes that clear the x87 and set _8087. Add the description of the bugfix in glob.c (forgotten earlier).
Avoid truncating existing files for which _open fails. Don't call _open with DENY-NONE sharing bit if the file doesn't exist. If the initial call to _open fails because all file handles were exhausted, return immediately.
When looking for a volume label to use for root directory's time stamp, don't be fooled by LFN entries written by Windows 9X/NT.
Prevent crashes with invalid command lines that use pipe symbols. Recognize Unix shell names with a dash prepended to them.
Make buffered stdio functions call the termios hook, if it is non-NULL. Fix minor bugs in tcsetattr and tcflush.
Typo corrected.
If the target of redirection is a quoted file name (e.g. if it includes embedded whitespace), unquote it.
Removed unused struct declarations. Use MAXPATH instead of 80 for file-name length (80 could blow the stack on LFN platforms).
Remove trailing blanks after the "[prog]" section-names in DJGPP.ENV.
Fix bugs with handling formats that use upper-case letters, like %lX, %F, %G etc. Document all the supported combinations of specifiers and qualifiers (like `L' and `ll') explicitly, even if they aren't ANSI. Add portability notes about non-standard formats.
Return immediately if both arguments point to the same file, and if NEW exists. Otherwise, we could happily remove the file.
Return EOF when a stream fails to flush itself, and when the destination filesystem is full.
If a response file ends with a ^Z, remove a single trailing ^Z before processing the contents.
Document bugfixes in conio.c.
Fixed a bug in `redir' whereby it would run the wrong argv[] element when the command name was a substring of one of the files to where I/O was redirected, like in "gcc -o gcc.log gcc -v -o foo foo.c".
Added the Cygnus test suite for math and related library functions.
updates
Various doc changes from Eli
handle missing files
ansi/posix notes fixes, wc update
setitimer patches from Eli
webmaster | delorie software privacy |
Copyright � 2024 by DJ Delorie | Updated Apr 2024 |