Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2002-09-10* test commitFrank Ch. Eigler
2002-09-102002-09-10 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* COPYING.NEWLIB: More updates.
2002-09-102002-09-09 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* libc/sys/linux/machine/i386/crt0.c (_start): Remove code that clears the .bss section.
2002-09-102002-09-09 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* libc/include/sys/_types.h (_mbstate_t): Changed to use unsigned char internally. * libc/sys/linux/sys/_types.h: Ditto. * libc/include/sys/reent.h * libc/stdlib/mblen.c (mblen): Use function-specific state value from default reentrancy structure. * libc/stdlib/mblen_r.c (_mblen_r): If return code from _mbtowc_r is less than 0, reset state __count value and return -1. * libc/stdlib/mbrlen.c (mbrlen): If the input state pointer is NULL, use the function-specific pointer provided in the default reentrancy structure. * libc/stdlib/mbrtowc.c: Add reentrant form of function. If input state pointer is NULL, use function-specific area provided in reentrancy structure. * libc/stdlib/mbsrtowcs.c: Ditto. * libc/stdlib/wcrtomb.c: Ditto. * libc/stdlib/wcsrtombs.c: Ditto. * libc/stdlib/mbstowcs.c: Reformat. * libc/stdlib/wcstombs.c: Ditto. * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): If an error occurs, reset the state's __count value and return -1. * libc/stdlib/mbtowc.c: Ditto. * libc/stdlib/mbtowc_r.c (_mbtowc_r): Add restartable functionality. If number of bytes is used up before completing a valid multibyte character, return -2 and save the state. * libc/stdlib/wctomb_r.c (_wctomb_r): Define __state as __count and change some __count references to __state for clarity.
2002-09-102002-09-09 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* COPYING.NEWLIB: Update.
2002-09-08* fhandler_tty.cc (fhandler_tty_slave::open): Don't protect input/outputChristopher Faylor
handles since they are not properly manipulated later. * tty.cc (tty::make_pipes): Ditto.
2002-09-07 * include/windef.h (WINVER): Add documentation.Earnie Boyd
(_WIN32_WINNT): Ditto. Special thanks to Paul Schmidt <paul@tricattechnologies.com>
2002-09-062002-09-06 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* libc/include/sys/config.h (MB_LEN_MAX): Removed as this is defined by <limits.h>.
2002-09-06whitespaceChristopher Faylor
2002-09-06* winsup.h (_WIN32_WINNT): Protect.Christopher Faylor
2002-09-06* winsup.h (_WIN32_WINNT): Define.Christopher Faylor
2002-09-06 * lib/Makefile.in (TEST_OPTIONS): Define WINVER to 0x0666.Danny Smith
2002-09-052002-09-05 Kazuhiro Fujieda <fujieda@jaist.ac.jp>Jeff Johnston
* libc/include/wchar.h (WCHAR_MAX): Only define if not already defined.
2002-09-05 * include/_mingw.h: Increment version to 2.3.Earnie Boyd
Makefile.in: Ditto.
2002-09-05 * mingwex/fegetenv.c: Change to \n line endings.Earnie Boyd
* mingwex/vsnprintf.c: Ditto. * mingwex/vsnwprintf.c: Ditto.
2002-09-052002-09-04 Kevin Chase <kevincha99@hotmail.com>Danny Smith
* include/winbase.h (AllocateUserPhysicalPages, MapUserPhysicalPages, MapUserPhysicalPagesScatter, FreeUserPhysicalPages): Add prototypes. * lib/kernel32.def: Add function stubs for above.
2002-09-042002-09-04 Kazuhiro Fujieda <fujieda@jaist.ac.jp>Jeff Johnston
* libc/include/sys/config.h: Define accordingly __WCHAR_MAX__. * libc/include/wchar.h: Define WCHAR_MIN as 0 and WCHAR_MAX as __WCHAR_MAX__ or 0x7fffffffu. * libc/string/wcscmp.c: Delete wrong and unnecessary type cast. * libc/string/wcsncmp.c: Ditto.
2002-09-042002-09-04 Kazuhiro Fujieda <fujieda@jaist.ac.jp>Jeff Johnston
* libc/include/sys/config.h: Define accordingly __WCHAR_MAX__. * libc/include/wchar.h: Define WCHAR_MIN as 0 and WCHAR_MAX as __WCHAR_MAX__ or 0x7fffffffu. * libc/string/wcscmp.c: Delete wrong and unnecessary type cast. * libc/string/wcsncmp.c: Ditto.
2002-09-04some editsChristopher Faylor
2002-09-04first draftChristopher Faylor
2002-09-04fix typoChristopher Faylor
2002-09-04 * Makefile.in (DLL_OFILES): Drop shortcut.o.Corinna Vinschen
* path.cc: Move all shortcut functions from shortcut.c to here. (check_shortcut): Implement without using COM interface. * path.h: Move definition of SHORTCUT_HDR_SIZE to here. * shortcut.c: Remove. * shortcut.h: Ditto.
2002-09-04Have objdump's --help switch document PPC -M options.Nick Clifton
2002-09-04 * fhandler.h (fhandler_socket::read): Remove method.Corinna Vinschen
(fhandler_socket::write): Ditto. (fhandler_socket::readv): New method. (fhandler_socket::writev): Ditto. (fhandler_socket::recvmsg): Add new optional argument. (fhandler_socket::sendmsg): Ditto. * fhandler.cc (fhandler_socket::read): Remove method. (fhandler_socket::write): Ditto. (fhandler_socket::readv): New method. (fhandler_socket::writev): Ditto. (fhandler_socket::recvmsg): Use win32's scatter/gather IO where possible. (fhandler_socket::sendmsg): Ditto. * net.cc (cygwin_recvmsg): Check the msghdr's iovec fields. (cygwin_sendmsg): Ditto. Add omitted sigframe.
2002-09-042002-09-03 Ren� M�ller Fonseca <fonseca@users.sourceforge.net>Danny Smith
* include/winuser.h (IDTRYAGAIN,IDCONTINUE): Add defines. Add WINVER guards for dialog box command id defines.
2002-09-032002-09-03 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* libc/string/wcschr.c: Add include of <stddef.h>. * libc/string/wcspbrk.c: Ditto. * libc/string/wcsrchr.c: Ditto. * libc/string/wcsstr.c: Ditto.
2002-09-032002-09-03 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* libc/include/sys/_types.h (_flock_t): Added. * libc/include/sys/lock.h (__lock_try_acquire): New interface. (__lock_try_acquire_recursive): Ditto. * libc/include/sys/reent.h (__sFILE, __sFILE64): Add new _lock field. * libc/stdio/findfp.c (std)[!__SINGLE_THREAD__]: Initialize _lock field. * libc/stdio/fopen.c (_fopen_r)[!__SINGLE_THREAD__]: Ditto. * libc/stdio64/fopen64.c (_fopen64_r)[!__SINGLE_THREAD__]: Ditto. * libc/sys/linux/include/time.h (struct timespec): Moved from <sys/types.h> and added check for __need_timespec flag so type can be defined by itself. * libc/sys/linux/sys/_types.h (_flock_t): New type. * libc/sys/linux/sys/types.h (struct timespec): Moved to <time.h>.
2002-09-03 * include/wincon.h (GetConsoleWindow): Add _WIN32_WINNT >= 0x0500 guard.Earnie Boyd
2002-09-03 * cygwin.din: Revert exporting new wchar functions.Corinna Vinschen
* include/cygwin/version.h: Change comment for API minor 62.
2002-09-02* dcrt0.cc (dll_crt0_1): Remove getpagesize() call.Christopher Faylor
* shared.cc (memory_init): Move it here.
2002-09-02 * mingwex/math/hypotl.c: Replace with version based on cephesDanny Smith
library.
2002-08-31* fhandler_proc.cc: Add <sys/param.h> include.Christopher Faylor
(format_proc_uptime): Use KernelTime and UserTime only as they include the other counters. (format_proc_stat): KernelTime includes IdleTime, so subtract IdleTime from KernelTime. Make number of 'jiffies' per second same as HZ define. * fhandler_process.cc: Add <sys/param.h> include. (format_process_stat): Make number of 'jiffies' per second same as HZ define. Use KernelTime and UserTime only to calculate start_time.
2002-08-31* fhandler_tty.cc (fhandler_tty_slave::fhandler_tty_slave): Set "don't needChristopher Faylor
ready for read" flag. (fhandler_tty_slave::read): Don't do anything special with vtime when vmin == 0.
2002-08-31(inspired by a patch from Egor Duda)Christopher Faylor
* select.cc (fhandler_tty_slave::ready_for_read): Remove. * fhandler.h (fhandler_tty_slave::ready_for_read): Remove declaration. * fhandler_tty.cc (fhandler_tty_slave::read): Don't do anything special with vtime when vmin == 0. * autoload.cc (GetConsoleWindow): Correct parameter count.
2002-08-30Christopher Faylor <cgf@redhat.com>Christopher Faylor
* tty.cc (tty_list::allocate_tty): Use GetConsoleWindow, if available. Call FindWindow in a loop.
2002-08-30* include/wincon.h: Define GetConsoleWindow(void).Christopher Faylor
2002-08-30* miscfuncs.cc (check_iovec_for_read): Don't check buffer when zero lengthChristopher Faylor
iov_len. (check_iovec_for_write): Ditto. * fhandler.h (fhandler_base::readv): New method. (fhandler_base::writev): Ditto. * fhandler.cc (fhandler_base::readv): New method. (fhandler_base::writev): Ditto. * syscalls.cc (_read): Delegate to readv(2). (_write): Ditto, mutatis mutandi. (readv): Rewrite, based on the old _read code, to use the new fhandler_base::readv method. Improve access mode handling and ensure all calls reach the final strace statement. (writev): Ditto, mutatis mutandi. * include/sys/uio.h (struct iovec): Change field types to match SUSv3. * winsup.h (check_iovec_for_read): New function. (check_iovec_for_write): Ditto. * miscfuncs.cc (check_iovec_for_read): Ditto. (check_iovec_for_write): Ditto.
2002-08-30 Sigh, mbsrtowcs was still missing...Corinna Vinschen
2002-08-30 * cygwin.din: Add more prototypes for new wchar functions in newlib.Corinna Vinschen
2002-08-30 * cygwin.din: Add prototypes for new wchar functions in newlib.Corinna Vinschen
* include/cygwin/version.h: Bump API minor number.
2002-08-30* how-api.texinfo: Remove a line from the CRLF discussion about lseek notChristopher Faylor
working. Answer thread safe question more simply.
2002-08-30 * libc/sys/linux/argp: New directory.Thomas Fitzsimmons
* libc/sys/linux/getopt.c: New file. * libc/sys/linux/getopt1.c: New file. * libc/sys/linux/getoptlong.c: Remove file. * libc/sys/linux/include/argp.h: New file. * libc/sys/linux/Makefile.am: Define argp_dir and ARGP_LIB, based on ELIX level. (SUBDIRS): Add argp_dir. (SUBLIBS): Add ARGP_LIB. (ELIX_2_OBJS): Add getopt.$(oext), getopt1.$(oext), remove getopt_long.$(oext). * libc/sys/linux/configure.in (AC_OUTPUT): Add argp/Makefile.
2002-08-292002-08-29 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* libc/libc.texinfo: Add node reference to wide-character strings. * libc/string/wcstrings.tex: New file. * libc/string/strtok_r.c: Remove outdated advertising clause. * libc/string/Makefile.am (doc): Add wide-character string chapter to documentation. * libc/string/Makefile.in: Regenerated.
2002-08-292002-08-29 Kazuhiro Fujieda <fujieda@jaist.ac.jp>Jeff Johnston
* libc/include/wchar.h: Define NULL. Define WEOF more general way. Declare functions in newlib manner. * libc/stdlib/Makefile.am: Delete wmem*.c * libc/stdlib/Makefile.in: Regenerated. * libc/stdlib/wmemchr.c: Delete. * libc/stdlib/wmemcmp.c: Ditto. * libc/stdlib/wmemcpy.c: Ditto. * libc/stdlib/wmemmove.c: Ditto. * libc/stdlib/wmemset.c: Ditto. * libc/string/Makefile.am: Add wmem*.c and wcs*.c. * libc/string/Makefile.in: Regenerated. * libc/string/wcscat.c: New file derived from the NetBSD C Library. * libc/string/wcschr.c: Ditto. * libc/string/wcscmp.c: Ditto. * libc/string/wcscpy.c: Ditto. * libc/string/wcscspn.c: Ditto. * libc/string/wcslcat.c: Ditto. * libc/string/wcslcpy.c: Ditto. * libc/string/wcslen.c: Ditto. * libc/string/wcsncat.c: Ditto. * libc/string/wcsncmp.c: Ditto. * libc/string/wcsncpy.c: Ditto. * libc/string/wcspbrk.c: Ditto. * libc/string/wcsrchr.c: Ditto. * libc/string/wcsspn.c: Ditto. * libc/string/wcsstr.c: Ditto. * libc/string/wmemchr.c: Ditto. * libc/string/wmemcmp.c: Ditto. * libc/string/wmemcpy.c: Ditto. * libc/string/wmemmove.c: Ditto. * libc/string/wmemset.c: Ditto.
2002-08-292002-08-29 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* libc/locale/locale.c (_setlocale_r)[MB_CAPABLE]: Fix so default locale "" is accepted for LC_CTYPE or LC_MESSAGES and is treated as if "C" was specified.
2002-08-29 * poll.cc (poll): Peek sockets ready for read to see if there'sCorinna Vinschen
actually data.
2002-08-29Add linker relaxation to v850 toolchainNick Clifton
2002-08-29* cygthread.cc (hthreads): Remove unneeded global.Christopher Faylor
(cygthread::simplestub): New static member function. (cygthread::runner): Don't set hthreads. (cygthread::freerange): New member function. (cygthread::operator new): Call freerange if all cygwin slots are used up. (cygthread::exit_thread): Don't mess with event if freerange thread. (cygthread::detach): Ditto. * cygthread.h (class cygthread): Declare new member functions and variables.
2002-08-29removeChristopher Faylor
2002-08-292002-08-28 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* Makefile.am (install-data-local): Move install of build newlib.h after installing headers in libc/include so as to overwrite default newlib.h. * Makefile.in: Regenerated.