]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
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.

20 years ago* cygthread.cc (cygthread::stub2): Remove myself from the list of threads
Christopher Faylor [Fri, 5 Dec 2003 05:29:17 +0000 (05:29 +0000)]
* cygthread.cc (cygthread::stub2): Remove myself from the list of threads
monitored by signals since this thread will never call raise or sigwait.
(cygthread::simplestub2): Ditto.  Set ev here.
(cygthread::cygthread): Don't set ev here for freerange thread.

20 years ago* path.cc (slash_unc_prefix_p): Allow '.' as a valid character after '\\' in a
Christopher Faylor [Fri, 5 Dec 2003 04:33:40 +0000 (04:33 +0000)]
* path.cc (slash_unc_prefix_p): Allow '.' as a valid character after '\\' in a
UNC path.

20 years ago* exceptions.cc (setup_handler): Remove ill-advised debugging output.
Christopher Faylor [Fri, 5 Dec 2003 04:20:48 +0000 (04:20 +0000)]
* exceptions.cc (setup_handler): Remove ill-advised debugging output.

20 years ago2003-12-04 Artem B. Bityuckiy <abitytsky@softminecorp.com>
Jeff Johnston [Fri, 5 Dec 2003 01:42:26 +0000 (01:42 +0000)]
2003-12-04  Artem B. Bityuckiy  <abitytsky@softminecorp.com>

        * libc/stdio/vfprintf.c (_VFPRINTF_R): Use _r versions
        of mb routines for %lc and %ls support.
        * libc/stdio/vfscanf.c (_svfscanf_r): Add %lc, %C,
        %ls, and %S support.  Remove CYGNUS_NEC markers and
        code within.

20 years ago2003-12-04 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 5 Dec 2003 01:36:32 +0000 (01:36 +0000)]
2003-12-04  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/wchar.h: Add prototypes for _mbrtowc_r,
        _wcrtomb_r, and _wcsrtombs_r.

20 years agobfd/
H.J. Lu [Thu, 4 Dec 2003 22:43:36 +0000 (22:43 +0000)]
bfd/

2003-12-04  H.J. Lu  <hongjiu.lu@intel.com>

* elfxx-ia64.c (elfNN_ia64_relax_section): Use the
need_relax_finalize field in link_info instead of
relax_finalizing to check if the relax finalize pass is being
done.

include/

2003-12-04  H.J. Lu  <hongjiu.lu@intel.com>

* bfdlink.h (bfd_link_info): Change relax_finalizing to
need_relax_finalize.

ld/

2003-12-04  H.J. Lu  <hongjiu.lu@intel.com>

* emultempl/ia64elf.em (gld${EMULATION_NAME}_after_parse): Set
link_info.need_relax_finalize to TRUE.

* ldlang.c (lang_process): Use link_info.need_relax_finalize
instead of link_info.relax_finalizing.
* ldmain.c (main): Likewise.

20 years ago * include/cygwin/types.h (struct __fcntl64): Fix datatype of l_start.
Corinna Vinschen [Thu, 4 Dec 2003 09:37:55 +0000 (09:37 +0000)]
* include/cygwin/types.h (struct __fcntl64): Fix datatype of l_start.

20 years agoAdd support for the M32R2 processor.
Nick Clifton [Wed, 3 Dec 2003 17:38:48 +0000 (17:38 +0000)]
Add support for the M32R2 processor.

20 years ago Substitute 0x7fffffff and 0xffffffff by INT32_MAX and UINT32_MAX
Corinna Vinschen [Wed, 3 Dec 2003 16:35:52 +0000 (16:35 +0000)]
Substitute 0x7fffffff and 0xffffffff by INT32_MAX and UINT32_MAX
throughout, except in assembler code.

20 years ago * fhandler_disk_file.cc (fhandler_disk_file::lock): Use UINT32_MAX
Corinna Vinschen [Wed, 3 Dec 2003 11:22:49 +0000 (11:22 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::lock): Use UINT32_MAX
instead of 0xffffffff.  Accomodate Win 9x bug in evaluating length
of area to lock when given length is 0.

20 years ago * fhandler_disk_file.cc (fhandler_disk_file::lock): Interchange
Corinna Vinschen [Wed, 3 Dec 2003 09:58:23 +0000 (09:58 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::lock): Interchange
values of off_low and off_high.

20 years ago * fcntl.cc (fcntl_worker): Remove static storage class.
Corinna Vinschen [Wed, 3 Dec 2003 09:55:42 +0000 (09:55 +0000)]
* fcntl.cc (fcntl_worker): Remove static storage class.
* flock.cc (flock): Use struct __flock64. Call fcntl_worker.
Use Cygwin errno functions instead of accessing errno directly.
* winsup.h: Declare fcntl_worker.

20 years ago * fcntl.cc (_fcntl): Whitespace cleanup.
Corinna Vinschen [Wed, 3 Dec 2003 09:16:37 +0000 (09:16 +0000)]
* fcntl.cc (_fcntl): Whitespace cleanup.

20 years ago* cygthread.cc (cygthread::stub): Properly establish _threadinfo environment.
Christopher Faylor [Wed, 3 Dec 2003 05:21:55 +0000 (05:21 +0000)]
* cygthread.cc (cygthread::stub): Properly establish _threadinfo environment.
(cygthread::stub2): New function.
(cygthread::simplestub): Ditto.
(cygthread::simplestub2): New function.
* cygthread.h (cygthread::stub2): Declare new function.
(cygthread::simplestub2): Ditto.
* cygtls.h (_threadinfo::call): Declare new function.
(_threadinfo::call2): Ditto.
* dcrt0.cc (dll_crt0_1): Accommodate new _threadinfo::init which doesn't return
pointer to tls.
(_dll_crt0): Remove obsolete DECLARE_TLS_STORAGE.
(dll_crt0): Ditto.
* exceptions.cc (_threadinfo::call): New function.
(_threadinfo::call2): Ditto.
(_threadinfo::init): Don't return pointer.
* thread.cc (pthread::thread_init_wrapper): Properly establish _threadinfo
environment.
(pthread::thread_init_wrapper2): New function.
* thread.h (pthread::thread_init_wrapper): Remove noreturn attribute
(pthread::thread_init_wrapper2): Declare new function.
* winbase.h: Remove obsolete code.

20 years ago* Makefile.in: Change the way that -f options are appended to CFLAGS, slightly.
Christopher Faylor [Wed, 3 Dec 2003 00:21:21 +0000 (00:21 +0000)]
* Makefile.in: Change the way that -f options are appended to CFLAGS, slightly.

20 years ago* fcntl.cc (_fcntl): Silence a compiler warning.
Christopher Faylor [Tue, 2 Dec 2003 23:47:28 +0000 (23:47 +0000)]
* fcntl.cc (_fcntl): Silence a compiler warning.

20 years agoRename bfd_link_hash_entry field "next" -> "und_next".
Alan Modra [Tue, 2 Dec 2003 22:59:59 +0000 (22:59 +0000)]
Rename bfd_link_hash_entry field "next" -> "und_next".

20 years agoAdd alternative defintion of C_WEAKEXT for AIX 5.2
Nick Clifton [Tue, 2 Dec 2003 10:49:14 +0000 (10:49 +0000)]
Add alternative defintion of C_WEAKEXT for AIX 5.2

20 years ago * bfdlink.h (struct bfd_link_info): Remove mpc860c0 field.
Alan Modra [Tue, 2 Dec 2003 05:58:36 +0000 (05:58 +0000)]
* bfdlink.h (struct bfd_link_info): Remove mpc860c0 field.

20 years ago* pinfo.cc (pinfo::init): Use shared_name to construct the mapname.
Christopher Faylor [Tue, 2 Dec 2003 04:10:56 +0000 (04:10 +0000)]
* pinfo.cc (pinfo::init): Use shared_name to construct the mapname.

20 years agowhite space
Christopher Faylor [Tue, 2 Dec 2003 01:36:08 +0000 (01:36 +0000)]
white space

20 years agoChange tab to space in Changelog.
Thomas Pfaff [Mon, 1 Dec 2003 22:13:58 +0000 (22:13 +0000)]
Change tab to space in Changelog.

20 years ago* thread.cc (pthread_rwlock::add_reader): Remove mx parameter for
Thomas Pfaff [Mon, 1 Dec 2003 22:10:57 +0000 (22:10 +0000)]
* thread.cc (pthread_rwlock::add_reader): Remove mx parameter for
List_insert call.
(pthread::prepare): Ensure race safeness when adding function
pointers to atfork lists by using List_insert.
* thread.h (List_insert): Use InterlockedCompareExchangePointer to
ensure race safeness without using a mutex.
(List_remove): Use InterlockedCompareExchangePointer to
ensure race safeness with List_insert.
(List::insert): Remove mx parameter for List_insert call.

20 years ago * winsup.api/known_bugs.tcl: Remove fcntl09 and fcntl10. These
Corinna Vinschen [Mon, 1 Dec 2003 17:33:11 +0000 (17:33 +0000)]
* winsup.api/known_bugs.tcl: Remove fcntl09 and fcntl10.  These
tests had a compatibility bug.
* winsup.api/ltp/fcntl09.c: Don't use F_RDLCK | F_WRLCK but only
F_WRLCK to set a write lock.
* winsup.api/ltp/fcntl10.c: Ditto.

20 years ago * libc/include/sys/fcntl.h: Don't define struct flock when on
Corinna Vinschen [Mon, 1 Dec 2003 17:27:01 +0000 (17:27 +0000)]
* libc/include/sys/fcntl.h: Don't define struct flock when on
Cygwin.  This is done in winsup/cygwin/include/cygwin/types.h now.

20 years ago * Makefile.in (OBSOLETE_FUNCTIONS): Add fcntl.
Corinna Vinschen [Mon, 1 Dec 2003 17:26:28 +0000 (17:26 +0000)]
* Makefile.in (OBSOLETE_FUNCTIONS): Add fcntl.
(NEW_FUNCTIONS): Add fcntl64.
* cygwin.din: Export fcntl64.  Make fcntl being SIGFE.
* fcntl.cc (fcntl_worker): New function.
(fcntl64): New function.
(_fcntl): Call fcntl_worker.  Convert 32 bit flock structure into
64 bit flock structure and vice versa.
* fhandler.cc (fhandler_base::lock): Change 2nd parameter to
struct __flock64 *.
* fhandler_disk_file.cc (fhandler_disk_file::lock): Ditto.  Rework
to be 64 bit aware.
* fhandler.h: Accomodate above method argument changes.
* include/cygwin/types.h: Add struct __flock32 and __flock64.
Define struct flock according to setting of __CYGWIN_USE_BIG_TYPES__.
* include/cygwin/version.h: Bump API minor number.

20 years ago * cygheap.cc (cygheap_init): Set cygheap->shared_prefix.
Corinna Vinschen [Mon, 1 Dec 2003 15:03:43 +0000 (15:03 +0000)]
* cygheap.cc (cygheap_init): Set cygheap->shared_prefix.
* cygheap.h (struct init_cygheap): Add shared_prefix.
* shared.cc (shared_name): Use cygheap->shared_prefix.

20 years ago * shared.cc (shared_name): Take into account the SE_CREATE_GLOBAL_NAME
Corinna Vinschen [Mon, 1 Dec 2003 11:16:20 +0000 (11:16 +0000)]
* shared.cc (shared_name): Take into account the SE_CREATE_GLOBAL_NAME
privilege when building the name string.
(open_shared): Remove the call to OpenFileMapping.
(shared_info::initialize): Move cygheap initialization to ...
(memory_init): ... here. Suppress now useless shared_h variable.
(user_shared_initialize): Make tu a cygpsid.

20 years ago * include/tzfile.h: Remove duplicate definition of TM_SUNDAY.
Corinna Vinschen [Mon, 1 Dec 2003 10:39:17 +0000 (10:39 +0000)]
* include/tzfile.h: Remove duplicate definition of TM_SUNDAY.
* localtime.cc: Point TZDIR to the /usr/share/zoneinfo directory used
by the tzcode package.

20 years ago * include/winnt.h (GetCurrentFiber): Remove duplicate prototype.
Danny Smith [Mon, 1 Dec 2003 09:11:42 +0000 (09:11 +0000)]
* include/winnt.h (GetCurrentFiber): Remove duplicate prototype.
(GetFiberData); Likewise.

(GetCurrentFiber): Change volatile to __volatile__.
(GetFiberData); Likewise.

20 years ago * flock.cc: Renamed from flock.c.
Corinna Vinschen [Sun, 30 Nov 2003 10:43:04 +0000 (10:43 +0000)]
* flock.cc: Renamed from flock.c.

20 years ago* pinfo.h: Remove global_sigs declaration.
Christopher Faylor [Sun, 30 Nov 2003 02:21:04 +0000 (02:21 +0000)]
* pinfo.h: Remove global_sigs declaration.
* siginfo.h: Move global_sigs declaration here.
* Makefile.in: Remove duplicate compiler flag.

20 years ago* exceptions.cc (_threadinfo::pop): Zero *contents* of popped stack location
Christopher Faylor [Sun, 30 Nov 2003 02:19:45 +0000 (02:19 +0000)]
* exceptions.cc (_threadinfo::pop): Zero *contents* of popped stack location
rather than the actual stack pointer.

20 years ago * Makefile.in: (DLL_OFILES): Add flock.o.
Corinna Vinschen [Sat, 29 Nov 2003 23:00:51 +0000 (23:00 +0000)]
* Makefile.in: (DLL_OFILES): Add flock.o.
* cygwin.din: Export flock.
* flock.c: New file.
* include/sys/file.h: Include sys/cdefs.h.
Add function prototype for flock().
Add some comments from BSD's header for further clarity.
(L_SET, L_CURR, L_INCR, L_XTND): Redefine as the macros
SEEK_SET, SEEK_CUR, SEEK_CUR, & SEEK_END respectively.
(LOCK_SH,LOCK_EX,LOCK_NB,LOCK_UN): New macros for flock().
* include/cygwin/version.h: Bump API minor number.

20 years ago* sigproc.cc (no_signals_available): Fix so that non-zero exit state is a true
Christopher Faylor [Sat, 29 Nov 2003 00:31:37 +0000 (00:31 +0000)]
* sigproc.cc (no_signals_available): Fix so that non-zero exit state is a true
condition rather than errnoneously only checking other states when exist_state
was zero.

20 years ago* pinfo.h (_pinfo::getthread2signal): Remove obsolete function.
Christopher Faylor [Sat, 29 Nov 2003 00:26:40 +0000 (00:26 +0000)]
* pinfo.h (_pinfo::getthread2signal): Remove obsolete function.
* cygtls.h (_threadinfo): Define tid more precisely.
(_threadinfo::operator HANDLE): Define.
* exceptions.cc (_threadinfo::interupt_now): Use _threadinfo HANDLE operator to
derive thread handle.
(setup_handler): Ditto.
* sigproc.cc: Reorganize includes.

20 years ago* pinfo.h (_pinfo::getsig): Remove obsolete function, here and throughout.
Christopher Faylor [Fri, 28 Nov 2003 22:13:57 +0000 (22:13 +0000)]
* pinfo.h (_pinfo::getsig): Remove obsolete function, here and throughout.
* exceptions.cc: Ditto.
* fhandler_termios.cc: Ditto.
* signal.cc: Ditto.
* sigproc.cc: Ditto.
* Makefile.in: Revert previous change which made a cygwin.din newer than a
version.h a warning rather than an error.

20 years ago* cygwin.din: Re-add inexplicably missing semaphore/msg functions.
Christopher Faylor [Fri, 28 Nov 2003 21:39:08 +0000 (21:39 +0000)]
* cygwin.din: Re-add inexplicably missing semaphore/msg functions.

20 years ago* gendevices: Issue error when shilka is missing.
Christopher Faylor [Fri, 28 Nov 2003 21:20:15 +0000 (21:20 +0000)]
* gendevices: Issue error when shilka is missing.

20 years ago* libc/include/sys/signal.h: Use system specific signal file when building on
Christopher Faylor [Fri, 28 Nov 2003 21:05:51 +0000 (21:05 +0000)]
* libc/include/sys/signal.h: Use system specific signal file when building on
cygwin.

20 years ago* include/cygwin/signal.h: New file.
Christopher Faylor [Fri, 28 Nov 2003 21:01:09 +0000 (21:01 +0000)]
* include/cygwin/signal.h: New file.
(also check in tlsoffsets.h, missed by previous checkin)

20 years agoEliminate use of sigframe and sigthread throughout.
Christopher Faylor [Fri, 28 Nov 2003 20:55:59 +0000 (20:55 +0000)]
Eliminate use of sigframe and sigthread throughout.
* Makefile.in (DLL_OFILES): Add sigfe.o.  Remove reliance on cygwin.def from
cygwin0.dll dependency since dependence on sigfe.o implies that.  Generate def
file on the fly using 'gendef'.
* configure.in: Don't auto-generate cygwin.def.
* configure: Regenerate.
* cygwin.din: Add SIGFE stuff where appropriate.
* dcrt0.cc (dll_crt0_1): Initialize cygwin tls early in process startup.  Set
_main_tls to address of the main thread's cygwin tls.
* debug.h: Remove now unneeded WFSO and WFMO declarations.
* exceptions.cc (_last_thread): Define.
(set_thread_state_for_signals): New function.
(reset_thread_exception_for_signals): Ditto.
(init_thread_for_signals): Ditto.
(delete_thread_for_signals): Ditto.
(capture_thread_for_signals): Ditto.
(handle_exceptions): Set return address explicitly for exceptions prior to
calling sig_send.
(interrupt_on_return): Eliminate.
(setup_handler): Add preliminary implementation for dealing with
thread-specific signals by querying _main_tls.
(signal_exit): Use cygthread::main_thread_id instead of mainthread.id.
(call_signal_handler_now): For now, just handle the main thread.
* fork.cc (vfork): Save and restore main _my_tls.
* gendef: New file.  Generates def file and sigfe.s file.
* gentls_offsets: New file.  Generates offsets for perl to use in sigfe.s.
* how-signals-work.txt: Mention that info is obsolete.
* init.cc (dll_entry): Initialize cygwin tls storage here.
* miscfuncs.cc (low_priority_sleep): Make a C function for easier calling from
asm.
* perthread.h (vfork_save::tls): New element.
* signal.cc (nanosleep): Replace previous use of
sigframe.call_signal_handler_now with straight call to call_signal_handler_now.
(abort): Ditto.
* syscalls.cc (readv): Ditto.
* termios.cc (tcsetattr): Ditto.
* wait.cc (wait4): Ditto.
* sigproc.cc (sig_dispatch_pending): Ditto.
(sig_send): Ditto.
* sigproc.h: Declare call_signal_handler_now.
* thread.cc (pthread::thread_init_wrapper): Initialize cygwin tls.  Remove
obsolete and unworking signal stuff.
* thread.h (verifyable_object::sigs): Eliminate.
(verifyable_object::sigmask): Eliminate.
(verifyable_object::sigtodo): Eliminate.
(verifyable_object::exit): Make attribute noreturn.
(verifyable_object::thread_init_wrapper): Ditto.
(pthread_null::exit): Ditto.
* winbase.h (__stackbase): Always define.
* winsup.h (low_priority_sleep): Declare as a "C" function.
* include/cygwin/version.h: Bump API version to reflect sigwait export.
* include/sys/queue.h: Protect SLIST_ENTRY from previous declaration.
* signal.cc (sigwait): Implement.
* select.cc (fhandler_base::ready_for_read): Add debugging output.
* devices.h: Define more device pointers via their storage.
* devices.in: Don't parse things like /dev/inet/tcp, as they really have no
meaning.
* devices.cc: Regenerate.
* gendevices: Set proper protection for output file.
* cygtls.h: New file.
* gendef: New file.
* gentls_offsets: New file.
* tlsoffsets.h: New file.  Autogenerated.
* config/i386/longjmp.c: Remove.  File subsumed by gendef output.
* config/i386/makefrag: Remove obsolete file.
* fhandler.cc: Remove spurious access_worker declaration.
* spawn.cc (spawnve): Make debugging output more accurate.
* cygwin-gperf: Remove.
* devices.cc: Remove.

20 years ago* speclib: Use correct EOF marker. Ensure that directory is actually deleted
Christopher Faylor [Fri, 28 Nov 2003 20:51:11 +0000 (20:51 +0000)]
* speclib: Use correct EOF marker.  Ensure that directory is actually deleted
when running under Windows.

20 years ago* speclib: Use correct EOF marker. Ensure that directory is actually deleted
Christopher Faylor [Fri, 28 Nov 2003 20:10:07 +0000 (20:10 +0000)]
* speclib: Use correct EOF marker.  Ensure that directory is actually deleted
when running under Windows.

20 years ago* lib/Makefile.in: Use make function to locate .mri file to allow building in
Christopher Faylor [Thu, 27 Nov 2003 23:34:18 +0000 (23:34 +0000)]
* lib/Makefile.in: Use make function to locate .mri file to allow building in
directory other than source directory.

20 years ago* fhandler_disk_file.cc (fhandler_disk_file::readdir): Reorganize to avoid
Christopher Faylor [Thu, 27 Nov 2003 23:27:23 +0000 (23:27 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::readdir): Reorganize to avoid
inappropriate .lnk extensions with munged filenames under managed mode.

20 years ago2003-11-27 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 27 Nov 2003 20:54:12 +0000 (20:54 +0000)]
2003-11-27  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/stdlib.h (_atoi_r): New prototype.
        * libc/stdlib/atoi.c (_atoi_r): New reentrant function.

20 years ago2003-11-27 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 27 Nov 2003 20:15:47 +0000 (20:15 +0000)]
2003-11-27  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/stdlib.h (_atoll_r, _atol_r): New prototypes.
        * libc/stdlib/atol.c (_atol_r): New reentrant function.
        * libc/stdlib/atoll.c (_atoll_r): Ditto.

20 years ago2003-11-27 Artem B. Bityuckiy <mail_lists@mail.ru>
Jeff Johnston [Thu, 27 Nov 2003 19:47:19 +0000 (19:47 +0000)]
2003-11-27  Artem B. Bityuckiy  <mail_lists@mail.ru>
            Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/stdlib.h (lldiv_t): New type.
        (atoll, llabs, lldiv): New prototypes.
        * libc/stdlib/Makefile.am: Add support for atoll, llabs, and lldiv.
        * libc/stdlib/stdlib.tex: Ditto.
        * libc/stdlib/Makefile.in: Regenerated.
        * libc/stdlib/atoll.c: New file.
        * libc/stdlib/llabs.c: Ditto.
        * libc/stdlib/lldiv.c: Ditto.

20 years ago2003-11-27 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 27 Nov 2003 19:18:38 +0000 (19:18 +0000)]
2003-11-27  Jeff Johnston  <jjohnstn@redhat.com>

        * COPYING.NEWLIB: Add license info for long long routines added to
        stdlib.

20 years ago2003-11-27 Dimitry Sibiryakov <aafemt@users.sourceforge.net>
Danny Smith [Thu, 27 Nov 2003 08:23:43 +0000 (08:23 +0000)]
2003-11-27  Dimitry Sibiryakov  <aafemt@users.sourceforge.net>

* include/signal.h (SIG_SGE, SIG_ACK): Add defines.

20 years ago * lib/vfw32.def: Remove, replacing with ...
Danny Smith [Thu, 27 Nov 2003 02:14:37 +0000 (02:14 +0000)]
* lib/vfw32.def: Remove, replacing with ...
* lib/msvfw32.def: New file.
* lib/avicap32.def: New file.
* lib/avifil32.def: New file.
* lib/vfw32.mri: New file.
* Makefile.in: (MRI_FILES, MIMPLIBS): New vars for
import libs with multiple dll's.
(LIBS): Add MIMPLIBS.
(DISTFILES): Add MRI_FILES.
(libvfw32.a): Build using mri script.

20 years ago * cygserver.cc (main): Move call to ipcinit() up before installing
Corinna Vinschen [Wed, 26 Nov 2003 22:29:35 +0000 (22:29 +0000)]
* cygserver.cc (main): Move call to ipcinit() up before installing
any threads.
* sysv_sem.cc: Update to FreeBSD version 1.67.
(seminit): Initialize semaphore sequence numbers to 0.

20 years ago * Makefile.in (CYGWIN_LIB): Variable pointing to libcygwin.a in
Corinna Vinschen [Wed, 26 Nov 2003 20:05:09 +0000 (20:05 +0000)]
* Makefile.in (CYGWIN_LIB): Variable pointing to libcygwin.a in
the parallel cygwin dir.
(cygserver.exe): Depend on and link against $CYGWIN_LIB.

20 years ago2003-11-26 Corinna Vinschen <corinna@vinschen.de>
Jeff Johnston [Wed, 26 Nov 2003 19:15:17 +0000 (19:15 +0000)]
2003-11-26  Corinna Vinschen  <corinna@vinschen.de>

        * libc/include/fcntl.h: Declare syscalls only when building newlib.
        * libc/include/unistd.h: Ditto.
        * libc/include/stat.h: Ditto.  Also declare struct stat64.

20 years ago * mkgroup.c (main): Print "root" group with local admins group sid
Corinna Vinschen [Wed, 26 Nov 2003 15:47:44 +0000 (15:47 +0000)]
* mkgroup.c (main): Print "root" group with local admins group sid
and gid 0.

20 years ago * sec_helper.cc (set_process_privilege): Rename restore_priv to
Corinna Vinschen [Wed, 26 Nov 2003 14:29:22 +0000 (14:29 +0000)]
* sec_helper.cc (set_process_privilege): Rename restore_priv to
priv_luid.

* sec_helper.cc (set_process_privilege): Call LookupPrivilegeValue
before opening the token.

20 years ago * dir.cc (mkdir): Use local security_descriptor. Call
Corinna Vinschen [Wed, 26 Nov 2003 13:23:27 +0000 (13:23 +0000)]
* dir.cc (mkdir): Use local security_descriptor. Call
set_security_attribute appropriately.
* external.cc (cygwin_internal): Ditto.
* fhandler.cc (fhandler_base::open): Ditto.
* fhandler_socket.cc (fhandler_socket::bind): Ditto.
* path.cc (symlink_worker): Ditto.
* sec_acl.cc (setacl): Ditto. Call read_sd appropriately.
(getace): Ditto.
* sec_helper.cc (security_descriptor::malloc): New method.
(security_descriptor::realloc): New method.
(security_descriptor::free): New method.
* security.cc (read_sd): Get security_descriptor as parameter instead
of PSECURITY_DESCRIPTOR and a size. Drop unnecessary parameter check.
Allocate the security_descriptor buffer according to size returned by
a call to GetFileSecurity. Return buffer size on success.
(write_sd): Get security_descriptor as parameter instead of
PSECURITY_DESCRIPTOR and a size.
(get_nt_attribute): Use local security_descriptor.
(get_nt_object_attribute): Ditto in case of type == SE_REGISTRY_KEY.
Allocate security_descriptor buffer according to size returned by
a call to RegGetKeySecurity.
(alloc_sd): Make static. Get security_descriptor as parameter instead
of PSECURITY_DESCRIPTOR and a size. Drop unnecessary parameter check.
(set_security_attribute): Get security_descriptor as parameter instead
of PSECURITY_DESCRIPTOR and a size.
(set_nt_attribute): Use local security_descriptor.
(check_file_access): Ditto.
* security.h: Add class security_descriptor.
(read_sd): Change declaration to get security_descriptor as parameter
instead of PSECURITY_DESCRIPTOR and a size.
(write_sd): Ditto.
(set_security_attribute): Ditto.
(alloc_sd): Remove declaration.
* thread.cc (semaphore::semaphore): Use local security_descriptor. Call
set_security_attribute appropriately.

20 years ago * sec_acl.h (getace): Use FILE_*_BITS as permission mask.
Corinna Vinschen [Wed, 26 Nov 2003 10:52:21 +0000 (10:52 +0000)]
* sec_acl.h (getace): Use FILE_*_BITS as permission mask.
* security.cc (get_attribute_from_acl): Ditto.
* security.h (FILE_READ_BITS): Define to match also GENERIC bits.
(FILE_WRITE_BITS): Ditto.
(FILE_EXEC_BITS): Ditto.

20 years ago* Makefile.in (CXXFLAGS): Remove duplicate options handled in Makefile.common.
Christopher Faylor [Wed, 26 Nov 2003 03:52:12 +0000 (03:52 +0000)]
* Makefile.in (CXXFLAGS): Remove duplicate options handled in Makefile.common.

20 years agomore white space
Christopher Faylor [Tue, 25 Nov 2003 22:59:37 +0000 (22:59 +0000)]
more white space

20 years agomore white space
Christopher Faylor [Tue, 25 Nov 2003 22:58:32 +0000 (22:58 +0000)]
more white space

20 years agomore white space
Christopher Faylor [Tue, 25 Nov 2003 22:57:22 +0000 (22:57 +0000)]
more white space

20 years agomore white space
Christopher Faylor [Tue, 25 Nov 2003 22:56:58 +0000 (22:56 +0000)]
more white space

20 years ago* thread.cc: Minor whitespace cleanup. Remove some obsolete code.
Christopher Faylor [Tue, 25 Nov 2003 22:55:31 +0000 (22:55 +0000)]
* thread.cc: Minor whitespace cleanup.  Remove some obsolete code.

20 years ago* winsup.api/known_bugs.tcl: Remove lseek10 since mknod now works.
Christopher Faylor [Tue, 25 Nov 2003 19:24:46 +0000 (19:24 +0000)]
* winsup.api/known_bugs.tcl: Remove lseek10 since mknod now works.

20 years ago* dtable.cc (build_fh_name): Set error in dummy fhandler when one is noted
Christopher Faylor [Tue, 25 Nov 2003 02:03:17 +0000 (02:03 +0000)]
* dtable.cc (build_fh_name): Set error in dummy fhandler when one is noted
during path_conv.
* fhandler.h (fhandler_base::set_error): New method.

20 years ago2003-11-24 Artem B. Bityuckiy <mail_lists@mail.ru>
Jeff Johnston [Mon, 24 Nov 2003 18:39:04 +0000 (18:39 +0000)]
2003-11-24  Artem B. Bityuckiy  <mail_lists@mail.ru>

        * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix check for 'C' format
        specifier to use ch instead of *fmt.

20 years ago* configure.in: Avoid using cygserver unless hosting on cygwin.
Christopher Faylor [Mon, 24 Nov 2003 17:03:50 +0000 (17:03 +0000)]
* configure.in: Avoid using cygserver unless hosting on cygwin.

20 years ago * include/winnt.h (PAGE_*): Group defines together. Change
Danny Smith [Sun, 23 Nov 2003 20:29:02 +0000 (20:29 +0000)]
* include/winnt.h (PAGE_*): Group defines together. Change
constants to hex notation.

20 years agowhite space
Christopher Faylor [Sun, 23 Nov 2003 17:55:37 +0000 (17:55 +0000)]
white space

20 years ago * Makefile.in: Make cygserver depending on cygwin.
Corinna Vinschen [Sun, 23 Nov 2003 09:02:26 +0000 (09:02 +0000)]
* Makefile.in: Make cygserver depending on cygwin.

20 years ago* sigproc.cc (sig_send): Correct below checkin. Use
Christopher Faylor [Sun, 23 Nov 2003 05:42:47 +0000 (05:42 +0000)]
* sigproc.cc (sig_send): Correct below checkin.  Use
thisframe.call_signal_handler.

20 years ago* sigproc.cc (proc_exists): A zombie process does not exist.
Christopher Faylor [Sun, 23 Nov 2003 05:34:00 +0000 (05:34 +0000)]
* sigproc.cc (proc_exists): A zombie process does not exist.
(sig_send): Improve debugging output.  Wait for pipe to be created before
trying to send to it.  Call call_signal_handler_now if sending a signal to
myself.

20 years ago * msg.cc (client_request_msg::serve): Add default case to msgop switch.
Corinna Vinschen [Sat, 22 Nov 2003 22:37:13 +0000 (22:37 +0000)]
* msg.cc (client_request_msg::serve): Add default case to msgop switch.
* sem.cc (client_request_sem::serve): Add default case to semop switch.
* shm.cc (client_request_shm::serve): Add default case to shmop switch.

20 years ago* dcrt0.cc (check_sanity_and_sync): Correct api major version check so that
Christopher Faylor [Sat, 22 Nov 2003 17:22:59 +0000 (17:22 +0000)]
* dcrt0.cc (check_sanity_and_sync): Correct api major version check so that
newer dlls will work with older apps but not vice versa.

20 years ago2003-11-21 Artem B. Bityuckiy <mail_lists@mail.ru>
Jeff Johnston [Sat, 22 Nov 2003 01:07:24 +0000 (01:07 +0000)]
2003-11-21  Artem B. Bityuckiy  <mail_lists@mail.ru>

        * libc/stdio/vfprintf.c (_VFPRINTF_R, get_arg): Move mb-specific
        code within checks for MB_CAPABLE.  For non-mb-capable platforms,
        use simple byte logic.

20 years ago* sem.cc: Always include signal.h to handle SIGSYS raise when !USE_SERVER.
Christopher Faylor [Fri, 21 Nov 2003 22:22:08 +0000 (22:22 +0000)]
* sem.cc: Always include signal.h to handle SIGSYS raise when !USE_SERVER.
* shm.cc: Ditto.
* msg.cc: Always include signal.h to handle SIGSYS raise when !USE_SERVER.

20 years ago* msg.cc: Always include signal.h to handle SIGSYS raise when !USE_SERVER.
Christopher Faylor [Fri, 21 Nov 2003 22:21:05 +0000 (22:21 +0000)]
* msg.cc: Always include signal.h to handle SIGSYS raise when !USE_SERVER.

20 years ago2003-11-21 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 21 Nov 2003 20:48:49 +0000 (20:48 +0000)]
2003-11-21  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/stdio/vfscanf.c (__svfscanf_r)[!_NO_LONGDBL]: Don't use
        _strtold routine for processing floats and doubles since it
        is not as fast as _strtod_r.

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