]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
20 years agoMerge from gcc.
Ian Lance Taylor [Tue, 13 Jan 2004 01:51:08 +0000 (01:51 +0000)]
Merge from gcc.

20 years agomerge from gcc
DJ Delorie [Mon, 12 Jan 2004 21:24:18 +0000 (21:24 +0000)]
merge from gcc

20 years agoAdd support for relaxation of bit manipulation instructions.
Nick Clifton [Mon, 12 Jan 2004 15:02:20 +0000 (15:02 +0000)]
Add support for relaxation of bit manipulation instructions.

20 years ago2004-01-12 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
Joshua Daniel Franklin [Sun, 11 Jan 2004 18:52:50 +0000 (18:52 +0000)]
2004-01-12  Joshua Daniel Franklin <joshuadfranklin@yahoo.com>

* dll_init.sgml: Update funcsynopsis for DocBook 4.2 SGML DTD.
        * dtable.sgml: Update funcsynopsis for DocBook 4.2 SGML DTD.
        * external.sgml: Update funcsynopsis for DocBook 4.2 SGML DTD.
        * path.sgml: Update funcsynopsis for DocBook 4.2 SGML DTD.
        * pinfo.cc: Update funcsynopsis for DocBook 4.2 SGML DTD.
        * shared.sgml: Update funcsynopsis for DocBook 4.2 SGML DTD.
        * stackdump.sgml: Update funcsynopsis for DocBook 4.2 SGML DTD.

20 years ago2004-01-11 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
Joshua Daniel Franklin [Sun, 11 Jan 2004 08:32:09 +0000 (08:32 +0000)]
2004-01-11  Joshua Daniel Franklin <joshuadfranklin@yahoo.com>

        * Makefile.in: Add new target for single-file User's Guide, use new
        cygwin.dsl for output.
        * cygwin.dsl: New file, DSSSL stylesheet for custom Cygwin output.
        * cygwin-api.in.sgml: Update to DocBook SGML 4.2 DTD.
        * cygwin-ug-net.in.sgml: Update to DocBook SGML 4.2 DTD.
        * cygwin-ug.in.sgml: Update to DocBook SGML 4.2 DTD.
        * cygwinenv.sgml: Correct some tags. Add description of default values
        to ntsec, export, and error_start items.
        * dll.sgml: Add explanation of cyg prefix for DLLs.
        * effectively.sgml: Use systemitem tag for names of Cygwin packages.
        * how-programming.texinfo: Add example to FAQ entry.
        * pathnames.sgml: Add discussion of /proc filesystem.
* setup-net.sgml: Correct some typos and grammar.

20 years ago(BITOP): Dissallow operations on @aa:16 and @aa:32 except for the H8S.
Nick Clifton [Fri, 9 Jan 2004 17:47:17 +0000 (17:47 +0000)]
(BITOP): Dissallow operations on @aa:16 and @aa:32 except for the H8S.

20 years ago2004-01-08 Joel Sherrill <joel@oarcorp.com>
Jeff Johnston [Thu, 8 Jan 2004 19:33:13 +0000 (19:33 +0000)]
2004-01-08  Joel Sherrill  <joel@oarcorp.com>

        * libc/ctype/iswctype.c, include/sys/reent.h, libc/stdlib/a64l.c:
        Remove warnings.

20 years ago2004-01-08 Joel Sherrill <joel@oarcorp.com>
Jeff Johnston [Thu, 8 Jan 2004 19:25:21 +0000 (19:25 +0000)]
2004-01-08  Joel Sherrill  <joel@oarcorp.com>

        * libc/sys/rtems/sys/queue.h: New file.
        * libc/include/sys/signal.h: Reflect renumbering of signals to
        fit into 32-bit mask.
        * libc/include/sys/unistd.h: Add fdatasync() prototype.
        * libc/sys/rtems/crt0.c: Add more symbols which may be implicitly
        required.  In particular, add the reentrant variants of libc calls.
        * libc/sys/rtems/sys/dirent.h: Add scandir() prototype.

20 years ago2004-01-06 Mark Mitchell <mark@codesourcery.com>
Jeff Johnston [Tue, 6 Jan 2004 19:27:21 +0000 (19:27 +0000)]
2004-01-06  Mark Mitchell  <mark@codesourcery.com>

        * libc/sys/arm/syscalls.c (unistd.h): Include it.
        (remap_handle): Use STDIN_FILENO instead of __sfileno(stdin).
        Similarly for stdout and stderr.

20 years ago2004-01-06 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Tue, 6 Jan 2004 19:26:10 +0000 (19:26 +0000)]
2004-01-06  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/libc.texinfo: Correct escape character for @ sign
        so file will be processed by make info.  Update copyright years.
        * libm/libm.texinfo: Ditto.

20 years ago2003-12-02 Richard Sandiford <rsandifo@redhat.com>
Alexandre Oliva [Tue, 6 Jan 2004 19:21:35 +0000 (19:21 +0000)]
2003-12-02  Richard Sandiford  <rsandifo@redhat.com>
* frv/crt0.S (_start): Fix use of FDPIC conditionals.  Move the set of
gr11 outside the FDPIC conditional.  Avoid clobbering gr4 too early.
2003-11-14  Richard Sandiford  <rsandifo@redhat.com>
* frv/crt0.S: Fix fdpic sp calculation.
2003-11-05  Alexandre Oliva  <aoliva@redhat.com>
* frv/crt0.S: Use __stacksize, not __stack, to initialize sp on
FDPIC.  Update comments on computing _GLOBAL_OFFSET_TABLE_.  Don't
fixup ctors nor dtors on FDPIC.
2003-09-19  Alexandre Oliva  <aoliva@redhat.com>
* frv/crt0.S (_start): Set up gr15 only for FDPIC.
* frv/crt0.S (_start): Save _GLOBAL_OFFSET_TABLE_ in gr17, and set
gr15 before function calls.
2003-09-19  DJ Delorie  <dj@redhat.com>, Alexandre Oliva  <aoliva@redhat.com>
* frv/crt0.S (_start): Set up gr15 with _GLOBAL_OFFSET_TABLE_'s
value.

20 years ago2003-09-18 Alexandre Oliva <aoliva@redhat.com>
Alexandre Oliva [Tue, 6 Jan 2004 19:18:30 +0000 (19:18 +0000)]
2003-09-18  Alexandre Oliva  <aoliva@redhat.com>
* frv.h (EF_FRV_FDPIC): New macro.
(EF_FRV_PIC_FLAGS): Adjust.
2003-08-08  Alexandre Oliva  <aoliva@redhat.com>
* frv.h (R_FRV_FUNCDESC_VALUE, R_FRV_FUNCDESC_GOTOFF12,
R_FRV_FUNCDESC_GOTOFFLO, R_FRV_FUNCDESC_GOTOFFHI, R_FRV_GOTOFF12,
R_FRV_GOTOFFLO, R_FRV_GOTOFFHI): New.
2003-08-04  Alexandre Oliva  <aoliva@redhat.com>
* frv.h (R_FRV_GOT12, R_FRV_GOTHI, R_FRV_GOTLO, R_FRV_FUNCDESC,
R_FRV_FUNCDESC_GOT12, R_FRV_FUNCDESC_GOTHI, R_FRV_FUNCDESC_GOTLO):
New.

20 years agoAdd N_PATCH to DO definition.
Nick Clifton [Tue, 6 Jan 2004 17:05:11 +0000 (17:05 +0000)]
Add N_PATCH to DO definition.

20 years ago * configure.in: Use ./config.cache, not config.cache.
Nathanael Nerode [Mon, 5 Jan 2004 04:38:54 +0000 (04:38 +0000)]
* configure.in: Use ./config.cache, not config.cache.
* configure: Regenerate.
* Makefile.tpl: Special-casing not needed for GCC any more.
* Makefile.in: Regenerate.

20 years ago * configure.in: Don't share a cache file for host dirs.
Nathanael Nerode [Mon, 5 Jan 2004 00:50:42 +0000 (00:50 +0000)]
* configure.in: Don't share a cache file for host dirs.
* configure: Regenerate.

20 years ago * config-ml.in: Don't mess with the cache file.
Nathanael Nerode [Mon, 5 Jan 2004 00:42:16 +0000 (00:42 +0000)]
* config-ml.in: Don't mess with the cache file.

20 years ago2004-01-05 Filip Navara <xnavara@volny.cz>
Danny Smith [Sun, 4 Jan 2004 21:35:32 +0000 (21:35 +0000)]
2004-01-05  Filip Navara  <xnavara@volny.cz>

* include/prsht.h (LPCPROPSHEETPAGEW): Fix definition.
* include/shlwapi.h (SHRegQueryInfoUSKey[AW]): Fix prototype.
* include/cpl.h (CPL_STARTWPARMS[AW]): Correct.
* include/shellapi.h (ABS_AUTOHIDE, ABS_ALWAYSONTOP,
SEE_MASK_NO_CONSOLE, SEE_MASK_ASYNCOK, SEE_MASK_HMONITOR,
FOF_NOCOPYSECURITYATTRIBS): Add defines.
* include/shlobj.h (BFFM_SETOKTEXT, BFFM_SETEXPANDED,
CSIDL_FLAG_DONT_VERIFY, CSIDL_FLAG_CREATE, CSIDL_FLAG_MASK,
CFSTR_INETURL[AW], SHGDN_FOREDITING, SHGDN_FORADDRESSBAR,
SSF_*): Add defines.
(SHCNF_PATH[AW], SHCNF_PRINTER[AW], CFSTR_FILENAME[AW],
CFSTR_FILENAMEMAP[AW], CFSTR_FILEDESCRIPTOR[AW], CFSTR_SHELLURL,
CMDSTR_NEWFOLDER[AW], CMDSTR_VIEWLIST[AW], CMDSTR_VIEWDETAILS[AW]):
Correct.
(IEnumIDList): Add COBJMACROS.
* include/winuser.h (MIM_*): Add define.

20 years ago * include/mshtml.h (IHTMLDocument2): Correct write, writeln
Danny Smith [Sun, 4 Jan 2004 09:04:19 +0000 (09:04 +0000)]
* include/mshtml.h (IHTMLDocument2): Correct write, writeln
declarations.
Thanks to: Rene Nyffenegger <renenyffenegger@users.sf.net>.

20 years ago * include/mshtml.h (IHTMLDocument2): Correct write, writeln
Danny Smith [Sat, 3 Jan 2004 23:18:31 +0000 (23:18 +0000)]
* include/mshtml.h (IHTMLDocument2): Correct write, writeln
declarations.
Thanks to: Rene Nyffenegger <renenyffenegger@users.sf.net>.

20 years ago2004-01-03 Filip Navara <xnavara@volny.cz>
Danny Smith [Sat, 3 Jan 2004 22:12:35 +0000 (22:12 +0000)]
2004-01-03  Filip Navara  <xnavara@volny.cz>

* include/cguid.h (CLSID_StdGlobalInterfaceTable): Declare IID.
* include/oaidl.h (ITypeLib2, ITypeInfo2): Define interfaces,
declare IID's.
(IErrorInfo): Add COBJMACROS.
* include/objbase.h (STGM_NOSNAPSHOT): Add define.
(CoGetPSClsid): Add protototype,
(CoRegisterPSClsid): Likewise.
* include/objidl.h (IMarshal): Correct methods.
(IMallocSpy): Likewise,
(LPPSFACTORYBUFFER): Add typedef.
(IGlobalInterfaceTable): Define interface and COBJMACROS. Declare
IID.
(IStorage_CreateStorage, IRpcStubBuffer_Invoke): Fix macros.
* include/ocidl.h (PROPBAG2_TYPE): Define enum.
(PROPBAG2, QACONTAINERFLAGS, QACONTAINER, QACONTROL): Define
structures.
(IPropertyBag2, IPersistPropertyBag2,IAdviseSinkEx, IPointerInactive,
IOleUndoUnit, IOleParentUndoUnit, IEnumOleUndoUnits, IOleUndoManager,
IQuickActivate): Define interfaces. Declare IID's.
(IPersistPropertyBag2): Add COBJMACROS.
(LPOLEUNDOMANAGER): Add typedef.
(LPPROPERTYBAG2): Likewise.
* include/oleidl.h (LPPARSEDISPLAYNAME): Fix definiton.
(BINDSPEED): Add definition.
(IParseDisplayName, IOleItemContainer, IOleObject, IDropSource,
IDropTarget): Add COBJMACROS.
* include/wtypes.h (MEMCTX, MSHCTX): Fix enums.
* include/winerror.h (CO_S_NOTALLINTERFACES): Add define.
* lib/uuid.c (IID_IGlobalInterfaceTable, IID_IOleUndoManager,
IID_IPersistPropertyBag2, IID_IPropertyBag2, IID_IRpcProxyBuffer):
Add definitions.

20 years ago* exceptions.cc (_threadinfo::interrupt_now): Avoid double call to sigdelayed.
Christopher Faylor [Sat, 3 Jan 2004 20:57:11 +0000 (20:57 +0000)]
* exceptions.cc (_threadinfo::interrupt_now): Avoid double call to sigdelayed.
* pinfo.cc (_pinfo::commune_send): Avoid inexplicable test which caused most
pids to be shown as "<defunct>" on Win9x.

20 years agoadd missing entry
Christopher Faylor [Sat, 3 Jan 2004 19:06:21 +0000 (19:06 +0000)]
add missing entry

20 years ago2004 stuff.
Christopher Faylor [Sat, 3 Jan 2004 18:55:14 +0000 (18:55 +0000)]
2004 stuff.

20 years ago2004 stuff
Christopher Faylor [Sat, 3 Jan 2004 18:53:49 +0000 (18:53 +0000)]
2004 stuff

20 years ago * Makefile.tpl: Make GCC use a separate config.cache.
Nathanael Nerode [Sat, 3 Jan 2004 18:31:06 +0000 (18:31 +0000)]
* Makefile.tpl: Make GCC use a separate config.cache.
* Makefile.in: Regenerate.

20 years ago PR bootstrap/11932, PR bootstrap/11933
Nathanael Nerode [Sat, 3 Jan 2004 18:24:38 +0000 (18:24 +0000)]
PR bootstrap/11932, PR bootstrap/11933
(I don't know if it will fix either of them, but it relates
to them.)
* configure.in: Don't use shared config.cache for target
directories.
* configure: Regenerate.

20 years ago* cygheap.h (init_cygheap): Play more vfork shell games and move ctty_on_hold
Christopher Faylor [Sat, 3 Jan 2004 18:15:03 +0000 (18:15 +0000)]
* cygheap.h (init_cygheap): Play more vfork shell games and move ctty_on_hold
and open_fhs_on_hold (back) here.
* dcrt0.cc (_dll_crt0): Just set impure_ptr_ptr here and let later
initialization deal with tls.
* dtable.cc (dtable::vfork_child_fixup): Move ctty considerations here.
(dtable:vfork_parent_restore): And here.
* fork.cc (vfork): Reflect change to ctty handling.
* perthread.h (vfork_save::fhctty): Eliminate.
* cygwin.din: Make more exports NOSIGFE that will never be interrupted by a
signal.
* init.cc (dll_entry): Set stackptr to NULL to catch problems earlier.

20 years agomerge from gcc
DJ Delorie [Fri, 2 Jan 2004 21:11:29 +0000 (21:11 +0000)]
merge from gcc

20 years agoSplit ChangeLog files.
Alan Modra [Fri, 2 Jan 2004 11:16:20 +0000 (11:16 +0000)]
Split ChangeLog files.

20 years ago2004-01-02 Filip Navara <xnavara@volny.cz>
Danny Smith [Fri, 2 Jan 2004 03:19:52 +0000 (03:19 +0000)]
2004-01-02  Filip Navara  <xnavara@volny.cz>

* include/ddk/winddk.h: Don't care about value of
DBG define.

2004-01-02  Danny Smith  <dannysmith@users.sourceforge.net>
    Filip Navara  <xnavara@volny.cz>

* include/ddk/winddk.h (_DDK_DUMMYUNION_MEMBER,
_DDK_DUMMYUNION_N_MEMBER): New macros.
(ExAllocateFromPagedLookasideList,ExFreeToPagedLookasideList,
ExAllocateFromNPagedLookasideList, ExFreeToNPagedLookasideList):
Use them.

20 years ago2004-01-01 Filip Navara <xnavara@volny.cz>
Danny Smith [Thu, 1 Jan 2004 22:34:20 +0000 (22:34 +0000)]
2004-01-01  Filip Navara  <xnavara@volny.cz>

* include/objbase.h:  Don't care about value of DBG define.
* include/objidl.h: Add some COBJMACROS.
* include/ocidl.h: Ditto.
* include/oleidl.h: Ditto.
* include/servprov.h: Ditto.
* include/shlobj.h: Ditto.
* include/shlobj.h (IContextMenu2): Correct parent in
DECLARE_INTERFACE.
* include/oleidl.h (IOleCache, IOleCache2, IOleCacheControl):
Define interfaces.
* include/setupapi.h (SetupGetLineTextA): Correct prototype.
Add new constants for _SETUPAPI_VER >= 0x501.

20 years ago2004-01-01 Filip Navara <xnavara@volny.cz>
Danny Smith [Thu, 1 Jan 2004 11:21:48 +0000 (11:21 +0000)]
2004-01-01  Filip Navara  <xnavara@volny.cz>

* include/winnt.h (NtCurrentTeb): Add inline definition.

20 years ago2004-01-01 Martin Fuchs <martin-fuchs@gmx.net>
Danny Smith [Thu, 1 Jan 2004 11:00:43 +0000 (11:00 +0000)]
2004-01-01  Martin Fuchs  <martin-fuchs@gmx.net>

* include/shlobj.h (SHCoCreateInstance): Add prototype..
* lib/shell32.def (SHCoCreateInstance): Add export stub.

20 years ago2004-01-01 Igor Pechtchanski <pechtcha@cs.nyu.edu>
Danny Smith [Thu, 1 Jan 2004 10:31:41 +0000 (10:31 +0000)]
2004-01-01  Igor Pechtchanski  <pechtcha@cs.nyu.edu>

* lib/setupapi.def (CM_Request_Device_Eject[AW]): Add export.
(CM_Request_Device_Eject_Ex[AW]): Likwise.
* include/ddk/cfg.h (DN_*): Add defines.

20 years ago* lib/ddk/cfgmgr32.def: Remove duplicate symbol names.
Danny Smith [Thu, 1 Jan 2004 10:21:01 +0000 (10:21 +0000)]
* lib/ddk/cfgmgr32.def: Remove duplicate symbol names.

20 years ago2004-01-01 Mattia Barbon <mbarbon@users.sourceforge.net>
Danny Smith [Thu, 1 Jan 2004 10:16:13 +0000 (10:16 +0000)]
2004-01-01  Mattia Barbon  <mbarbon@users.sourceforge.net>

* include/commctrl.h (TVN_GETINFOTIP): Add UNICODE mappings.
(NMTVGETINFOTIP): Add structure.

20 years ago* configure.in (ia64*-*-hpux*): Disable building java libraries.
DJ Delorie [Thu, 1 Jan 2004 00:07:51 +0000 (00:07 +0000)]
* configure.in (ia64*-*-hpux*): Disable building java libraries.
* configure: Regenerated.

20 years ago* cygwin.din: Make crt0 functions NOSIGFE.
Christopher Faylor [Wed, 31 Dec 2003 06:30:48 +0000 (06:30 +0000)]
* cygwin.din: Make crt0 functions NOSIGFE.
* include/cygwin/version.h: Gratuitous comment change.
* lib/_cygwin_crt0_common.cc: Remove unneeded declaration.

20 years ago* cygtls.h (_threadinfo::stack): Increase stack size to accommodate nested
Christopher Faylor [Tue, 30 Dec 2003 03:59:45 +0000 (03:59 +0000)]
* cygtls.h (_threadinfo::stack): Increase stack size to accommodate nested
signal handlers.  Reorganize to cause potential SEGV on stack overflow.
* sigproc.cc (no_signals_available): Check sendsig value rather than relying on
obsolete sig_loop_wait.
(sigproc_terminate): Ditto.
(proc_can_be_signalled): Check sendsig value even for myself.
* tlsoffsets.h: Regenerate.

20 years agoMove open_fhs from fhandler.h to cygheap.h for easier tracking. Accommodate
Christopher Faylor [Tue, 30 Dec 2003 01:57:16 +0000 (01:57 +0000)]
Move open_fhs from fhandler.h to cygheap.h for easier tracking.  Accommodate
this change throughout.
* dtable.cc (dtable::add_archetype): Use correct count when iterating through
*active* archetypes.
* dtable.cc (dtable::fixup_after_exec): Close handle if close_on_exec and
archetype exists since archetype currently does not set windows close-on-exec
flag (FIXME).
* fhandler_tty.cc (fhandler_tty_slave::open): Change debugging output slightly.
(fhandler_tty_slave::close): Ditto.
(fhandler_tty_slave::fixup_after_fork): Just report on inherited use counts
since since archetype currently does not set windows close-on-exec flag
(FIXME).
* pinfo.cc (_pinfo::set_ctty): Change debugging output slightly.
* cygheap.cc (cygheap_init): Remove open_fhs accommodation and use count
reporting.
* perthread.h (vfork_save::fhctty): New element.
* perthread.h (vfork_save::open_fhs): New element.
* fork.cc (vfork): Muck around with ctty and open_fhs stuff, both of which are
now saved in the vfork_save structure.

20 years ago* fhandler.h (fhandler_tty_slave::archetype): Make public.
Christopher Faylor [Sat, 27 Dec 2003 17:41:17 +0000 (17:41 +0000)]
* fhandler.h (fhandler_tty_slave::archetype): Make public.
(report_tty_counts): New macro.  Use throughout for reporting tty use counts.
* dtable.cc (dtable::vfork_child_dup): Add debugging output for usecount
increment.  Increment open_fhs if appropriate.
(dtable::vfork_parent_restore): "Close" artificially bumped ctty.
(dtable::vfork_child_fixup): Close ctty since it was bumped prior to vfork.
Save open_fhs around close since the closing of these handles has no effect on
the console.
* fhandler_tty.cc (fhandler_tty_slave::open): Reorganize calls to allow for
easier tracking of usecount modification.
(fhandler_tty_slave::open): Ditto.

20 years ago* syscalls.cc (close_all_files): Simplify logic around closing ctty.
Christopher Faylor [Sat, 27 Dec 2003 02:41:07 +0000 (02:41 +0000)]
* syscalls.cc (close_all_files): Simplify logic around closing ctty.

20 years ago* pinfo.cc (_pinfo::set_ctty): *Always* call close on opened ctty since it
Christopher Faylor [Sat, 27 Dec 2003 02:20:07 +0000 (02:20 +0000)]
* pinfo.cc (_pinfo::set_ctty): *Always* call close on opened ctty since it
counts as an opened handle.

20 years ago* fhandler.h (fhandler_tty_master::fixup_after_fork): Remove declaration.
Christopher Faylor [Sat, 27 Dec 2003 01:59:29 +0000 (01:59 +0000)]
* fhandler.h (fhandler_tty_master::fixup_after_fork): Remove declaration.
(fhandler_tty_master::fixup_after_exec): Ditto.
* fhandler_tty.cc (fhandler_tty_master::init): Fix so that children do not
inherit master tty handles.
(fhandler_tty_master::fixup_after_fork): Remove, since it was never used.
(fhandler_tty_master::fixup_after_exec): Ditto.
* pinfo.cc (_pinfo::set_ctty): Increment open_fhs when ctty is set.
* cygheap.cc (cygheap_init): Ditto.
* syscalls.cc (setsid): *Always* call close on opened ctty since the archetype
is associated with the ctty and it counts as an opened handle.
* tty.cc (tty::common_init): Don't protect input/output mutex since it confuses
subsequent fork/execs when CYGWIN=tty.

20 years ago* exceptions.cc (try_to_debug): Fix off-by-one problem when resetting
Christopher Faylor [Sat, 27 Dec 2003 00:25:02 +0000 (00:25 +0000)]
* exceptions.cc (try_to_debug): Fix off-by-one problem when resetting
environment variable after error_start detected.
* fhandler_tty_slave.cc (fhandler_tty_slave::close): Clarify debug message.
* syscalls.cc (setsid): Don't increment usecount here, since it will be
automatically decremented on close.

20 years ago* exceptions.cc (setup_handler): Protect against a race.
Christopher Faylor [Fri, 26 Dec 2003 18:30:41 +0000 (18:30 +0000)]
* exceptions.cc (setup_handler): Protect against a race.

20 years ago* path.cc (mount_item::build_win32): Backslashify paths in non-managed case.
Christopher Faylor [Fri, 26 Dec 2003 18:26:17 +0000 (18:26 +0000)]
* path.cc (mount_item::build_win32): Backslashify paths in non-managed case.

20 years ago* Makefile.in (CFLAGS, CXXFLAGS): Remove unneeded include.
Christopher Faylor [Fri, 26 Dec 2003 05:37:54 +0000 (05:37 +0000)]
* Makefile.in (CFLAGS, CXXFLAGS): Remove unneeded include.
(CYGWIN_LIB): Delete.
(cygserver.exe target): Add -L$(cygwin_build) to the link line to force linker
to use build tree version of the library.  Remove specific inclusion of
libcygwin.a from the link line.

20 years ago* dcrt0.cc (reent_data): Reluctantly resurrect.
Christopher Faylor [Fri, 26 Dec 2003 04:40:52 +0000 (04:40 +0000)]
* dcrt0.cc (reent_data): Reluctantly resurrect.
(__cygwin_user_data::impure_ptr): Ditto.
(_dll_crt0): Reluctantly initialize _impure_ptr here.
(initialize_main_tls): Eliminate local_clib initialization since it now happens
in init_thread.
* init.cc (dll_entry): Reluctantly remove code which set _impure_ptr to the
main thread's local_clib.
* perthread.h (reent_data): Remove obsolete declaration.
* sigproc.cc (proc_subproc): Add more debugging output.
(get_proc_lock): Ditto.
*dcrt0.cc (dll_crt0_1): Allocate argv[0] via malloc since main thread could
exit.

20 years ago* winsup.api/pthread/rwlock7.c (main): Don't assume that result of rand
Christopher Faylor [Wed, 24 Dec 2003 04:37:19 +0000 (04:37 +0000)]
* winsup.api/pthread/rwlock7.c (main): Don't assume that result of rand
operation is non-zero.

20 years ago* fork.cc (fork_child): After a pthread/fork, ensure that impure pointer stuff
Christopher Faylor [Tue, 23 Dec 2003 22:24:38 +0000 (22:24 +0000)]
* fork.cc (fork_child): After a pthread/fork, ensure that impure pointer stuff
which resides in parent is propagated to child thread.

20 years agoadd missing file
Christopher Faylor [Tue, 23 Dec 2003 16:43:45 +0000 (16:43 +0000)]
add missing file

20 years ago* exceptions.cc (set_signal_mask): Redefine to not pass by address. Report
Christopher Faylor [Tue, 23 Dec 2003 16:26:31 +0000 (16:26 +0000)]
* exceptions.cc (set_signal_mask): Redefine to not pass by address.  Report
calculated mask in debugging output.
* sigproc.h (set_signal_mask): Reflect above change in declaration.
* path.cc (mount_item::build_win32): Take path apart before feeding it to
fnmunge.  Throughout, change use of _reent_winsup()-> to _my_tls.locals.
instead.  Throughout, remove obsolete MT_SAFE/_CYG_THREAD_FAILSAFE
considerations.  Througout, add cygtls.h include.
* Makefile.in (DLL_OFILES): Add cygtls.o.  Add some more objects to the
-fomit-frame-pointer list.
* acconfig.h: Remove obsolete settings.
* config.h.in: Ditto.
* bsdlib.cc: Add cygtls.h include.
* configure.in: Remove --enable-extra-threadsafe-checking.
* configure: Regenerate.
* cygtls.h (_local_storage): New struct renamed from _winsup_t (sic).
(_threadinfo:local_clib): Add new field.
(_threadinfo::locals): Ditto.
(_threadinfo::init_thread): Accept second _reent * argument.
(_threadinfo::call): Define as regparm.
(CYGTLS_PADSIZE): Remove unnecessary slop.
(_getreent): Define as a macro.
* thread.h: Remove _CYG_THREAD_FAILSAFE and MT_SAFE stuff.
(_winsup_t): Move to cygtls.h.
(ResourceLocks::ResourceLocks): Eliminate empty constructor.
(MTinterface::reents): Eliminate.
(MTinterface::thread_self_key): Eliminate.
(MTinterface::MTinterface): Eliminate.
* dcrt0.cc: Include stdio.h for _impure_ptr initialization.
(do_global_ctors): Remove run_ctors_p (sic) considerations.  Don't call atexit
here.
(__main): Initialize destructors for user here.
(dll_crt0_1): Accept a dummy argument.  Don't call init_thread here.  Don't set
_impure_ptr here.  Call do_global_ctors after more things have been
initialized.
(_dll_crt0): Define zeros buffer as max of needed size of CYGTLS_PADSIZE so
that it can be used for two purposes while minimizing stack usage.  Initialize
_impure_ptr specifically, for speed.  Call dll_crt0_1 with buffer argument.
(cygwin_dll_init): Call dll_crt0_1 with dummy argument.
* dtable.cc (dtable::find_unused_handle): Remove call to AssertResourceOwner.
* exceptions.cc: Move _threadinfo stuff to new file.
* cygtls.cc: New file.
* gentls_offsets: Accommodate increasing complexity of cygtls.h.
* hires.h (hires_base::~hires_base): Remove.
* init.cc (dll_entry): Remove setting of reents.
* thread.cc: Remove syslog.h include.
(__getreent): Simplify to use _my_tls.
(_reent_winsup): Delete.
(AssertResourceOwner): Delete.
(MTinterface::Init): Remove setting of _clib and _winsup, with all that
entails.
(MTinterface::fixup_after_fork): Ditto.
(pthread::thread_init_wrapper): Ditto.  Also remove call to
set_tls_self_pointer.
(pthread::set_tls_self_pointer): Eliminate.
(pthread::get_tls_self_pointer): Just return _my_tls.tid;
(__reent_t::init_clib): Eliminate.
* tlsoffsets.h: Regenerate.

20 years ago* configure.in (*-*-uclinux): Exclude newlib, libgloss and rda.
DJ Delorie [Mon, 22 Dec 2003 00:59:55 +0000 (00:59 +0000)]
* configure.in (*-*-uclinux): Exclude newlib, libgloss and rda.
* configure: Regenerated.

20 years agomerge from gcc
DJ Delorie [Fri, 19 Dec 2003 16:50:48 +0000 (16:50 +0000)]
merge from gcc

20 years ago2003-12-19 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Fri, 19 Dec 2003 15:13:56 +0000 (15:13 +0000)]
2003-12-19  Nathanael Nerode  <neroden@gcc.gnu.org>

Port change over from GCC:
2003-11-20  Kelley Cook  <kcook@gcc.gnu.org>
* Makefile.tpl (BASE_FLAGS_TO_PASS): Pass along CONFIG_SHELL.
(configure-build-[+module+], configure-[+module+]): Likewise.
(configure-target-[+module+], configure-gcc, config.status): Likewise.
* Makefile.in: Regenerate.

20 years agoAdd support for m32r-linux target, including a RELA ABI and PIC.
Nick Clifton [Fri, 19 Dec 2003 11:44:00 +0000 (11:44 +0000)]
Add support for m32r-linux target, including a RELA ABI and PIC.

20 years agomerge from gcc
DJ Delorie [Fri, 19 Dec 2003 04:04:44 +0000 (04:04 +0000)]
merge from gcc

20 years ago* sigproc.cc (proc_subproc): Simplify code to just remove all zombies if
Christopher Faylor [Thu, 18 Dec 2003 04:42:31 +0000 (04:42 +0000)]
* sigproc.cc (proc_subproc): Simplify code to just remove all zombies if
SIGCHLD == SIG_IGN.

20 years ago* pinfo.h (pinfo::operator ==): Add a way to check for _pinfo types.
Christopher Faylor [Wed, 17 Dec 2003 22:47:32 +0000 (22:47 +0000)]
* pinfo.h (pinfo::operator ==): Add a way to check for _pinfo types.
* sigproc.cc (proc_subproc): Ensure that zombie is removed when SIGCHLD ==
SIG_IGN but still allow wait()ing threads to wake up.

20 years ago* exceptions.cc (set_signal_mask): Report on input argument rather than
Christopher Faylor [Tue, 16 Dec 2003 23:28:03 +0000 (23:28 +0000)]
* exceptions.cc (set_signal_mask): Report on input argument rather than
getsigmask.
* fhandler.h (fhandler_base): Make friends with close_all_files.
* pinfo.cc (_pinfo::set_ctty): Add more debugging.
* sigproc.cc (proc_can_be_signalled): Detect state when signal handler thread
is gone in target process as an EPERM situation.  Set errno to ESRCH if process
doesn't exist.
(sigproc_terminate): Set sendsig to illegal value when closed.
(sig_send): Rely on proc_can_be_signalled setting the proper errno.
* syscalls.cc (close_all_files): Detect when all ttys are closed prior to
calling close_all_files.  The ctty needs to be closed explicitly in this case.

20 years ago * include/cygwin/ipc.h: Include sys/types.h.
Corinna Vinschen [Tue, 16 Dec 2003 10:15:28 +0000 (10:15 +0000)]
* include/cygwin/ipc.h: Include sys/types.h.

20 years ago * bsd_helper.cc (tunable_params): Add entries for kern.ipc.msgmnb and
Corinna Vinschen [Tue, 16 Dec 2003 10:13:34 +0000 (10:13 +0000)]
* bsd_helper.cc (tunable_params): Add entries for kern.ipc.msgmnb and
kern.ipc.msgtql.  Raise max value for kern.ipc.msgseg to 65535.
* cygserver.conf: Add kern.ipc.msgmnb and kern.ipc.msgtql.
* sysv_msg.cc (msginit): Add TUNABLE_INT_FETCH call for
kern.ipc.msgmnb and kern.ipc.msgtql.

20 years ago* thread.cc (pthread::init_main_thread): Make sure that the main thread has
Christopher Faylor [Mon, 15 Dec 2003 14:38:12 +0000 (14:38 +0000)]
* thread.cc (pthread::init_main_thread): Make sure that the main thread has
valid handles.
(pthread::create_cancel_event): Fix error message.

20 years agoadd out-of-date notice.
Christopher Faylor [Mon, 15 Dec 2003 04:44:30 +0000 (04:44 +0000)]
add out-of-date notice.

20 years agoAdd missing ChangeLog entry.
Christopher Faylor [Mon, 15 Dec 2003 04:17:27 +0000 (04:17 +0000)]
Add missing ChangeLog entry.

20 years ago* winsup.h (access_worker): Declare with added fhandler_base parameter.
Christopher Faylor [Mon, 15 Dec 2003 04:16:42 +0000 (04:16 +0000)]
* winsup.h (access_worker): Declare with added fhandler_base parameter.
* syscalls.cc (access_worker): Accommodate extra fhandler_base argument.  Use
it instead of stat_worker to determine stat information, when appropriate.
* fhandler.cc (fhandler_base::device_access_denied): Pass fhandler pointer to
access_worker so that it can use the proper method for determining stat
information.
* fhandler_disk_file.cc (fhandler_disk_file::opendir): Ditto.

20 years agowhite space
Christopher Faylor [Mon, 15 Dec 2003 03:59:32 +0000 (03:59 +0000)]
white space

20 years agoRemove erroneous entry.
Christopher Faylor [Mon, 15 Dec 2003 03:10:38 +0000 (03:10 +0000)]
Remove erroneous entry.

20 years ago* exceptions.cc (ctrl_c_handler): Remove this thread from the signal handler
Christopher Faylor [Sun, 14 Dec 2003 16:55:24 +0000 (16:55 +0000)]
* exceptions.cc (ctrl_c_handler): Remove this thread from the signal handler
chain.

20 years ago* cygthread.cc (cygthread::stub): Revert previous change and again subsume
Christopher Faylor [Sun, 14 Dec 2003 07:09:22 +0000 (07:09 +0000)]
* cygthread.cc (cygthread::stub): Revert previous change and again subsume
cygthread::stub2.  Just return from function now since ExitThread is guaranteed
by automatic _threadinfo wrapper.  Define as per ThreadProc convention.
(cygthread::stub2): Remove.
(cygthread::simplestub): Perform similar operations to cygthread::stub.
(cygthread::simplestub2): Remove.
* cygthread.h (cygthread::stub): Declare as per ThreadProc convention.
(cygthread::stub2): Remove declaration.
(cygthread::simplestub): Declare as per ThreadProc convention.
(cygthread::simplestub2): Remove declaration.
* cygtls.h (_threadinfo::call): Define first argument as per ThreadProc
convention.
(_threadinfo::call2): Ditto.
(_tlsbase): Define as char * pointer.
(_tlstop): New definition.
(_main_tls): Define here.
* dcrt0.cc (alloc_stack): Revert previous change which called init_thread since
information would be overwritten by fork later anyway.
(dll_crt0_1): Use _tlsbase and _tlstop for setting stack bottom, top.
* exceptions.cc: Move _main_tls declaration to cygtls.h.
(_threadinfo::call): Define first argument as per ThreadProc convention.
(_threadinfo::call2): Call ExitThread with thread function return value.
(_threadinfo::init_thread): Don't initialize cygtls to zero if input arg is
NULL.
* fork.cc (fork_child): Reset _main_tls here.  Reinitialize parts of _my_tls
after copying data from parent.
* init.cc (threadfunc_fe): New function.  Front-end for all threads created in
cygwin processes.
(munge_threadfunc): New function.
(dll_entry): Call munge_threadfunc to force the call of a thread wrapper.
* thread.cc (pthread::thread_init_wrapper): Perform similar operations to
cygthread::stub.
(pthread::thread_init_wrapper2): Remove.
* thread.h (pthread::thread_init_wrapper): Declare as per ThreadProc
convention.
(pthread::thread_init_wrapper2): Remove declaration.
* window.cc (Winmain): Just return from function now since ExitThread is
guaranteed by automatic _threadinfo wrapper.

20 years ago * include/stdio.h:(_fileno): Define macro version after both
Danny Smith [Sat, 13 Dec 2003 21:22:34 +0000 (21:22 +0000)]
* include/stdio.h:(_fileno): Define macro version after both
fileno and _fileno functions declared.

* include/stdio.h (_rmtmp, rmtmp): Add prototypes.
* moldnames.def.in (rmtmp) Add stub.

20 years ago* dtable.cc (dtable::delete_archetype): Add debugging.
Christopher Faylor [Fri, 12 Dec 2003 20:46:03 +0000 (20:46 +0000)]
* dtable.cc (dtable::delete_archetype): Add debugging.
(dtable::release): Move archetype deletion here.
(dtable::vfork_child_dup): Increment ctty usecount to catch later
close_all_files case in parent/child.
(dtable::vfork_child_fixup): Avoid using cygheap->foo where this should really
be using local references.  Call close on archetyped handles since the handles
haven't had the noninherit flag set.
* fhandler_tty.cc (fhandler_tty_slave::close): Remove archetype deletion code.
Add defensive error message when DEBUGGING.
(fhandler_tty_common::set_close_on_exec): Use more robust method for checking
whether to set handles into noninherit if there is an archetype associated with
the fhandler.

20 years ago* dcrt0.cc (alloc_stack): Move _main_tls if stack is relocated.
Christopher Faylor [Fri, 12 Dec 2003 05:04:47 +0000 (05:04 +0000)]
* dcrt0.cc (alloc_stack): Move _main_tls if stack is relocated.

20 years ago* miscfuncs.cc (low_priority_sleep): Correct thinko which caused SetPriority to
Christopher Faylor [Fri, 12 Dec 2003 04:15:32 +0000 (04:15 +0000)]
* miscfuncs.cc (low_priority_sleep): Correct thinko which caused SetPriority to
be called unnecessarily.
* thread.cc (pthread::init_main_thread): Call new create_cancel_event function.
(pthread::precreate): Ditto.
(pthread::postcreate): Remove cancel_event creation.
(pthread::create_cancel_event): Define new function.
* thread.h (pthread::create_cancel_event): Declare new function.

20 years ago * fhandler_serial.cc (fhandler_serial::tcflush): Simplify. Remove
Corinna Vinschen [Thu, 11 Dec 2003 18:07:42 +0000 (18:07 +0000)]
* fhandler_serial.cc (fhandler_serial::tcflush): Simplify.  Remove
read polling loop to avoid a hang with streaming devices.

20 years ago* pinfo.cc (_pinfo::set_ctty): Correct stupid typo.
Christopher Faylor [Thu, 11 Dec 2003 06:19:36 +0000 (06:19 +0000)]
* pinfo.cc (_pinfo::set_ctty): Correct stupid typo.

20 years ago* cygheap.h (cygheap_types): Add HEAP_ARCHETYPES.
Christopher Faylor [Thu, 11 Dec 2003 06:12:41 +0000 (06:12 +0000)]
* cygheap.h (cygheap_types): Add HEAP_ARCHETYPES.
(init_cheap::ctty): Change to pointer.
* dtable.h (dtable::find_archetype): Declare new function.
(dtable::add_archetype): Declare new function.
(dtable::delete_archetype): Declare new function.
(dtable::narchetypes): Declare.
(dtable::farchetypes): Declare.
(dtable::initial_archetype_size): Declare.
(dtable::dtable): Initialize new fields.
(dtable::initial_archetype_size): Declare.
* dtable.cc (dtable::find_archetype): Define new function.
(dtable::add_archetype): Define new function.
(dtable::delete_archetype): Define new function.
(dtable::initial_archetype_size): Define.
* fhandler.h (fhandler_base::archetype): Declare.
(fhandler_base::usecount): Declare.
* fhandler.cc (fhandler_base::fhandler_base): Initialize new fields.
* fhandler_console.cc (fhandler_console::get_tty_stuff): Pass NULL to third
argument of set_ctty.
* fhandler_tty.cc (fhandler_tty_slave::open): Accommodate new archetype method
to create only one instance of a tty.
(fhandler_tty_slave::close): Don't close handles unless archetype usecount is
zero.  When that happens, close archetype too.
(fhandler_tty_slave::dup): Just copy archetype.  Set use count appropriately.
Set ctty, if appropriate.
(fhandler_tty_common::dup): Remove slave considerations.
(fhandler_tty_common::set_close_on_exec): Remove cygheap->ctty considerations.
* pinfo.cc (_pinfo::set_ctty): Accommodate new archetype methods.
* pinfo.h (_pinfo::set_ctty): Make third argument explicit.
* syscalls.cc (close_all_files): Decrement controlling tty use count before
closing all handles to allow controlling tty to be closed.  Remove previous
controlling tty considerations.

20 years agoremove debug output
Christopher Faylor [Wed, 10 Dec 2003 04:08:50 +0000 (04:08 +0000)]
remove debug output

20 years ago* fhandler_tty.cc (fhandler_tty_common::dup): Just copy cygheap->ctty to child
Christopher Faylor [Wed, 10 Dec 2003 03:19:19 +0000 (03:19 +0000)]
* fhandler_tty.cc (fhandler_tty_common::dup): Just copy cygheap->ctty to child
if duping the current ctty.
(fhandler_tty_common::close): Move debugging statement earlier in function.
(fhandler_tty_slave::close): Return success when closing ctty.
* syscalls.cc (close_all_files): Avoid calling fhandler_tty_slave close method
so that open_fhs will not be decremented when closing cygheap ctty.
(setsid): Ditto.
* dcrt0.cc (do_exit): Reorganize to avoid leaving a critical section active
after vfork.
* fhandler.h (fhandler_tty_slave::get_unit): Remove regparm parameter since it
can't work in a virtualized function.

20 years ago* pinfo.cc (_pinfo::set_ctty): Don't copy over existing ctty if it is active.
Christopher Faylor [Tue, 9 Dec 2003 03:27:05 +0000 (03:27 +0000)]
* pinfo.cc (_pinfo::set_ctty): Don't copy over existing ctty if it is active.

20 years ago2003-12-08 Danny Smith <dannysmith@users.sourceforge.net>
Danny Smith [Mon, 8 Dec 2003 22:41:44 +0000 (22:41 +0000)]
2003-12-08  Danny Smith  <dannysmith@users.sourceforge.net>

* include/winuser.h (DISPLAY_DEVICE_*): Remove defines.
* include/wingdi.h  (DISPLAY_DEVICE_REMOVABLE,
DISPLAY_DEVICE_MODESPRINED): Add defines from winuser.h

2003-12-08  Hartmut Honisch  <hhonisch@users.sourceforge.net>

* include/commctrl.h (ListView_Get_State, ListView_Check_State):
Add macros.
* include/wingdi.h  (DISPLAY_DEVICE_*): Add multi-monitor
constants.
* include/shlobj.h (SHCOLUMNINIT); Add structure.
(SHCOLUMNDAT): Likwise.
(SHCOLUMNID): Likewise.
(SHCOLUMNINFO): Likewise.
(SHCOLSTATE): Add enum.
(IColumnProvider): Add COM interface.
(IQueryInfo): Likewise.
(IShellIconOverlayIdentifier): Likewise.
   * include/shlguid.h (IID_IColumnProvider) Declare.
(IID_IQueryInfo): Likweise.
(IID_IShellIconOverlayIdentifier): Likwise.
* lib/shell32.c (IID_IColumnProvider) Define.
(IID_IQueryInfo): Likweise.
(IID_IShellIconOverlayIdentifier): Likwise.

20 years ago2003-12-08 Thomas Fitzsimmons <fitzsim@redhat.com>
Thomas Fitzsimmons [Mon, 8 Dec 2003 21:19:41 +0000 (21:19 +0000)]
2003-12-08  Thomas Fitzsimmons  <fitzsim@redhat.com>

* configure.in (raw_libstdcxx_flags): Remove the leading space.
* configure: Regenerate.

20 years ago2003-12-08 Roald Ribe <rrib@users.sourceforge.net>
Danny Smith [Mon, 8 Dec 2003 19:37:19 +0000 (19:37 +0000)]
2003-12-08  Roald Ribe <rrib@users.sourceforge.net>

* include/winuser.h (RT_MANIFEST): Add define.

2003-12-08  Pascal Buhler <pbuhler@users.sourceforge.net>

* include/oleidl.h (IViewObject2): Inherit from IViewObject.

20 years ago* thread.cc (pthread::precreate): Delete duplicate setting of cancel_event.
Christopher Faylor [Mon, 8 Dec 2003 06:32:46 +0000 (06:32 +0000)]
* thread.cc (pthread::precreate): Delete duplicate setting of cancel_event.

20 years ago* fhandler.h (fhandler_tty_slave::ttyname): Use name from pc since it is
Christopher Faylor [Mon, 8 Dec 2003 06:27:05 +0000 (06:27 +0000)]
* fhandler.h (fhandler_tty_slave::ttyname): Use name from pc since it is
guaranteed to be accurate.
* fhandler_tty.cc (fhandler_tty_slave::open): Increment open_fhs appropriate
when copying ctty.
(fhandler_tty_slave::close): Remove special case handling for exit_state.  Use
ctty < 0 check instead.
(fhandler_tty_common::close): Set io_handle to NULL after closing.
* syscalls.cc (close_all_files): Specifically close cygheap->ctty, if
appropriate.

20 years ago* wait.cc (wait4): Move sawsig initialization inside loop.
Christopher Faylor [Mon, 8 Dec 2003 00:22:56 +0000 (00:22 +0000)]
* wait.cc (wait4): Move sawsig initialization inside loop.

20 years ago* spawn.cc (spawn_guts): Change type back to 'int' after erroneous change
Christopher Faylor [Mon, 8 Dec 2003 00:21:17 +0000 (00:21 +0000)]
* spawn.cc (spawn_guts): Change type back to 'int' after erroneous change
below.

20 years agoChange use of BOOL, TRUE, FALSE to bool, true, false, as appropriate,
Christopher Faylor [Sun, 7 Dec 2003 22:37:12 +0000 (22:37 +0000)]
Change use of BOOL, TRUE, FALSE to bool, true, false, as appropriate,
throughout.
* tty.cc (tty::common_init): Remove call to SetKernelObjectSecurity and edit
some comments.
* cygheap.h (init_cygheap::ctty): Add new element.
* devices.in (device::parse): Remove special handling for /dev/tty.
* devices.cc: Regenerate.
* dtable.cc (build_fh_pc): Don't reset /dev/tty device.  Let the device opener
do that.
* fhandler_termios.cc (tty_min::set_ctty): Redefine to _pinfo class.
* fhandler_tty.cc (fhandler_tty_common::set_close_on_exec): Avoid setting
noninherit flag for ctty.
* tty.h: Move BOOLs to bools.
(tty_min::set_ctty): Redeclare to _pinfo class.
* pinfo.cc (_pinfo::set_ctty): Define new function based on tty_min::set_ctty.
Change first argument from tty number to tty_min class.
* pinfo.h (_pinfo::set_ctty): Declare.
* fhandler_console.cc (fhandler_console::get_tty_stuff): Reflect move of
set_ctty to _pinfo class.
* fhandler_tty.cc (fhandler_tty_slave::open): Treat FH_TTY specially.  Use
saved cygheap value if it exists.  Otherwise convert to real device and save on
first time open.
(fhandler_tty_common::dup): Potentially set controlling tty if duping a slave
tty.
* syscalls.cc (setsid): Close controlling tty in cygheap.
* tty.cc: Change some BOOLs to bools.

20 years ago * syscalls.cc (locked_append): New.
Corinna Vinschen [Sun, 7 Dec 2003 12:56:59 +0000 (12:56 +0000)]
* syscalls.cc (locked_append): New.
(updwtmp): Remove mutex code and call locked_append.
(pututline): Ditto.

20 years ago* exceptions.cc (_threadinfo::remove): Avoid a linked list walk.
Christopher Faylor [Sun, 7 Dec 2003 03:27:51 +0000 (03:27 +0000)]
* exceptions.cc (_threadinfo::remove): Avoid a linked list walk.

20 years ago* cygtls.h (_threadinfo::find_tls): New function.
Christopher Faylor [Sun, 7 Dec 2003 02:56:52 +0000 (02:56 +0000)]
* cygtls.h (_threadinfo::find_tls): New function.
* exceptions.cc (_threadinfo::find_tls): Rename from find_tls.  Use critical
section to protect access to linked list.

20 years ago* exceptions.cc (_threadinfo::remove): Avoid returning without unlocking
Christopher Faylor [Sun, 7 Dec 2003 02:33:31 +0000 (02:33 +0000)]
* exceptions.cc (_threadinfo::remove): Avoid returning without unlocking
critical section in the (hopefully impossible) case of an unrecognized thread.

20 years ago* cygtls.h: Add more "don't parse this" guards.
Christopher Faylor [Sat, 6 Dec 2003 18:08:38 +0000 (18:08 +0000)]
* cygtls.h: Add more "don't parse this" guards.
(_threadinfo::init_thread): Rename from 'init'.
(_threadinfo::init): Declare new function.
(_threadinfo::protect_linked_list): Declare new critical section.
* dcrt0.cc (dll_crt0_1): Call init_thread to initialize thread stuff.
(_dll_crt0): Call _threadinfo::init prior to invoking dll_crt0_1.
* exceptions.cc (_threadinfo::init_thread): Rename from 'init'.
(_threadinfo::init): Define new function.  Protect linked list manipulation
with new critical section.
(_threadinfo::call): Reflect function name change.
(_threadinfo::remove): Protect linked list manipulation with new critical
section
* gentls_offsets: Rework to allow multi-line "don't parse this" protection.
* init.cc (dll_entry): Don't remove threads info stuff here since the remove
function uses a critical section which can't be used during thread creation or
destruction.
* thread.cc (pthread::exit): Call _threadinfo remove function here.

20 years ago * common.h (DT_HIOS): Correct value.
Alan Modra [Sat, 6 Dec 2003 05:32:21 +0000 (05:32 +0000)]
* common.h (DT_HIOS): Correct value.

20 years ago2003-12-05 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 5 Dec 2003 21:09:13 +0000 (21:09 +0000)]
2003-12-05  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/sys/stat.h: No longer include stat-dj.h.
        * libc/include/sys/stat-dj.h: Removed.

20 years ago2003-12-05 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 5 Dec 2003 20:51:57 +0000 (20:51 +0000)]
2003-12-05  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/wchar.h: Include <sys/reent.h>.

20 years agoRevert accidental checkin.
Christopher Faylor [Fri, 5 Dec 2003 06:15:18 +0000 (06:15 +0000)]
Revert accidental checkin.

20 years ago* libc/stdlib/mbrlen.c: Change include order to prevent compiler errors when
Christopher Faylor [Fri, 5 Dec 2003 06:13:44 +0000 (06:13 +0000)]
* libc/stdlib/mbrlen.c: Change include order to prevent compiler errors when
defining _mbrtowc.
* libc/stdlib/mbsinit.c: Ditto.
* libc/stdlib/mbsrtowcs.c: Ditto.
* libc/stdlib/wcrtomb.c: Ditto.
* libc/stdlib/wcsrtombs.c: Ditto.
* libc/stdlib/wctob.c: Ditto.
* libc/stdlib/mbrlen.c: Change include order to prevent compiler errors when
defining _mbrtowc.
* libc/stdlib/mbsinit.c: Ditto.
* libc/stdlib/mbsrtowcs.c: Ditto.

20 years ago* libc/stdlib/mbrtowc.c: Change include order to prevent compiler errors when
Christopher Faylor [Fri, 5 Dec 2003 06:02:31 +0000 (06:02 +0000)]
* libc/stdlib/mbrtowc.c: Change include order to prevent compiler errors when
defining _mbrtowc.

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