]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
21 years ago2002-09-19 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 19 Sep 2002 21:28:52 +0000 (21:28 +0000)]
2002-09-19  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/posix/opendir.c (opendir): Change code to check
        for HAVE_FCNTL before calling fcntl.
        * libc/search/hash.c (hash_open): Ditto.
        * libc/search/hash_page.c (open_tmp): Ditto.
        * libc/reent/Makefile.am: Add fcntlr.c.
        * libc/reent/Makefile.in: Regenerated.
        * libc/reent/fcntlr.c: New file.
        * libc/stdio/fdopen.c (_fdopen_r): Change to call _fcntl_r
        instead of _fcntl when HAVE_FCNTL flag is set.
        * libc/syscalls/sysfcntl.c (fcntl): Check for HAVE_FCNTL flag
        to see if _fcntl or _fcntl_r should be called.  If flag is not
        set, default to ENOSYS stub.

21 years agobfd/
Jakub Jelinek [Thu, 19 Sep 2002 19:01:18 +0000 (19:01 +0000)]
bfd/
* reloc.c (BFD_RELOC_386_TLS_TPOFF, BFD_RELOC_386_TLS_IE,
BFD_RELOC_386_TLS_GOTIE): Add.
* bfd-in2.h, libbfd.h: Rebuilt.
* elf32-i386.c (elf_howto_table): Add R_386_TLS_TPOFF, R_386_TLS_IE
and R_386_TLS_GOTIE.
(elf_i386_reloc_type_lookup): Handle it.
(struct elf_i386_link_hash_entry): Change tls_type type to unsigned
char instead of enum, change GOT_* into defines.
(GOT_TLS_IE_POS, GOT_TLS_IE_NEG, GOT_TLS_IE_BOTH): Define.
(elf_i386_tls_transition): Handle R_386_TLS_IE and R_386_TLS_GOTIE.
(elf_i386_check_relocs): Likewise.  Avoid crash if local symbol is
accessed both as normal and TLS symbol.  Move R_386_TLS_LDM and
R_386_PLT32 cases so that R_386_TLS_IE can fall through.
Handle R_386_TLS_LE_32 and R_386_TLS_LE in shared libs.
(elf_i386_gc_sweep_hook): Handle R_386_TLS_IE and R_386_TLS_GOTIE.
Handle R_386_TLS_LE_32 and R_386_TLS_LE in shared libs.
(allocate_dynrelocs): Allocate 2 .got and 2 .rel.got entries if
tls_type is GOT_TLS_IE_BOTH.
(elf_i386_size_dynamic_sections): Likewise.
(elf_i386_relocate_section): Handle R_386_TLS_IE and R_386_TLS_GOTIE.
Handle R_386_TLS_LE_32 and R_386_TLS_LE in shared libs.
(elf_i386_finish_dynamic_symbol): Use tls_type & GOT_TLS_IE to catch
all 4 GOT_TLS_* TLS types.
gas/
* config/tc-i386.c (tc_i386_fix_adjustable): Handle
BFD_RELOC_386_TLS_IE and BFD_RELOC_386_TLS_GOTIE.
(BFD_RELOC_386_TLS_IE, BFD_RELOC_386_TLS_GOTIE): Define to 0
if not defined.
(lex_got): Handle @GOTNTPOFF and @INDNTPOFF.
(md_apply_fix3, tc_gen_reloc): Handle BFD_RELOC_386_TLS_IE and
BFD_RELOC_386_TLS_GOTIE.
gas/testsuite/
* gas/i386/tlspic.s: Add tests.
* gas/i386/tlspic.d: Regenerated.
* gas/i386/tlsnopic.s: Add tests.
* gas/i386/tlsnopic.d: Regenerated.
include/
* elf/i386.h (R_386_TLS_TPOFF, R_386_TLS_IE, R_386_TLS_GOTIE):
Define.
ld/testsuite/
* ld-i386/i386.exp: New.
* ld-i386/tlsbin.dd: New test.
* ld-i386/tlsbinpic.s: New test.
* ld-i386/tlsbin.rd: New test.
* ld-i386/tlsbin.s: New test.
* ld-i386/tlsbin.sd: New test.
* ld-i386/tlsbin.td: New test.
* ld-i386/tlslib.s: New test.
* ld-i386/tlsnopic1.s: New test.
* ld-i386/tlsnopic2.s: New test.
* ld-i386/tlsnopic.dd: New test.
* ld-i386/tlsnopic.rd: New test.
* ld-i386/tlsnopic.sd: New test.
* ld-i386/tlspic1.s: New test.
* ld-i386/tlspic2.s: New test.
* ld-i386/tlspic.dd: New test.
* ld-i386/tlspic.rd: New test.
* ld-i386/tlspic.sd: New test.
* ld-i386/tlspic.td: New test.

21 years agoRemove (errant) trailing semicolon (;) from the extern "C" { } declaration.
Nick Clifton [Thu, 19 Sep 2002 15:48:16 +0000 (15:48 +0000)]
Remove (errant) trailing semicolon (;) from the extern "C" { } declaration.

21 years agoCleanup calls to CreateFile throughout.
Christopher Faylor [Thu, 19 Sep 2002 15:12:48 +0000 (15:12 +0000)]
Cleanup calls to CreateFile throughout.
* dcrt0.cc (__api_fatal): Correctly check for failing return from CreateFile.
* assert.cc (__assert): Don't check return value from CreateFile for NULL.
* fhandler_console.cc (set_console_state_for_spawn): Ditto.
* fork.cc (fork_parent): Ditto.

21 years ago * include/string.h (_strerror): Move into #ifndef
Danny Smith [Thu, 19 Sep 2002 05:35:30 +0000 (05:35 +0000)]
* include/string.h (_strerror): Move into #ifndef
__STRICT_ANSI__ block.

21 years ago* cygcheck.cc: Include sys/time.h rather than time.h to avoid a compiler error.
Christopher Faylor [Thu, 19 Sep 2002 03:48:19 +0000 (03:48 +0000)]
* cygcheck.cc: Include sys/time.h rather than time.h to avoid a compiler error.

21 years ago* cygthread.cc (cygthread::initialized): Avoid copying on fork or some threads
Christopher Faylor [Thu, 19 Sep 2002 03:30:20 +0000 (03:30 +0000)]
* cygthread.cc (cygthread::initialized): Avoid copying on fork or some threads
may not end up in the pool.
(cygthread::new): Avoid race when checking for initialized.  Add debugging
code.
* fhandler.cc (fhandler_base::raw_read): Add case for ERROR_INVALID_HANDLE due
to Win95 directories.
(fhandler_base::open): Handle errors due to Win95 directories.
(fhandler_base::close): Add get_nohandle () test.
(fhandler_base::set_close_on_exec): Ditto.
(fhandler_base::fork_fixup): Ditto.
(fhandler_base::lock): Change error code to Posix EINVAL.
(fhandler_base::dup): If get_nohandle (), set new value to INVALID_HANDLE_VALUE
instead of NULL.
* fhandler_disk_file.cc (fhandler_disk_file::fstat): Call fstat_by_name if
get_nohandle ().  Remove extraneous element from strpbrk.
(fhandler_disk_file::open): Remove test for Win95 directory.
* fhandler_random.cc (fhandler_dev_random::open): Add set_nohandle ().
* fhandler_clipboard.cc (fhandler_dev_clipboard::open): Ditto.
* fhandler_zero.cc (fhandler_dev_zero::open): Ditto.
(fhandler_dev_zero::close): Delete.
* fhandler.h (class fhandler_dev_zero): Ditto.

21 years ago2002-09-18 Eric R. Krause <ekrause_98@users.sourceforge.net>
Danny Smith [Thu, 19 Sep 2002 00:01:18 +0000 (00:01 +0000)]
2002-09-18  Eric R. Krause  <ekrause_98@users.sourceforge.net>

* include/winuser.h (DS_SHELLFONT): Define.

21 years ago * include/time.h (__need_NULL): Define before including
Danny Smith [Tue, 17 Sep 2002 21:36:02 +0000 (21:36 +0000)]
* include/time.h (__need_NULL): Define before including
stddef.h.  Thanks to: R�diger Dehmel  <de@lmnet.de>.

21 years ago2002-09-17 Daniel Schlyder <daniel@dascdev.net>
Danny Smith [Tue, 17 Sep 2002 21:21:48 +0000 (21:21 +0000)]
2002-09-17  Daniel Schlyder  <daniel@dascdev.net>

* include/winnt.h (VER_SUITE_BLADE): Define.

21 years ago* cygcheck.cc: Reorder includes to avoid compiler error.
Christopher Faylor [Tue, 17 Sep 2002 17:13:21 +0000 (17:13 +0000)]
* cygcheck.cc: Reorder includes to avoid compiler error.

21 years ago2002-09-17 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Tue, 17 Sep 2002 10:01:49 +0000 (10:01 +0000)]
2002-09-17  Robert Collins <rbtcollins@hotmail.com>

        * thread.cc (pthread_key::set): Preserve GetLastError(). Reported
        by Thomas Pffaf.

21 years ago2002-09-17 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Tue, 17 Sep 2002 09:12:36 +0000 (09:12 +0000)]
2002-09-17  Robert Collins  <rbtcollins@hotmail.com>

        This work inspires by Thomas Pfaff's pthread_fork patch (1).
        * fork.cc (fork_child): Remove MTinterface fixup call, it's
        adsorbed by pthread::atforkchild.
        Rename __pthread_atforkchild to pthread::atforkchild to give
        access to private members.
        (fork_parent): Rename __pthread_atforkparent to
        pthread::atforkparent to give it access to private members.
        Ditto for __pthread_atforkprepare.
        * thread.cc: Fix some formatting problems throughout.
        (MTinterface::fixup_before_fork): Implement.
        (MTinterface::fixup_after_fork): Fix pthread_keys.
        (pthread_key::keys): Implement.
        (pthread_key::fixup_before_fork): Ditto.
        (pthread_key::fixup_after_fork): Ditto.
        (pthread_key::pthread_key): Add to pthread_key::keys.
        (pthread_key::~pthread_key): Remove from pthread_key::keys.
        (pthread_key::saveKeyToBuffer): Implement.
        (pthread_key::recreateKeyFromBuffer): Ditto.
        (pthread::atforkprepare): Prepare all MT classes for fork.
        (pthread::atforkchild): And fix them up afterwards.
        * thread.h (pthread_key): Buffer the key value during
        fork in fork_buf.
        List the keys needing to be fixed up in a linked list with
        head pthread_key::keys.
        (pthread): Move atfork cygwin internal calls into the class.
        (MTInterface): Provide a fixup_before_fork for objecst that
        need to save state.
        (__pthread_atforkprepare): Remove.
        (__pthread_atforkparent): Remove.
        (__pthread_atforkchild): Remove.

21 years ago * include/shlobj.h (SHGetSpecialFolderPath[AW]): Add _WIN32_IE guard.
Danny Smith [Tue, 17 Sep 2002 03:08:11 +0000 (03:08 +0000)]
* include/shlobj.h (SHGetSpecialFolderPath[AW]): Add _WIN32_IE guard.
  Correct prototype for wide version.
(SHGetFolderPath): Add comment on shfolder.dll library.
(SHGetFolderLocation): Add prototyope for WinME and W2K.
(SHGetFolderPathAndSubDir[AW]): Add prototypes for XP.

21 years ago2002-09-16 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Mon, 16 Sep 2002 18:55:25 +0000 (18:55 +0000)]
2002-09-16  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/wchar.h (mbstate_t): Change protective flag to
        be _MBSTATE_T.
        * libc/include/sys/_types.h (_mbstate_t): Remove protective flag.
        [__CYGWIN__]: Remove special code that defines mbstate_t and WEOF
        for Cygwin.
        * libc/sys/linux/sys/_types.h (_mbstate_t): Remove protective flag.

21 years ago* init.cc: Cleanup slightly and remove obsolete code.
Christopher Faylor [Mon, 16 Sep 2002 16:09:54 +0000 (16:09 +0000)]
* init.cc: Cleanup slightly and remove obsolete code.

21 years ago2002-09-11 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Mon, 16 Sep 2002 10:53:29 +0000 (10:53 +0000)]
2002-09-11  Robert Collins  <rbtcollins@hotmail.com>

        * init.cc (dll_entry): On thread detach, if the thread hasn't
        exit()ed, do so.
        * pthread.cc (pthread_getsequence_np): Remove the
        __pthread_getsequence_np wrapper. This requires errno.h.
        * thread.cc (pthread::self): Instantiate a new pthread object
        when called and none exists. return a NULL object if instantiation
        fails.
        (pthread::precreate): Factor out common code.
        (pthread::postcreate): Ditto.
        (pthread::create): Ditto.
        (pthread::exit): Remove the TLS value when we exit to prevent
        double exits.
        (MTinterface::Init): Bugfix - don't mark the TLS index as created
        if one was not allocated.
        Apply Extract Method to move pthread specific initialisation into
        pthread.
        (pthread::initMainThread): Extracted method from MTinterface::Init.
        (pthread::setTlsSelfPointer): Extracted method from various pthread
        calls, to make reading those functions easier.
        (pthread::setThreadIdtoCurrent): Ditto.
        (pthread::cancel_self): Bring into the .cc file, it's only used
        within the class.
        (pthread::getThreadId): Ditto.
        (pthread::thread_init_wrapper): Apply Extract Method to the TLS
        setting logic.
        (pthread::isGoodObject): Extracted method from various pthread
        wrapper calls, for clarity of reading.
        (pthread::getsequence_np): Converted from __pthread_getsquence_np.
        (__pthread_create): Apply Extract Method to the object validation.
        (__pthread_cancel): Ditto.
        (__pthread_join): Ditto.
        (__pthread_detach): Ditto.
        (__pthread_suspend): Ditto.
        (__pthread_continue): Ditto.
        (__pthread_getschedparam): Ditto.
        (__pthread_getsequence_np): Remove.
        (__pthread_setschedparam): Apply Extract Method to the object
        validation.
        (pthreadNull::getNullpthread): New method, return the pthreadNull
        object.
        (pthreadNull::pthreadNull): Private constructor to prevent accidental
        use.
        (pthreadNull::~pthreadNull): Prevent compile warnings.
        (pthreadNull::create): Override pthread behaviour.
        (pthreadNull::exit): Ditto.
        (pthreadNull::cancel): Ditto.
        (pthreadNull::testcancel): Ditto.
        (pthreadNull::setcancelstate): Ditto.
        (pthreadNull::setcanceltype): Ditto.
        (pthreadNull::push_cleanup_handler): Ditto.
        (pthreadNull::pop_cleanup_handler): Ditto.
        (pthreadNull::getsequence_np): Ditto.
        (pthreadNull::_instance): Ditto.
        * thread.h (pthread): Declare pre- and post-create.
        Move GetThreadId to private scope and rename to getThreadId.
        Move setThreadIdtoCurrent to private scope.
        Make create virtual.
        Make ~pthread virtual.
        Declare initMainThread.
        Declare isGoodObject.
        Make exit virtual.
        Make cancel virtual.
        Make testcancel virtual.
        Make setcancelstate virtual.
        Make setcanceltype virtual.
        Make push_cleanup_handler virtual.
        Make pop_cleanup_handler virtual.
        Declare getsequence_np.
        Declare setTlsSelfPointer.
        (pthreadNull): New null object class for pthread.
        (__pthread_getsequence_np): Remove.

21 years ago * lib/shell32.def (SHGetFolderPath[AW]): Add comment.
Danny Smith [Mon, 16 Sep 2002 10:28:16 +0000 (10:28 +0000)]
* lib/shell32.def (SHGetFolderPath[AW]): Add comment.
* lib/shfolder.def: New file.

21 years ago2002-09-16 Ranjit Matthew <rmathew@hotmail.com>
Danny Smith [Mon, 16 Sep 2002 09:44:06 +0000 (09:44 +0000)]
2002-09-16  Ranjit Matthew  <rmathew@hotmail.com>

* include/stdio.h: Correct comment about directory separator.

21 years agoAdd final newlines to utils
Joshua Daniel Franklin [Sun, 15 Sep 2002 19:24:37 +0000 (19:24 +0000)]
Add final newlines to utils

21 years ago2002-09-12 Igor Pechtchanski <pechtcha@cs.nyu.edu>
Joshua Daniel Franklin [Sun, 15 Sep 2002 15:19:49 +0000 (15:19 +0000)]
2002-09-12  Igor Pechtchanski <pechtcha@cs.nyu.edu>
* cygpath.cc (options) New global variable.
(main) Make short options global for easier change.
(print_version) Add a missing newline.

21 years agofix typo
Christopher Faylor [Fri, 13 Sep 2002 13:05:52 +0000 (13:05 +0000)]
fix typo

21 years agofix typo
Christopher Faylor [Fri, 13 Sep 2002 13:01:28 +0000 (13:01 +0000)]
fix typo

21 years ago * syscalls.cc (seteuid32): Treat ILLEGAL_UID invalid.
Corinna Vinschen [Fri, 13 Sep 2002 09:00:28 +0000 (09:00 +0000)]
* syscalls.cc (seteuid32): Treat ILLEGAL_UID invalid.
(setegid32): Treat ILLEGAL_GID invalid.

21 years agoImport chnages from master config repository.
Nick Clifton [Thu, 12 Sep 2002 15:59:37 +0000 (15:59 +0000)]
Import chnages from master config repository.

21 years agoHandle DW_OP_GNU_push_tls_address.
Nick Clifton [Thu, 12 Sep 2002 10:35:53 +0000 (10:35 +0000)]
Handle DW_OP_GNU_push_tls_address.
Synch up with the gcc's dwarf2.h

21 years ago * include/sys/time.h (timeval): Add struct definition and
Danny Smith [Thu, 12 Sep 2002 10:34:54 +0000 (10:34 +0000)]
* include/sys/time.h (timeval): Add struct definition and
associated macros (copied from w32api/include/winsock.h).

21 years ago * include/winsock.h (timeval): Guard struct and associated
Danny Smith [Thu, 12 Sep 2002 10:11:05 +0000 (10:11 +0000)]
* include/winsock.h (timeval): Guard struct and associated
macros with _TIMEVAL_DEFINED.
* include/winsock2.h (timeval): Likewise.

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

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

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

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

21 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).

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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