]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
21 years ago2002-09-11 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 11 Sep 2002 18:36:55 +0000 (18:36 +0000)]
2002-09-11  Jeff Johnston  <jjohnstn@redhat.com>

        * acinclude.m4 (enable-newlib-mb): Change check to
        default newlib_mb variable to empty string rather than "no".
        * configure.host: Remove hard-coding of -DMB_CAPABLE for
        x86-linux and Cygwin.  Add code to check for newlib_mb
        being unset in which case set to "yes" for x86-linux and
        Cygwin.  Change check for newlib_mb being "yes" to allow
        for an empty string.
        * configure.in (_MB_LEN_MAX): New AC_DEFINE.
        * newlib.hin (_MB_LEN_MAX): New define to configure.
        * aclocal.m4: Regenerated.
        * configure: Ditto.
        * libc/include/limits.h: New file.
        * libc/sys/linux/include/limits.h: Ditto.
        * doc/aclocal.m4 doc/configure libc/aclocal.m4
          libc/configure libc/machine/aclocal.m4
          libc/machine/configure libc/machine/a29k/aclocal.m4
          libc/machine/a29k/configure libc/machine/arm/aclocal.m4
          libc/machine/arm/configure libc/machine/d10v/aclocal.m4
          libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
          libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
          libc/machine/fr30/configure libc/machine/frv/aclocal.m4
          libc/machine/frv/configure libc/machine/h8300/aclocal.m4
          libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
          libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
          libc/machine/hppa/configure libc/machine/i386/aclocal.m4
          libc/machine/i386/configure libc/machine/i960/aclocal.m4
          libc/machine/i960/configure libc/machine/m32r/aclocal.m4
          libc/machine/m32r/configure libc/machine/m68hc11/aclocal.m4
          libc/machine/m68hc11/configure libc/machine/m68k/aclocal.m4
          libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
          libc/machine/m88k/configure libc/machine/mips/aclocal.m4
          libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
          libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
          libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
          libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
          libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
          libc/machine/sh/configure libc/machine/sparc/aclocal.m4
          libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
          libc/machine/tic80/configure libc/machine/v850/aclocal.m4
          libc/machine/v850/configure libc/machine/w65/aclocal.m4
          libc/machine/w65/configure libc/machine/xscale/aclocal.m4
          libc/machine/xscale/configure
          libc/machine/xstormy16/aclocal.m4
          libc/machine/xstormy16/configure libc/machine/z8k/aclocal.m4
          libc/machine/z8k/configure libc/sys/aclocal.m4
          libc/sys/configure libc/sys/a29khif/aclocal.m4
          libc/sys/a29khif/configure libc/sys/arc/aclocal.m4
          libc/sys/arc/configure libc/sys/arm/aclocal.m4
          libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
          libc/sys/cygwin/configure libc/sys/d10v/aclocal.m4
          libc/sys/d10v/configure libc/sys/decstation/aclocal.m4
          libc/sys/decstation/configure libc/sys/go32/aclocal.m4
          libc/sys/go32/configure libc/sys/h8300hms/aclocal.m4
          libc/sys/h8300hms/configure libc/sys/h8500hms/aclocal.m4
          libc/sys/h8500hms/configure libc/sys/idt/aclocal.m4
          libc/sys/idt/configure libc/sys/linux/aclocal.m4
          libc/sys/linux/configure libc/sys/linux/machine/aclocal.m4
          libc/sys/linux/machine/configure
          libc/sys/linux/machine/i386/aclocal.m4
          libc/sys/linux/machine/i386/configure
          libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
          libc/sys/mmixware/aclocal.m4 libc/sys/mmixware/configure
          libc/sys/netware/aclocal.m4 libc/sys/netware/configure
          libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
          libc/sys/sh/aclocal.m4 libc/sys/sh/configure
          libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
          libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
          libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
          libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
          libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
          libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
          libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
          libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
          libc/sys/w65/aclocal.m4 libc/sys/w65/configure
          libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
          libm/aclocal.m4 libm/configure: Regenerated.

21 years ago * grp.cc (initgroups): Call groups::clear_supp to free the
Corinna Vinschen [Wed, 11 Sep 2002 10:37:11 +0000 (10:37 +0000)]
* grp.cc (initgroups): Call groups::clear_supp to free the
supplementary group sids that may have been set by setgroups.
* security.cc (cygsidlist::free_sids): Also zero the class members.
* security.h (groups::clear_supp): New.
Rename cygsidlist_unknown to cygsidlist_empty.

21 years ago * ntsec.html: Add chapter for switching user context w/o password.
Corinna Vinschen [Wed, 11 Sep 2002 08:39:04 +0000 (08:39 +0000)]
* ntsec.html: Add chapter for switching user context w/o password.

21 years ago * lib/shell32.def: Add missing stubs.
Danny Smith [Wed, 11 Sep 2002 00:10:13 +0000 (00:10 +0000)]
* lib/shell32.def: Add missing stubs.

21 years ago* test commit
Frank Ch. Eigler [Tue, 10 Sep 2002 19:04:38 +0000 (19:04 +0000)]
* test commit

21 years ago2002-09-10 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Tue, 10 Sep 2002 19:02:38 +0000 (19:02 +0000)]
2002-09-10  Jeff Johnston  <jjohnstn@redhat.com>

        * COPYING.NEWLIB: More updates.

21 years ago2002-09-09 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Tue, 10 Sep 2002 00:46:45 +0000 (00:46 +0000)]
2002-09-09  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/sys/linux/machine/i386/crt0.c (_start): Remove
        code that clears the .bss section.

21 years ago2002-09-09 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Mon, 9 Sep 2002 21:42:14 +0000 (21:42 +0000)]
2002-09-09  Jeff Johnston  <jjohnstn@redhat.com>

        * 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.

21 years ago2002-09-09 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Mon, 9 Sep 2002 20:57:01 +0000 (20:57 +0000)]
2002-09-09  Jeff Johnston  <jjohnstn@redhat.com>

        * COPYING.NEWLIB: Update.

21 years ago* fhandler_tty.cc (fhandler_tty_slave::open): Don't protect input/output
Christopher Faylor [Sun, 8 Sep 2002 19:35:41 +0000 (19:35 +0000)]
* fhandler_tty.cc (fhandler_tty_slave::open): Don't protect input/output
handles since they are not properly manipulated later.
* tty.cc (tty::make_pipes): Ditto.

21 years ago * include/windef.h (WINVER): Add documentation.
Earnie Boyd [Sat, 7 Sep 2002 16:47:35 +0000 (16:47 +0000)]
* include/windef.h (WINVER): Add documentation.
(_WIN32_WINNT): Ditto.
Special thanks to Paul Schmidt <paul@tricattechnologies.com>

21 years ago2002-09-06 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 6 Sep 2002 15:45:58 +0000 (15:45 +0000)]
2002-09-06  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/sys/config.h (MB_LEN_MAX): Removed as this
        is defined by <limits.h>.

21 years agowhitespace
Christopher Faylor [Fri, 6 Sep 2002 04:39:49 +0000 (04:39 +0000)]
whitespace

21 years ago* winsup.h (_WIN32_WINNT): Protect.
Christopher Faylor [Fri, 6 Sep 2002 04:30:46 +0000 (04:30 +0000)]
* winsup.h (_WIN32_WINNT): Protect.

21 years ago* winsup.h (_WIN32_WINNT): Define.
Christopher Faylor [Fri, 6 Sep 2002 04:21:30 +0000 (04:21 +0000)]
* winsup.h (_WIN32_WINNT): Define.

21 years ago * lib/Makefile.in (TEST_OPTIONS): Define WINVER to 0x0666.
Danny Smith [Fri, 6 Sep 2002 03:24:06 +0000 (03:24 +0000)]
* lib/Makefile.in (TEST_OPTIONS): Define WINVER to 0x0666.

21 years ago2002-09-05 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
Jeff Johnston [Thu, 5 Sep 2002 15:26:42 +0000 (15:26 +0000)]
2002-09-05  Kazuhiro Fujieda  <fujieda@jaist.ac.jp>

        * libc/include/wchar.h (WCHAR_MAX): Only define if not already
        defined.

21 years ago * include/_mingw.h: Increment version to 2.3.
Earnie Boyd [Thu, 5 Sep 2002 14:27:29 +0000 (14:27 +0000)]
* include/_mingw.h: Increment version to 2.3.
Makefile.in: Ditto.

21 years ago * mingwex/fegetenv.c: Change to \n line endings.
Earnie Boyd [Thu, 5 Sep 2002 11:51:26 +0000 (11:51 +0000)]
* mingwex/fegetenv.c: Change to \n line endings.
* mingwex/vsnprintf.c: Ditto.
* mingwex/vsnwprintf.c: Ditto.

21 years ago2002-09-04 Kevin Chase <kevincha99@hotmail.com>
Danny Smith [Wed, 4 Sep 2002 22:20:52 +0000 (22:20 +0000)]
2002-09-04  Kevin Chase  <kevincha99@hotmail.com>

* include/winbase.h (AllocateUserPhysicalPages,
MapUserPhysicalPages, MapUserPhysicalPagesScatter,
FreeUserPhysicalPages): Add prototypes.
* lib/kernel32.def: Add function stubs for above.

21 years ago2002-09-04 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
Jeff Johnston [Wed, 4 Sep 2002 18:17:55 +0000 (18:17 +0000)]
2002-09-04  Kazuhiro Fujieda  <fujieda@jaist.ac.jp>

        * 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.

21 years ago2002-09-04 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
Jeff Johnston [Wed, 4 Sep 2002 18:16:55 +0000 (18:16 +0000)]
2002-09-04  Kazuhiro Fujieda  <fujieda@jaist.ac.jp>

        * 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.

21 years agosome edits
Christopher Faylor [Wed, 4 Sep 2002 15:17:24 +0000 (15:17 +0000)]
some edits

21 years agofirst draft
Christopher Faylor [Wed, 4 Sep 2002 15:14:14 +0000 (15:14 +0000)]
first draft

21 years agofix typo
Christopher Faylor [Wed, 4 Sep 2002 14:56:56 +0000 (14:56 +0000)]
fix typo

21 years ago * Makefile.in (DLL_OFILES): Drop shortcut.o.
Corinna Vinschen [Wed, 4 Sep 2002 13:11:29 +0000 (13:11 +0000)]
* Makefile.in (DLL_OFILES): Drop shortcut.o.
* 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.

21 years agoHave objdump's --help switch document PPC -M options.
Nick Clifton [Wed, 4 Sep 2002 10:08:07 +0000 (10:08 +0000)]
Have objdump's --help switch document PPC -M options.

21 years ago * fhandler.h (fhandler_socket::read): Remove method.
Corinna Vinschen [Wed, 4 Sep 2002 09:39:35 +0000 (09:39 +0000)]
* fhandler.h (fhandler_socket::read): Remove method.
(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.

21 years ago2002-09-03 Ren� M�ller Fonseca <fonseca@users.sourceforge.net>
Danny Smith [Tue, 3 Sep 2002 22:29:11 +0000 (22:29 +0000)]
2002-09-03  Ren� M�ller Fonseca  <fonseca@users.sourceforge.net>

* include/winuser.h (IDTRYAGAIN,IDCONTINUE): Add defines.
Add WINVER guards for dialog box command id defines.

21 years ago2002-09-03 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Tue, 3 Sep 2002 19:52:10 +0000 (19:52 +0000)]
2002-09-03  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/string/wcschr.c: Add include of <stddef.h>.
        * libc/string/wcspbrk.c: Ditto.
        * libc/string/wcsrchr.c: Ditto.
        * libc/string/wcsstr.c: Ditto.

21 years ago2002-09-03 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Tue, 3 Sep 2002 19:40:36 +0000 (19:40 +0000)]
2002-09-03  Jeff Johnston  <jjohnstn@redhat.com>

        * 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>.

21 years ago * include/wincon.h (GetConsoleWindow): Add _WIN32_WINNT >= 0x0500 guard.
Earnie Boyd [Tue, 3 Sep 2002 16:25:54 +0000 (16:25 +0000)]
* include/wincon.h (GetConsoleWindow): Add _WIN32_WINNT >= 0x0500 guard.

21 years ago * cygwin.din: Revert exporting new wchar functions.
Corinna Vinschen [Tue, 3 Sep 2002 12:26:51 +0000 (12:26 +0000)]
* cygwin.din: Revert exporting new wchar functions.
* include/cygwin/version.h: Change comment for API minor 62.

21 years ago* dcrt0.cc (dll_crt0_1): Remove getpagesize() call.
Christopher Faylor [Mon, 2 Sep 2002 06:00:59 +0000 (06:00 +0000)]
* dcrt0.cc (dll_crt0_1): Remove getpagesize() call.
* shared.cc (memory_init): Move it here.

21 years ago * mingwex/math/hypotl.c: Replace with version based on cephes
Danny Smith [Mon, 2 Sep 2002 03:00:37 +0000 (03:00 +0000)]
* mingwex/math/hypotl.c: Replace with version based on cephes
library.

21 years ago* fhandler_proc.cc: Add <sys/param.h> include.
Christopher Faylor [Sat, 31 Aug 2002 16:37:51 +0000 (16:37 +0000)]
* fhandler_proc.cc: Add <sys/param.h> include.
(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.

21 years ago* fhandler_tty.cc (fhandler_tty_slave::fhandler_tty_slave): Set "don't need
Christopher Faylor [Sat, 31 Aug 2002 03:41:43 +0000 (03:41 +0000)]
* fhandler_tty.cc (fhandler_tty_slave::fhandler_tty_slave): Set "don't need
ready for read" flag.
(fhandler_tty_slave::read): Don't do anything special with vtime when vmin ==
0.

21 years ago(inspired by a patch from Egor Duda)
Christopher Faylor [Sat, 31 Aug 2002 03:35:50 +0000 (03:35 +0000)]
(inspired by a patch from Egor Duda)
* 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.

21 years agoChristopher Faylor <cgf@redhat.com>
Christopher Faylor [Fri, 30 Aug 2002 16:03:52 +0000 (16:03 +0000)]
Christopher Faylor <cgf@redhat.com>
* tty.cc (tty_list::allocate_tty): Use GetConsoleWindow, if available.  Call
FindWindow in a loop.

21 years ago* include/wincon.h: Define GetConsoleWindow(void).
Christopher Faylor [Fri, 30 Aug 2002 15:58:06 +0000 (15:58 +0000)]
* include/wincon.h: Define GetConsoleWindow(void).

21 years ago* miscfuncs.cc (check_iovec_for_read): Don't check buffer when zero length
Christopher Faylor [Fri, 30 Aug 2002 15:47:10 +0000 (15:47 +0000)]
* miscfuncs.cc (check_iovec_for_read): Don't check buffer when zero length
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.

21 years ago Sigh, mbsrtowcs was still missing...
Corinna Vinschen [Fri, 30 Aug 2002 13:30:26 +0000 (13:30 +0000)]
Sigh, mbsrtowcs was still missing...

21 years ago * cygwin.din: Add more prototypes for new wchar functions in newlib.
Corinna Vinschen [Fri, 30 Aug 2002 13:01:58 +0000 (13:01 +0000)]
* cygwin.din: Add more prototypes for new wchar functions in newlib.

21 years ago * cygwin.din: Add prototypes for new wchar functions in newlib.
Corinna Vinschen [Fri, 30 Aug 2002 12:18:56 +0000 (12:18 +0000)]
* cygwin.din: Add prototypes for new wchar functions in newlib.
* include/cygwin/version.h: Bump API minor number.

21 years ago* how-api.texinfo: Remove a line from the CRLF discussion about lseek not
Christopher Faylor [Fri, 30 Aug 2002 00:42:19 +0000 (00:42 +0000)]
* how-api.texinfo: Remove a line from the CRLF discussion about lseek not
working.  Answer thread safe question more simply.

21 years ago * libc/sys/linux/argp: New directory.
Thomas Fitzsimmons [Thu, 29 Aug 2002 23:53:06 +0000 (23:53 +0000)]
* libc/sys/linux/argp: New directory.
* 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.

21 years ago2002-08-29 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 29 Aug 2002 19:47:43 +0000 (19:47 +0000)]
2002-08-29  Jeff Johnston  <jjohnstn@redhat.com>

        * 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.

21 years ago2002-08-29 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
Jeff Johnston [Thu, 29 Aug 2002 19:38:25 +0000 (19:38 +0000)]
2002-08-29  Kazuhiro Fujieda  <fujieda@jaist.ac.jp>

        * 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.

21 years ago2002-08-29 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 29 Aug 2002 15:32:08 +0000 (15:32 +0000)]
2002-08-29  Jeff Johnston  <jjohnstn@redhat.com>

        * 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.

21 years ago * poll.cc (poll): Peek sockets ready for read to see if there's
Corinna Vinschen [Thu, 29 Aug 2002 09:41:00 +0000 (09:41 +0000)]
* poll.cc (poll): Peek sockets ready for read to see if there's
actually data.

21 years agoAdd linker relaxation to v850 toolchain
Nick Clifton [Thu, 29 Aug 2002 06:49:35 +0000 (06:49 +0000)]
Add linker relaxation to v850 toolchain

22 years ago* cygthread.cc (hthreads): Remove unneeded global.
Christopher Faylor [Thu, 29 Aug 2002 03:33:50 +0000 (03:33 +0000)]
* cygthread.cc (hthreads): Remove unneeded global.
(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.

22 years agoremove
Christopher Faylor [Thu, 29 Aug 2002 02:15:26 +0000 (02:15 +0000)]
remove

22 years ago2002-08-28 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 29 Aug 2002 00:22:10 +0000 (00:22 +0000)]
2002-08-28  Jeff Johnston  <jjohnstn@redhat.com>

        * 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.

22 years ago2002-08-28 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 28 Aug 2002 23:42:53 +0000 (23:42 +0000)]
2002-08-28  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/newlib.h: New file for tools that use newlib
        headers but don't build newlib first (e.g. gcc).

22 years ago * include/w32api.h: Increment version to 2.1.
Earnie Boyd [Wed, 28 Aug 2002 22:26:46 +0000 (22:26 +0000)]
* include/w32api.h: Increment version to 2.1.
* Makefile.in: Ditto.

22 years ago * include/sys/param.h: Add ENDIAN defines.
Danny Smith [Wed, 28 Aug 2002 21:24:59 +0000 (21:24 +0000)]
* include/sys/param.h: Add ENDIAN defines.
* test_headers.c: Include sys/param.h.

22 years agoremove
Christopher Faylor [Wed, 28 Aug 2002 18:24:57 +0000 (18:24 +0000)]
remove

22 years ago2002-08-28 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 28 Aug 2002 17:58:44 +0000 (17:58 +0000)]
2002-08-28  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/stdlib/wmemchr.c: Explicitly include <_ansi.h>.
        * libc/stdlib/wmemcmp.c: Ditto.
        * libc/stdlib/wmemcpy.c: Ditto.
        * libc/stdlib/wmemmove.c: Ditto.
        * libc/stdlib/wmemset.c: Ditto.

22 years ago* malloc.cc: Protect some definitions to avoid a compile time warning.
Christopher Faylor [Wed, 28 Aug 2002 16:08:09 +0000 (16:08 +0000)]
* malloc.cc: Protect some definitions to avoid a compile time warning.

22 years ago * calls.texinfo: Add getc_unlocked, getchar_unlocked, putc_unlocked
Corinna Vinschen [Wed, 28 Aug 2002 10:53:55 +0000 (10:53 +0000)]
* calls.texinfo: Add getc_unlocked, getchar_unlocked, putc_unlocked
and putchar_unlocked.

22 years ago * cygwin.din: Export getc_unlocked, getchar_unlocked,
Corinna Vinschen [Wed, 28 Aug 2002 10:50:27 +0000 (10:50 +0000)]
* cygwin.din: Export getc_unlocked, getchar_unlocked,
putc_unlocked, putchar_unlocked functions.
* include/cygwin/version.h: Bump api minor.

22 years agoAdd TMS320C4x support
Nick Clifton [Wed, 28 Aug 2002 10:38:49 +0000 (10:38 +0000)]
Add TMS320C4x support

22 years ago * fhandler_socket.cc (fhandler_socket::recvfrom): Eliminate flags
Corinna Vinschen [Wed, 28 Aug 2002 10:18:20 +0000 (10:18 +0000)]
* fhandler_socket.cc (fhandler_socket::recvfrom): Eliminate flags
not understood by WinSock.
(fhandler_socket::sendto): Ditto.  If WinSock sendto() returns
WSAESHUTDOWN, change errno to EPIPE and raise SIGPIPE if MSG_NOSIGNAL
isn't set in flags.
* include/cygwin/socket.h: Define MSG_WINMASK and MSG_NOSIGNAL.
* include/cygwin/version.h: Bump API minor number.

22 years ago * poll.cc (poll): Eliminate erroneous POLLERR conditional.
Corinna Vinschen [Wed, 28 Aug 2002 09:29:42 +0000 (09:29 +0000)]
* poll.cc (poll): Eliminate erroneous POLLERR conditional.

22 years ago * test_headers.c: Don't include varargs.h.
Danny Smith [Wed, 28 Aug 2002 03:57:16 +0000 (03:57 +0000)]
* test_headers.c: Don't include varargs.h.
* Makefile.in (test_headers): Don't use -std=xx
with -xc++. Test -std=gnu89, gnu99 also.

22 years agofragging mumble bruggum newlib
Christopher Faylor [Wed, 28 Aug 2002 00:30:49 +0000 (00:30 +0000)]
fragging mumble bruggum newlib

22 years ago2002-08-27 Egor Duda <deo@logos-m.ru>
Jeff Johnston [Tue, 27 Aug 2002 21:20:10 +0000 (21:20 +0000)]
2002-08-27  Egor Duda  <deo@logos-m.ru>

        * libc/stdlib/wmemchr.c: New file.
        * libc/stdlib/wmemcmp.c: Ditto.
        * libc/stdlib/wmemcpy.c: Ditto.
        * libc/stdlib/wmemmove.c: Ditto.
        * libc/stdlib/wmemset.c: Ditto.
        * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add new files.
        * configure.host: Default -DMB_CAPABLE for cygwin.
        * libc/include/wchar.h: Declare wmemchr(), wmemcmp(), wmemcpy(),
        wmemmove() and wmemset().  Add include of <_ansi.h>.
        * libc/stdlib/Makefile.in: Regenerate.

22 years ago2002-08-27 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Tue, 27 Aug 2002 20:30:15 +0000 (20:30 +0000)]
2002-08-27  Jeff Johnston  <jjohnstn@redhat.com>

        * configure.host: Remove _ELIX_LEVEL flag setting.
        * Makefile.am(stmp-targ-include): Copy newlib.h to targ-include.
        (install-data-local): Install newlib.h.
        * Makefile.in: Regenerated.
        * aclocal.m4: Ditto.
        * configure: Ditto.
        * configure.in: Add AM_CONFIG_HEADER to generate newlib.h based on
        newlib.hin.  Add AC_DEFINE_UNQUOTED entries for _ELIX_LEVEL
        and _NEWLIB_VERSION to fill in newlib.h header file entries.
        In AC_OUTPUT statement, unset ac_file so multilib support does
        not use last ac_file temporary used in newlib.h configuration.
        * libc/include/_ansi.h: Include <newlib.h>.
        * newlib.hin: New template file for newlib.h.
        * stamp-h.in: New file.

22 years ago2002-08-27 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Tue, 27 Aug 2002 20:27:35 +0000 (20:27 +0000)]
2002-08-27  Jeff Johnston  <jjohnstn@redhat.com>

        * Makefile.am(stmp-targ-include): Copy newlib.h to targ-include.
        (install-data-local): Install newlib.h.
        * Makefile.in: Regenerated.
        * aclocal.m4: Ditto.
        * configure: Ditto.
        * configure.in: Add AM_CONFIG_HEADER to generate newlib.h based on
        newlib.hin.  Add AC_DEFINE_UNQUOTED entries for _ELIX_LEVEL
        and _NEWLIB_VERSION to fill in newlib.h header file entries.
        In AC_OUTPUT statement, unset ac_file so multilib support does
        not use last ac_file temporary used in newlib.h configuration.
        * libc/include/_ansi.h: Include <newlib.h>.
        * newlib.hin: New template file for newlib.h.
        * stamp-h.in: New file.

22 years ago * fhandler_socket.cc (fhandler_socket::check_peer_secret_event):
Corinna Vinschen [Tue, 27 Aug 2002 09:24:50 +0000 (09:24 +0000)]
* fhandler_socket.cc (fhandler_socket::check_peer_secret_event):
Fix strace message.
(fhandler_socket::connect): Remove sigframe.
(fhandler_socket::accept): Ditto.
(fhandler_socket::getsockname): Ditto.
(fhandler_socket::getpeername): Ditto.
(fhandler_socket::recvfrom): Ditto.
(fhandler_socket::recvmsg): Ditto.
(fhandler_socket::sendto): Ditto.
(fhandler_socket::sendmsg): Ditto.
(fhandler_socket::close): Ditto.
(fhandler_socket::ioctl): Ditto.
* ioctl.cc (ioctl): Add sigframe.
*net.cc (cygwin_sendto): Ditto.
(cygwin_recvfrom): Ditto.
(cygwin_recvfrom): Ditto.
(cygwin_connect): Ditto.
(cygwin_shutdown): Ditto.
(cygwin_getpeername): Ditto.
(cygwin_accept): Ditto.  Improve strace message.
(cygwin_getsockname): Ditto.  Ditto.
(cygwin_recvmsg): Ditto.  Ditto.
(cygwin_sendmsg): Fix strace message.

22 years ago* child_info.h: Add _PROC_WHOOPS enum value.
Christopher Faylor [Tue, 27 Aug 2002 04:10:54 +0000 (04:10 +0000)]
* child_info.h: Add _PROC_WHOOPS enum value.
(CURR_CHILD_INFO_MAGIC): Update.
(child_info::magic): Make 'long'.
* cygheap.h: Export _cygheap_start.
* cygheap.cc: Don't declare _cygheap_start.
* cygmagic: Use cksum to produce checksums.  Append 'U' to end of checksum.
* dcrt0.cc (initial_env): Calculate sleep ms before reusing buffer.
(_dll_crt0): Detect cygheap mismatch as indicative of different cygwin version.
Set child_proc_info to NULL when _PROC_WHOOPS.
(multiple_cygwin_problem): If child_info specific problem, then set
child_proc_info type to _PROC_WHOOPS.
* shared_info.h (CURR_MOUNT_MAGIC): Update.
(CURR_SHARED_MAGIC): Ditto.

22 years ago2002-08-26 Bart Oldeman <bart.oldeman@btinternet.com>
Danny Smith [Mon, 26 Aug 2002 23:33:17 +0000 (23:33 +0000)]
2002-08-26  Bart Oldeman  <bart.oldeman@btinternet.com>

* include/winsock2.h (SOCKET_ADDRESS): Define if
__CSADDR_T_DEFINED is not defined (copied from nspapi.h)
(CSADDR_INFO): Ditto.
(nspapi.h) : Don't include. Removed FIXME comment.
* include/nspapi.h (SOCKET_ADDRESS) Only define if
__CSADDR_T_DEFINED is not defined.
(CSADDR_INFO): Ditto.
(BLOB): Added structure and typedef if not already defined.
(NS_*): Add defines.
(SERVICE_*): Ditto.
(SERVICE_ADDRESS): Add structure and typedefs.
  (SERVICE_ADDRESSES): Ditto.
(SERVICE_INFO[AW]): Ditto, and add UNICODE mappings.
(LPSERVICE_ASYNC_INFO): Add typedef.
(SetService[AW], GetAddressByName[AW]): Add prototypes and UNICODE
mappings.
* include/wsipx.h: New file.
* include/svcguid.h: New file.
* lib/test.c: Include wspix.h and svcguid.h.

22 years ago2002-08-26 Casper S. Hornstrup <chorns@users.sourceforge.net>
Danny Smith [Mon, 26 Aug 2002 22:13:05 +0000 (22:13 +0000)]
2002-08-26  Casper S. Hornstrup  <chorns@users.sourceforge.net>

* include/wsahelp.h: New file.
* lib/test.c: Include wsahelp.h.

22 years agoFix typo.
Jeff Johnston [Mon, 26 Aug 2002 20:26:57 +0000 (20:26 +0000)]
Fix typo.

22 years ago2002-08-26 Wu Yongwei <adah@netstd.com>
Jeff Johnston [Mon, 26 Aug 2002 19:05:48 +0000 (19:05 +0000)]
2002-08-26  Wu Yongwei <adah@netstd.com>

        * time.h (timezonevar): Change "#if" to "#ifdef".

22 years ago2002-08-26 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Mon, 26 Aug 2002 18:56:09 +0000 (18:56 +0000)]
2002-08-26  Jeff Johnston  <jjohnstn@redhat.com>

        * Makefile.am(LIBC_OBJECTLISTS): Add STDIO64_OBJECTLIST.
        * Makefile.in: Regenerated.
        * acinclude.m4: Add support for --enable-newlib-elix-level option.
        * aclocal.m4: Regenerated.
        * configure: Ditto.
        * configure.host: Add code to define _ELIX_LEVEL if
        --enable-newlib-elix-level option is used.
        * configure.in:
        * libc/aclocal.m4: Regenerated.
        * libc/configure: Ditto.
        * libc/argz/Makefile.am: Add EL/IX level checking.
        * libc/argz/Makefile.in: Regenerated.
        * libc/argz/dummy.c: New file.
        * libc/ctype/Makefile.am: Add EL/IX level checking.
        * libc/ctype/Makefile.in: Regenerated.
        * libc/locale/Makefile.am: Add EL/IX level checking.
        * libc/locale/Makefile.in: Regenerated.
        * libc/posix/Makefile.am: Add EL/IX level checking.
        * libc/posix/Makefile.in: Regenerated.
        * libc/posix/telldir.c: Add EL/IX level checking.
        * libc/reent/Makefile.am: Ditto.
        * libc/reent/fstat64r.c: Ditto.
        * libc/reent/lseek64r.c: Ditto.
        * libc/reent/open64r.c: Ditto.
        * libc/reent/Makefile.in: Regenerated.
        * libc/search/Makefile.am: Add EL/IX level checking.
        * libc/search/Makefile.in: Regenerated.
        * libc/stdio/Makefile.am: Add EL/IX level checking.
        * libc/stdio/Makefile.in: Regenerated.
        * libc/stdio64/Makefile.am: Add EL/IX level checking.
        * libc/stdio64/Makefile.in: Regenerated.
        * libc/stdio64/dummy.c: New file.
        * libc/stdio64/fgetpos64.c: Fix so _LARGEFILE_64 macro is checked
        after first include.
        * libc/stdio64/fopen64.c: Ditto.
        * libc/stdio64/freopen64.c: Ditto.
        * libc/stdio64/fseeko64.c: Ditto.
        * libc/stdio64/fsetpos64.c: Ditto.
        * libc/stdio64/ftello64.c: Ditto.
        * libc/stdio64/tmpfile64.c: Ditto.
        * libc/stdlib/Makefile.am: Add EL/IX level checking.
        * libc/stdlib/Makefile.in: Regenerated.
        * libc/stdlib/mstats.c: Add EL/IX level checking.
        * libc/string/Makefile.am: Ditto.
        * libc/string/Makefile.in: Regenerated.
        * libc/sys/linux/Makefile.am: Add EL/IX level checking.
        * libc/sys/linux/Makefile.in: Regenerated.
        * libc/sys/linux/aclocal.m4: Ditto.
        * libc/sys/linux/configure: Ditto.
        * libc/sys/linux/aio.c: Add EL/IX level checking.
        * libc/sys/linux/ftok.c: Ditto.
        * libc/sys/linux/getdate.c: Ditto.
        * libc/sys/linux/ids.c: Ditto.
        * libc/sys/linux/inode.c: Ditto.
        * libc/sys/linux/io.c: Ditto.
        * libc/sys/linux/process.c: Ditto.
        * libc/sys/linux/resource.c: Ditto.
        * libc/sys/linux/sched.c: Ditto.
        * libc/sys/linux/sig.c: Ditto.
        * libc/sys/linux/termios.c: Ditto.
        * libc/sys/linux/wait.c: Ditto plus add __waitpid and
        __libc___waitpid weak aliases.
        * libc/sys/linux/machine/i386/syscall.h: Add new _base macros
        that generate the code for a syscall, but do not create a
        weak alias.
        * libc/syscalls/Makefile.am: Add EL/IX level checking.
        * libc/syscalls/Makefile.in: Regenerated.
        * libc/time/tzset_r.c: Change to replace strdup with equivalent
        functionality.
        * libc/unix/Makefile.am: Add EL/IX level checking.
        * libc/unix/Makefile.in: Regenerated.

22 years ago* dll.sgml: Remove indirect reference to older gccs.
Christopher Faylor [Mon, 26 Aug 2002 18:03:40 +0000 (18:03 +0000)]
* dll.sgml: Remove indirect reference to older gccs.

22 years ago * fhandler.h (fhandler_socket::recvfrom): Fix prototype.
Corinna Vinschen [Mon, 26 Aug 2002 09:57:27 +0000 (09:57 +0000)]
* fhandler.h (fhandler_socket::recvfrom): Fix prototype.
(fhandler_socket::sendto): Ditto.
* fhandler_socket.cc (fhandler_socket::recvfrom): Ditto.
(fhandler_socket::sendto): Ditto.
* include/sys/socket.h (recv): Fix prototype.
(recvfrom): Ditto.
(send): Ditto.
(sendto): Ditto.
* net.cc (cygwin_sendto): Ditto. Improve strace message
(cygwin_recvfrom): Ditto.  Ditto.
(cygwin_setsockopt): Improve strace message.
(cygwin_getsockopt): Ditto.
(cygwin_connect): Ditto.
(cygwin_accept): Ditto.
(cygwin_bind): Ditto.
(cygwin_getsockname): Ditto.
(cygwin_getpeername): Ditto.
(cygwin_recv): Fix prototype.
(cygwin_send): Ditto.
(cygwin_recvmsg): Improve strace message.
(cygwin_sendmsg): Ditto.

22 years ago * sec_acl.cc (getacl): Check ace_sid == well_known_world_sid
Corinna Vinschen [Mon, 26 Aug 2002 09:56:06 +0000 (09:56 +0000)]
* sec_acl.cc (getacl): Check ace_sid == well_known_world_sid
before owner_sid and group_sid so that well_known_world_sid
means "other" even when owner_sid and/or group_sid are Everyone.
* security.cc (get_attribute_from_acl): Created from code common
to get_nt_attribute() and get_nt_object_attribute(), with same
reordering as in getacl() above.
(get_nt_attribute): Call get_attribute_from_acl().
(get_nt_object_attribute): Ditto.

22 years ago* libc/include/malloc.h: On cygwin, define malloc _r functions as wrapper
Christopher Faylor [Mon, 26 Aug 2002 04:33:46 +0000 (04:33 +0000)]
* libc/include/malloc.h: On cygwin, define malloc _r functions as wrapper
macros to standard malloc functions.
* libc/include/stdlib.h: Ditto.
* configure.host: Always define MALLOC_PROVIDED on cygwin.

22 years ago* Makefile.in (cygcheck.exe): Make a -mno-cygwin program.
Christopher Faylor [Mon, 26 Aug 2002 04:30:11 +0000 (04:30 +0000)]
* Makefile.in (cygcheck.exe): Make a -mno-cygwin program.
* cygrun.c (main): Export CYGWIN=ntsec unless otherwise set.
* shared.cc (shared_name): Only add build date to shared name when
*testing*.

22 years ago* Makefile.in (RUNTEST): Use Makefile's srcdir and bupdir* macros, where
Christopher Faylor [Mon, 26 Aug 2002 02:53:24 +0000 (02:53 +0000)]
* Makefile.in (RUNTEST): Use Makefile's srcdir and bupdir* macros, where
appropriate.
* winsup.api/winsup.exp: Use -nodefaultlibs when linking executable to avoid
potentially linking installed dll.

22 years ago* Makefile.in (DLL_IMPORTS): Move libuuid.a and libshell32.a to list rather
Christopher Faylor [Sun, 25 Aug 2002 00:07:10 +0000 (00:07 +0000)]
* Makefile.in (DLL_IMPORTS): Move libuuid.a and libshell32.a to list rather
than referring to them via -l.  Add DLL imports last in link line for
new-cygwin.dll and cygrun.exe.

22 years ago2002-08-23 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Fri, 23 Aug 2002 22:24:57 +0000 (22:24 +0000)]
2002-08-23  Andrew Cagney  <ac131313@redhat.com>

* texinfo/texinfo.tex: Import version 2002-06-04.06.

22 years agoImport config.guess and config.sub.
Andrew Cagney [Fri, 23 Aug 2002 21:22:39 +0000 (21:22 +0000)]
Import config.guess and config.sub.

22 years agooutput some newlines.
Christopher Faylor [Fri, 23 Aug 2002 15:46:00 +0000 (15:46 +0000)]
output some newlines.

22 years ago * libc/include/langinfo.h: New file.
Thomas Fitzsimmons [Fri, 23 Aug 2002 01:56:05 +0000 (01:56 +0000)]
* libc/include/langinfo.h: New file.
* libc/include/wchar.h: Likewise.
* libc/include/sys/syslimits.h: Likewise.
* libc/locale/fix_grouping.c: Likewise.
* libc/locale/ldpart.c: Likewise.
* libc/locale/ldpart.h: Likewise.
* libc/locale/lmessages.c: Likewise.
* libc/locale/lmessages.h: Likewise.
* libc/locale/lmonetary.c: Likewise.
* libc/locale/lmonetary.h: Likewise.
* libc/locale/lnumeric.c: Likewise.
* libc/locale/lnumeric.h: Likewise.
* libc/locale/nl_langinfo.3: Likewise.
* libc/locale/nl_langinfo.c: Likewise.
* libc/locale/timelocal.c: Likewise.
* libc/locale/timelocal.h: Likewise.
* libc/stdlib/btowc.c: Likewise.
* libc/stdlib/mbrlen.c: Likewise.
* libc/stdlib/mbrtowc.c: Likewise.
* libc/stdlib/mbsinit.c: Likewise.
* libc/stdlib/mbsrtowcs.c: Likewise.
* libc/stdlib/wcrtomb.c: Likewise.
* libc/stdlib/wcsrtombs.c: Likewise.
* libc/stdlib/wctob.c: Likewise.
* libc/sys/linux/prof-freq.c: Likewise.
* libc/sys/linux/profile.c: Likewise.
* libc/sys/linux/machine/i386/dl-procinfo.c: Likewise.
* libc/sys/linux/machine/i386/dl-procinfo.h: Likewise.
* libc/include/stdlib.h: Change re-entrant functions to take
mbstate_t pointers.
* libc/include/sys/_types.h: Define _mbstate_t.
* libc/include/sys/config.h (MB_LEN_MAX): New macro.
* libc/include/sys/errno.h (EILSEQ): New error code.
* libc/include/sys/reent.h: Include wchar.h.  Change reentrant
structure to use mbstate_t.
* libc/locale/Makefile.am (LIB_SOURCES): Add new files.
* libc/machine/powerpc/vfprintf.c: Use mbstate_t.
* libc/machine/powerpc/vfscanf.c: Likewise.
* libc/stdio/getdelim.c: Reallocate buffer only when necessary.
* libc/stdio/vfprintf.c: Likewise.
* libc/stdio/vfscanf.c: Likewise.
* libc/stdlib/Makefile.am (LIB_SOURCES): Add new files.
* libc/stdlib/mblen.c: Use mbstate_t.
* libc/stdlib/mblen_r.c: Likewise.
* libc/stdlib/mbstowcs.c: Likewise.
* libc/stdlib/mbstowcs_r.c: Likewise.
* libc/stdlib/mbtowc.c: Likewise.
* libc/stdlib/mbtowc_r.c: Likewise.
* libc/stdlib/wcstombs.c: Likewise.
* libc/stdlib/wcstombs_r.c: Likewise.
* libc/stdlib/wctomb_r.c: Likewise.
* libc/sys/linux/Makefile.am (LIB_SOURCES): Add prof-freq.c and
profile.c.
* libc/sys/linux/machine/i386/Makefile.am (LIB_SOURCES): Add
dl-procinfo.c.
* libc/sys/linux/sys/errno.h (EILSEQ): New error code.
* libc/sys/linux/sys/types.h (off_t): Define type.
* testsuite/newlib.locale/UTF-8.c: Change locale name from UTF-8
to C-UTF-8.
* testsuite/newlib.locale/UTF-8.exp: Likewise.

22 years ago* dll.sgml: Remove indirect reference to older gccs.
Christopher Faylor [Wed, 21 Aug 2002 16:02:17 +0000 (16:02 +0000)]
* dll.sgml: Remove indirect reference to older gccs.

22 years ago* dll.sgml: Refine dll build instructions.
Christopher Faylor [Wed, 21 Aug 2002 15:45:04 +0000 (15:45 +0000)]
* dll.sgml: Refine dll build instructions.
* ntsec.html: Correct some typos.

22 years agofix some glitches
Christopher Faylor [Wed, 21 Aug 2002 15:42:18 +0000 (15:42 +0000)]
fix some glitches

22 years ago * include/sys/param.h: New File.
Earnie Boyd [Wed, 21 Aug 2002 12:49:56 +0000 (12:49 +0000)]
* include/sys/param.h: New File.

22 years ago * include/_mingw.h: Increment version to 2.2.
Earnie Boyd [Wed, 21 Aug 2002 12:18:28 +0000 (12:18 +0000)]
* include/_mingw.h: Increment version to 2.2.
Makefile.in: Ditto.

22 years ago * include/commctrl.h (NMCUSTOMDRAW): Fix lItemlParam.
Earnie Boyd [Wed, 21 Aug 2002 12:07:51 +0000 (12:07 +0000)]
* include/commctrl.h (NMCUSTOMDRAW): Fix lItemlParam.
Thanks to: "Phil Dempster" <p_dempster@yahoo.co.uk>.

22 years ago * include/math.h (asm): Change to __asm__ throughout.
Danny Smith [Tue, 20 Aug 2002 23:26:11 +0000 (23:26 +0000)]
* include/math.h (asm): Change to __asm__ throughout.
Expose ISO C99 functions if __GLIBCPP__.
(hypotf): Use hypot, not _hypot in stub..

22 years ago * include/tchar.h: Ansi-fy another comment.
Danny Smith [Tue, 20 Aug 2002 23:08:14 +0000 (23:08 +0000)]
* include/tchar.h: Ansi-fy another comment.

22 years ago * include/tchar.h: Ansi-fy comment.
Danny Smith [Tue, 20 Aug 2002 23:01:42 +0000 (23:01 +0000)]
* include/tchar.h: Ansi-fy comment.

22 years ago * test_headers.c : New file.
Danny Smith [Tue, 20 Aug 2002 22:56:59 +0000 (22:56 +0000)]
* test_headers.c : New file.
* Makefile.in (test_headers): New target, using it,
(SRCDIST_FILES): Distribute it.

22 years ago2002-08-20 Casper S. Hornstrup <chorns@users.sourceforge.net>
Jeff Johnston [Tue, 20 Aug 2002 15:29:30 +0000 (15:29 +0000)]
2002-08-20  Casper S. Hornstrup  <chorns@users.sourceforge.net>

        * libc/stdlib/mallocr.c: #include windows.h on Win32.
          (AlignPage): Continue macro on next line.

22 years ago* Makefile.in (GCC_FOR_TARGET): Prepend STAGE_CC_WRAPPER.
Alexandre Oliva [Tue, 20 Aug 2002 03:04:03 +0000 (03:04 +0000)]
* Makefile.in (GCC_FOR_TARGET): Prepend STAGE_CC_WRAPPER.
* configure.in (CC_FOR_TARGET, GCJ_FOR_TARGET, CXX_FOR_TARGET,
CXX_FOR_TARGET_FOR_RECURSIVE_MAKE): Likewise.

This page took 0.074177 seconds and 5 git commands to generate.