]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
23 years ago * demangle.h: Add gnat and java demangle styles.
Hans-Peter Nilsson [Wed, 15 Nov 2000 11:47:51 +0000 (11:47 +0000)]
* demangle.h: Add gnat and java demangle styles.

23 years ago * spawn.cc (spawn_guts): Revert patch to ignore chroot settings
Corinna Vinschen [Wed, 15 Nov 2000 09:01:33 +0000 (09:01 +0000)]
    * spawn.cc (spawn_guts): Revert patch to ignore chroot settings
        on creating native Win32 environment.

23 years ago* fork.cc (slow_pid_reuse): Off-by-one.
Christopher Faylor [Wed, 15 Nov 2000 06:46:19 +0000 (06:46 +0000)]
* fork.cc (slow_pid_reuse): Off-by-one.

23 years agoThroughout use myself->ppid_handle rather than parent_alive.
Christopher Faylor [Wed, 15 Nov 2000 06:27:48 +0000 (06:27 +0000)]
Throughout use myself->ppid_handle rather than parent_alive.
* child_info.h (child_info): Eliminate parent_alive.
* dcrt0.cc (dll_crt0_1): Call fork_init for debugging pid creation.
* fork.cc (fork_child): Reflect change to fixup_mmaps_after_fork arguments.
(slow_pid_reuse): New function to grab last 'n' pids to prevent pid reuse.
(fork_parent): Move last_fork_proc into slow_pid_reuse.  Handle fork_pids
debugging.  Eliminate unnecessary call to set_child_mmap_ptr.
(fork_init): New debugging function.
* mmap.cc (fixup_mmaps_after_fork): Renamed from recreate_mmaps_after_fork.
Rely on copied data after a fork.
(set_child_mmap_ptr): Eliminate.
* pinfo.h (_pinfo): Eliminate parent_alive, mmap_ptr and reflect above changes.
* spawn.cc (spawn_guts): Eliminate vestiges of "old way" of sending new hProc
to parent process.

23 years agoFix formatting.
Corinna Vinschen [Wed, 15 Nov 2000 00:13:44 +0000 (00:13 +0000)]
Fix formatting.

23 years ago * cygheap.cc (cygheap_root::cygheap_root): New function.
Corinna Vinschen [Wed, 15 Nov 2000 00:13:09 +0000 (00:13 +0000)]
    * cygheap.cc (cygheap_root::cygheap_root): New function.
        (cygheap_root::~cygheap_root): Ditto.
        (cygheap_root::operator=): Ditto.
        (cygheap_user::~cygheap_user): Ditto.
        (cygheap_user::set_name): Ditto.
        (cygheap_user::set_logsrv): Ditto.
        (cygheap_user::set_domain): Ditto.
        (cygheap_user::set_sid): Ditto.
        * cygheap.h (cygheap_root): New class.
        (cygheap_user): Ditto.
        (init_cygheap): Change type of `root' member to cygheap_root.
        Add `user' member.
        * dir.cc (opendir): Use new `cygheap_root' class.
        * dcrt0.cc (dll_crt0_1): Use new `cygheap_user' class.
        * fork.cc (fork_parent): Ditto.
        * grp.cc (getgroups): Ditto.
        * passwd.cc (search_for): Ditto.
        * path.cc: Use new `cygheap_root' class throughout.
        * pinfo.h (_pinfo): Remove `use_psid'. Move `username', `psid',
        `logsrv', `domain', `orig_{uid,gid}' and `real_{uid,gid}' to
        cygheap_user class.
        * security.cc: Use new `cygheap_user' class throughout.
        * shared.cc (sec_user): Ditto.
        * sigproc.cc (proc_subproc): Remove copy statements for user
        related information moved to `cygheap_user' class.
        * spawn.cc (spawn_guts): Invalidate current chroot settings
        when creating Windows environment. Use new `cygheap_user' class.
        * syscalls.cc: Use new `cygheap_user' class throughout.
        * uinfo.cc: Ditto.
        * uinfo.cc (internal_getlogin): Change parameters to reflect the
        move of user information to cygheap.

23 years ago * dir.cc (rewinddir): Always set __d_position = 0, so next
Corinna Vinschen [Tue, 14 Nov 2000 16:06:52 +0000 (16:06 +0000)]
    * dir.cc (rewinddir): Always set __d_position = 0, so next
        call to readdir() will restart the directory scan.

23 years ago* cygheap.h (init_cygheap): New struct holding values that live in the Cygwin
Christopher Faylor [Tue, 14 Nov 2000 05:53:32 +0000 (05:53 +0000)]
* cygheap.h (init_cygheap): New struct holding values that live in the Cygwin
heap.
* child_info.h (child_info): Change pointer type of cygheap to init_cygheap.
* cygheap.cc (init_cheap): Point cygheap_max after contents of cygheap.  Move
some stuff into cygheap.h.
* dir.cc (opendir): Change to use root and rootlen in cygheap rather than in
myself.
(mkdir): Change to use umask in cygheap rather than in myself.
* path.cc: Ditto, throughout.
* syscalls.cc (_open): Ditto.  Change to use umask in cygheap rather than in
myself.
(chroot): Change to allocate root dir on the cygwin heap.
(umask): Change to use umask in cygheap rather than in myself.
(cygwin_bind): Ditto.
* sigproc.cc (proc_subproc): Don't copy umask or root stuff as this happens
automatically now.
* pinfo.h (_pinfo): Migrate stuff out of here and into init_cheap.
* dcrt0.cc (dll_crt0_1): Call cygheap_init later in startup for first cygwin
process.

23 years ago* path.cc (get_device_number): Allow /dev/ttySn to designate a com port.
Christopher Faylor [Mon, 13 Nov 2000 04:06:41 +0000 (04:06 +0000)]
* path.cc (get_device_number): Allow /dev/ttySn to designate a com port.

23 years ago* path.h: Add __attribute__ ((regparm(x))) to commonly used functions.
Christopher Faylor [Sun, 12 Nov 2000 04:57:41 +0000 (04:57 +0000)]
* path.h: Add __attribute__ ((regparm(x))) to commonly used functions.
* pinfo.h: Ditto.
* sigproc.h: Ditto.
* sync.h: Ditto.

23 years ago* dcrt0.cc: New global variable `ignore_case_with_glob'.
Christopher Faylor [Sat, 11 Nov 2000 05:36:34 +0000 (05:36 +0000)]
* dcrt0.cc: New global variable `ignore_case_with_glob'.
(dll_crt0_1): Disable case-insensitive globbing before calling `main'.
* environ.cc (glob_init): New static function to set or clear
`ignore_case_with_glob'.
(known): Changed "glob" entry to call `glob_init'.
* glob.c (match): Use case-insensitive globbing if needed.

23 years agoremove include/rapi.h
Christopher Faylor [Thu, 9 Nov 2000 18:07:16 +0000 (18:07 +0000)]
remove include/rapi.h

23 years ago * dir.cc (readdir): Avoid reading from the beginning when
Corinna Vinschen [Thu, 9 Nov 2000 13:32:33 +0000 (13:32 +0000)]
    * dir.cc (readdir): Avoid reading from the beginning when
        readdir is called after a previous call has returned NULL.

23 years agoIncrease cygwin heap size.
Christopher Faylor [Thu, 9 Nov 2000 02:39:45 +0000 (02:39 +0000)]
Increase cygwin heap size.

23 years ago* select.cc (peek_pipe): Deal with pending newline in pty_master.
Christopher Faylor [Thu, 9 Nov 2000 02:03:33 +0000 (02:03 +0000)]
* select.cc (peek_pipe): Deal with pending newline in pty_master.

23 years ago* mount.cc (main): Call show_cygdrive_info instead of show_cygdrive_prefixes.
Christopher Faylor [Wed, 8 Nov 2000 20:39:45 +0000 (20:39 +0000)]
* mount.cc (main): Call show_cygdrive_info instead of show_cygdrive_prefixes.
* mount.cc (show_cygdrive_prefixes): Remove function.
* mount.cc (show_cygdrive_info): New function.  Actually, show_cygdrive_info is
really an enhanced version of show_cygdrive_prefixes renamed to
show_cygdrive_info that also displays the user and system flags.

23 years ago* environ.cc (_addenv): malloc space for setenv if cygwin1.dll is used in
Christopher Faylor [Wed, 8 Nov 2000 20:36:37 +0000 (20:36 +0000)]
* environ.cc (_addenv): malloc space for setenv if cygwin1.dll is used in
conjunction with older binaries.
(environ_init): Ditto.
* external.cc (get_cygdrive_info): New function.
* external.cc (get_cygdrive_prefixes): Change to use get_cygdrive_info but toss
the user and system flags.
* external.cc (cygwin_internal): Add new CW_GET_CYGDRIVE_INFO case.
* path.cc (mount_info::get_cygdrive_prefixes): Remove method.
* path.cc (mount_info::get_cygdrive_info): New method.  Actually,
get_cygdrive_info is really an enhanced version of get_cygdrive_prefixes
renamed to get_cygdrive_info that also gets the user and system flags.
* shared_info.h (get_cygdrive_prefixes): Remove method.
* shared_info.h (get_cygdrive_info): New method.
* include/cygwin/version.h: Bump minor API version due to adding
CW_GET_CYGDRIVE_INFO to cygwin_internal.
* include/sys/cygwin.h (cygwin_getinfo_types): Add CW_GET_CYGDRIVE_INFO.

23 years ago * mkgroup.c (load_netapi): New function to load netapi32.dll functions
Corinna Vinschen [Wed, 8 Nov 2000 15:00:02 +0000 (15:00 +0000)]
    * mkgroup.c (load_netapi): New function to load netapi32.dll functions
        dynamically so that mkgroup works on 9x/ME as well.
        Use corresponding function pointers throughout.
        (usage): Change to `int'. Change text to be conformant to mkpasswd.
        (main): Use `getlongopt' to process options.
        Special handling to create a group entry on 9x/ME.
        * mkpasswd.c (load_netapi): New function to load netapi32.dll functions
        dynamically so that mkpasswd works on 9x/ME as well.
        Use corresponding function pointers throughout.
        (usage): Change to `int'. Change text to be conformant to mkgroup.
        (main): Use `getlongopt' to process options.
        Special handling to create a passwd entry on 9x/ME.
        Change conditional to create an entry for the local administrators
        group when appropriate.

23 years ago * autoload.cc: Add autoload statement for `WSASetLastError'.
Corinna Vinschen [Tue, 7 Nov 2000 20:01:09 +0000 (20:01 +0000)]
    * autoload.cc: Add autoload statement for `WSASetLastError'.
        * net.cc (cygwin_connect): Change error code to WSAEINPROGRESS
        when connect returns WSAEWOULDBLOCK.

23 years agoFix typos.
Christopher Faylor [Tue, 7 Nov 2000 19:00:02 +0000 (19:00 +0000)]
Fix typos.

23 years agoUpdate copyright.
Christopher Faylor [Tue, 7 Nov 2000 02:21:33 +0000 (02:21 +0000)]
Update copyright.

23 years ago* dcrt0.cc (sigthread::init): Reinstitute sigthread lock as a critical section.
Christopher Faylor [Mon, 6 Nov 2000 23:12:05 +0000 (23:12 +0000)]
* dcrt0.cc (sigthread::init): Reinstitute sigthread lock as a critical section.
(dll_crt0_1): Move sigthread lock initialization to earlier in startup.
* exceptions.cc (interrupt_on_return): Remove previous kludgy attempt to detect
an invalid frame.
(call_handler): Eliminate inner for loop.  Grab signal critical section lock
where appropriate.
* sigproc.cc (proc_subproc): Restore uid setting.
* sigproc.h (sigthread): Reinstitute sigthread lock as a critical section.
(sigframe): Grab the sigthread lock before clearing frame to avoid having the
signal thread use an invalid frame.

23 years ago* config.sub: Add support for Sun Chorus
Christopher Faylor [Mon, 6 Nov 2000 19:21:51 +0000 (19:21 +0000)]
* config.sub: Add support for Sun Chorus

23 years ago* path.cc (mount_info::read_cygdrive_info_from_registry): Use
Christopher Faylor [Mon, 6 Nov 2000 16:40:29 +0000 (16:40 +0000)]
* path.cc (mount_info::read_cygdrive_info_from_registry): Use
CYGWIN_INFO_CYGDRIVE_PREFIX, CYGWIN_INFO_CYGDRIVE_DEFAULT_PREFIX, and
CYGWIN_INFO_CYGDRIVE_FLAGS.
* path.cc (mount_info::write_cygdrive_info_to_registry): Use
CYGWIN_INFO_CYGDRIVE_PREFIX and CYGWIN_INFO_CYGDRIVE_FLAGS.
* path.cc (mount_info::remove_cygdrive_info_from_registry): Ditto.
* path.cc (mount_info::get_cygdrive_prefixes): Use CYGWIN_INFO_CYGDRIVE_PREFIX.
* include/cygwin/version.h: Add CYGWIN_INFO_CYGDRIVE_FLAGS,
CYGWIN_INFO_CYGDRIVE_PREFIX, and CYGWIN_INFO_CYGDRIVE_DEFAULT_PREFIX.

23 years ago * Makefile.in: increment VERSION.
Earnie Boyd [Mon, 6 Nov 2000 16:17:16 +0000 (16:17 +0000)]
* Makefile.in: increment VERSION.
(dist:) Rename to srcdist.  Create new dist target to call
srcdist and bindist targets.
(srcdist:) New target.
(clean-top:) add call to mostlyclean-top and add rm of distribution
tarballs.
* lib/Makefile.in: (uninstall:) modify to remove files from the
new w32api subdirectory and to remove w32api subdirectory.
(xuninstall:) Ditto.
TODO: Add a task to redo the clean targets of Makefile.in

23 years ago* errno.cc (strerror): Change EAGAIN case to return "Resource temporarily
Christopher Faylor [Mon, 6 Nov 2000 16:13:44 +0000 (16:13 +0000)]
* errno.cc (strerror): Change EAGAIN case to return "Resource temporarily
unavailable" instead of "No more processes".

23 years ago * libc/include/sys/types.h: Change type of i to `size_t' in
Corinna Vinschen [Mon, 6 Nov 2000 11:59:53 +0000 (11:59 +0000)]
    * libc/include/sys/types.h: Change type of i to `size_t' in
        FD_ZERO macro to avoid compiler warnings.

23 years agoFix typo.
Christopher Faylor [Mon, 6 Nov 2000 06:38:21 +0000 (06:38 +0000)]
Fix typo.

23 years ago* child_info.h (child_info): Add pppid_handle for closing the parent's of the
Christopher Faylor [Mon, 6 Nov 2000 06:36:32 +0000 (06:36 +0000)]
* child_info.h (child_info): Add pppid_handle for closing the parent's of the
parent handle.
* dcrt0.cc (_dll_crt0): Close parent's parent handle when spawned or forked.
* debug.cc (add_handle): Correct erroneous reference to handle structure when
printing warning.
* exceptions.cc (interrupt_now): Always return 1.
(interrupt_on_return): Accept a sigthread argument.  Check to see if this
argument has been trashed prior to setting up the stack return.
(call_handler): Add a loop around attempts to dispatch signals to detect case
where interrupt_on_return fails.
(_sigdelayed): Set up a temporary frame pointer prior to calling stuff that
could trigger an interrupt or the stack walking code will be very confused.
* fork.cc (fork_parent): Move a lot of the setup of the child process into
proc_subproc.
* spawn.cc (spawn_guts): Ditto.  Use ppid_handle to contact logical parent when
reparenting.
* pinfo.h (_pinfo): Remember the logical handle of the parent process.
* sigproc.cc (proc_subproc): Record most stuff necessary for the _pinfo
structure that is inferrable from myself when adding children.
(wait_sig): Always set 'pending_signals' flag when about to kick off the signal
scanning loop.  Reset it only if there are no pending signals.

23 years agoFix spelling error.
Christopher Faylor [Sun, 5 Nov 2000 22:11:37 +0000 (22:11 +0000)]
Fix spelling error.

23 years ago* pinfo (wait_subproc): Son of neverending debug tweaking.
Christopher Faylor [Sun, 5 Nov 2000 18:47:28 +0000 (18:47 +0000)]
* pinfo (wait_subproc): Son of neverending debug tweaking.

23 years ago* pinfo (wait_subproc): Neverending debug tweaking.
Christopher Faylor [Sun, 5 Nov 2000 16:47:00 +0000 (16:47 +0000)]
* pinfo (wait_subproc): Neverending debug tweaking.

23 years ago* pinfo.cc (winpids:add): New method.
Christopher Faylor [Sun, 5 Nov 2000 06:42:23 +0000 (06:42 +0000)]
* pinfo.cc (winpids:add): New method.
(winpids::enumNT): New method renamed from EnumProcessesNT.  Use add method to
add elements to the lists.
(winpids::enum9x): New method renamed from EnumProcesses9x.  Use add method to
add elements to the lists.
(winpids::enum_init): Accept 'winpid' parameter to control whether to add all
windows pids to the list.
(winpids::release): New method.
* pinfo.h (winpids): Reflect above changes.
* signal.cc (kill_pgrp): Ditto.
* external.cc (fillout_pinfo): Ditto.

23 years ago* exceptions.cc (handle_sigsuspend): Record frame here for signalling.
Christopher Faylor [Sun, 5 Nov 2000 03:08:39 +0000 (03:08 +0000)]
* exceptions.cc (handle_sigsuspend): Record frame here for signalling.
(set_process_mask): Ditto.

23 years ago* sigproc.cc (wait_subproc): Still more debugging cleanup.
Christopher Faylor [Sat, 4 Nov 2000 19:25:55 +0000 (19:25 +0000)]
* sigproc.cc (wait_subproc): Still more debugging cleanup.

23 years ago * hashtab.h (struct htab): Add member return_allocation_failure.
Hans-Peter Nilsson [Sat, 4 Nov 2000 07:48:51 +0000 (07:48 +0000)]
* hashtab.h (struct htab): Add member return_allocation_failure.
(htab_try_create): New prototype.  Mention which functions may
return NULL when this is used.

23 years ago* pinfo.cc (EnumProcessesNT): Avoid 0 pids.
Christopher Faylor [Sat, 4 Nov 2000 05:54:57 +0000 (05:54 +0000)]
* pinfo.cc (EnumProcessesNT): Avoid 0 pids.
(EnumProcesses9x): Ditto.
* sigproc.cc (remove_childe): Eliminate.
(proc_subproc): Move remove_child stuff here.
(wait_subproc): Synchronize with proc_subproc when error occurs.  Add more
debugging info.
* sigproc.h (procstuff): Add an entry.
* spawn.cc (spawn_guts): Add sigframe here.

23 years ago* lib/Makefile.in: Install header files in w32api subdirectory.
Christopher Faylor [Sat, 4 Nov 2000 02:51:36 +0000 (02:51 +0000)]
* lib/Makefile.in: Install header files in w32api subdirectory.

23 years ago* sigproc.cc (wait_subproc): Refine debug output.
Christopher Faylor [Sat, 4 Nov 2000 01:08:23 +0000 (01:08 +0000)]
* sigproc.cc (wait_subproc): Refine debug output.

23 years ago * hashtab.h: Change void * to PTR where necessary.
Hans-Peter Nilsson [Fri, 3 Nov 2000 20:53:04 +0000 (20:53 +0000)]
* hashtab.h: Change void * to PTR where necessary.

23 years ago* pinfo.cc (pinfo::init): Reverse order of setting status and pid info in an
Christopher Faylor [Fri, 3 Nov 2000 04:27:03 +0000 (04:27 +0000)]
* pinfo.cc (pinfo::init): Reverse order of setting status and pid info in an
execed process to avoid a race.
* sigproc.cc (wait_subproc): Print more info when a WFSO error occurs.
* automode.c: New file.
* syscalls.cc (close_all_files): Streamline slightly.
* cygheap.cc (ccalloc): Clear *entire* allocated array.

23 years agoAdd support for -storm-chaos
Nick Clifton [Thu, 2 Nov 2000 23:07:28 +0000 (23:07 +0000)]
Add support for -storm-chaos

23 years ago* ntdll.h: Remove IO_COUNTERS definition since it is now in winnt.h.
Christopher Faylor [Thu, 2 Nov 2000 06:59:07 +0000 (06:59 +0000)]
* ntdll.h: Remove IO_COUNTERS definition since it is now in winnt.h.

23 years ago* pinfo.cc (EnumProcessesNT): New function. Eliminates dependence on psapi.h.
Christopher Faylor [Thu, 2 Nov 2000 05:25:56 +0000 (05:25 +0000)]
* pinfo.cc (EnumProcessesNT): New function.  Eliminates dependence on psapi.h.
(EnumProcesses9x): Rename from EnumProcessesW95.  Change arguments to be more
useful for cygwin.
(winpids::init): Accomodate argument changes.
(enum_init): Ditto.
* pinfo.h (winpids): Make pidlist dynamically extendable by storing it as a
pointer and remembering the size.
* ntdll.h: Add extra definitions needed for EnumProcessesNT.  Reformat via
'indent'.

23 years ago* exceptions.cc (interruptible): Remove obsolete tests.
Christopher Faylor [Thu, 2 Nov 2000 02:15:02 +0000 (02:15 +0000)]
* exceptions.cc (interruptible): Remove obsolete tests.
(sigreturn): Construct pseudo-frame-pointer so that signal handler can figure
out where to put return address when signals are coming in quickly.
* path.cc (cwdstuff::get): Allow length 0 buffer length when buffer when NULL.

23 years ago * kill.cc (main): Return 1 in case of errors.
Corinna Vinschen [Thu, 2 Nov 2000 01:03:00 +0000 (01:03 +0000)]
    * kill.cc (main): Return 1 in case of errors.

23 years ago * CONTRIBUTIONS: New file.
Earnie Boyd [Wed, 1 Nov 2000 01:22:08 +0000 (01:22 +0000)]
* CONTRIBUTIONS: New file.
* README: Change the maintained by header.
* TODO: Add a note about checking the TODO.

23 years ago * include/basetyps.h: add comment for GUID_DEFINED
Earnie Boyd [Wed, 1 Nov 2000 00:37:23 +0000 (00:37 +0000)]
* include/basetyps.h: add comment for GUID_DEFINED
* include/lm.h: add includes for lmerr.h and lmserver.h
* include/lmcons.h: add W2K typedefs LMSTR, LMCSTR
* include/lmerr.h:  add error codes
* include/lmserver.h: replace LPTSTR with LPWSTR,
LPTCSTR with LPWCSTR in structures and prototypes
* include/lmshare.h: ditto
* include/lmuse.h: ditto
* include/lmstats.h: ditto
* include/oleauto.h: add function prototype SystemTimeToVariantTime
* include/winbase.h: change first argument of CommConfigDialog to const
* include/windowsx.h: add macros  defining FAR versions of
mem and string functions for porting from Win16 code
* include/winioctl.h:  added IOCTL_STORAGE defines
* include/winnetwk.h:  added WNNC_NET flags
* include/winnt.h: add include of <basetsd.h>;
add structs; add pointer typedefs  for TOKEN structs
* include/winsock.h: add guard around BSD-ish typedefs
* include/wtypes.h: new VARENUM enums, new WIN32/WIN64 compat. macros
* include/basetsd.h: new file
* include/raserror.h: ditto
* include/rassapi.h: ditto
* include/ras.h: ditto
comment from Earnie: replaced original ras.h contribution with Danny's
contribution as it is more complete.
* include/rpcndr.h: add default definition for __RPCNDR_H_VERSION__

23 years ago* path.h (has_exec_chars): Standard function for checking for executable magic
Christopher Faylor [Tue, 31 Oct 2000 23:14:29 +0000 (23:14 +0000)]
* path.h (has_exec_chars): Standard function for checking for executable magic
numbers.
* path.cc (symlink_info::check): Use the above function.
* fhandler.cc (fhandler_disk_file::open): Ditto.

23 years ago* path.cc (_readlink): Return ENOENT when file does not exist.
Christopher Faylor [Tue, 31 Oct 2000 23:01:21 +0000 (23:01 +0000)]
* path.cc (_readlink): Return ENOENT when file does not exist.

23 years ago * fhandler.h (fhandler_dev_raw): Add method `fixup_after_exec'.
Corinna Vinschen [Tue, 31 Oct 2000 22:38:00 +0000 (22:38 +0000)]
    * fhandler.h (fhandler_dev_raw): Add method `fixup_after_exec'.

23 years ago * fhandler.h (fhandler_dev_raw): Add definition for method
Corinna Vinschen [Tue, 31 Oct 2000 22:20:59 +0000 (22:20 +0000)]
    * fhandler.h (fhandler_dev_raw): Add definition for method
        `fixup_after_fork'.
        * fhandler_raw.cc (fhandler_dev_raw::fhandler_dev_raw): Add
        `set_need_fixup_after_fork' call.
        (fhandler_dev_raw::~fhandler_dev_raw): Revert to user space
        allocation.
        (fhandler_dev_raw::open): Ditto.
        (fhandler_dev_raw::dup): Ditto. Reset buffer pointer.
        (fhandler_dev_raw::fixup_after_fork): New function.
        * fhandler_tape.cc (fhandler_dev_tape::open): Revert to user space
        memory allocation.
        (fhandler_dev_tape::ioctl): Ditto. Change behaviour on MTSETBLK when
        new size is 1.

23 years ago * fhandler_tape.cc (fhandler_dev_tape::open): Fix memory allocation.
Corinna Vinschen [Tue, 31 Oct 2000 19:59:16 +0000 (19:59 +0000)]
    * fhandler_tape.cc (fhandler_dev_tape::open): Fix memory allocation.
        Use Cygwin heap instead of user heap.
        (fhandler_dev_tape::ioctl): Ditto.

23 years ago* pinfo.cc (enum_init): Don't suffer silently if we can't load the process
Christopher Faylor [Tue, 31 Oct 2000 17:01:56 +0000 (17:01 +0000)]
* pinfo.cc (enum_init): Don't suffer silently if we can't load the process
enumerators.

23 years agoUpdate section "Why is make behaving badly?"
David Starks-Browning [Tue, 31 Oct 2000 16:58:09 +0000 (16:58 +0000)]
Update section "Why is make behaving badly?"

23 years agominor typo
David Starks-Browning [Tue, 31 Oct 2000 14:33:57 +0000 (14:33 +0000)]
minor typo

23 years ago* signal.cc (kill_pgrp): Revert 25-Oct change.
Christopher Faylor [Mon, 30 Oct 2000 23:19:45 +0000 (23:19 +0000)]
* signal.cc (kill_pgrp): Revert 25-Oct change.
(kill_worker): Ditto.

23 years agoAdd noconfigure dirs for m68[hc]{11|12} targets.
Nick Clifton [Mon, 30 Oct 2000 21:12:29 +0000 (21:12 +0000)]
Add noconfigure dirs for m68[hc]{11|12} targets.

23 years ago* include/cygwin/version.h: Bump DLL minor version number to 6.
Christopher Faylor [Mon, 30 Oct 2000 01:53:02 +0000 (01:53 +0000)]
* include/cygwin/version.h: Bump DLL minor version number to 6.

23 years ago* libc/include/stdlib.h: Avoid declaring cfree under Cygwin.
Christopher Faylor [Mon, 30 Oct 2000 01:08:58 +0000 (01:08 +0000)]
* libc/include/stdlib.h: Avoid declaring cfree under Cygwin.
* libc/include/malloc.h: Ditto.  Also remove obsolete declaration.

23 years agoWhitespace cleanup.
Christopher Faylor [Sat, 28 Oct 2000 05:41:44 +0000 (05:41 +0000)]
Whitespace cleanup.

* configure.in: Eliminate subdir stuff.
* configure: Regenerate.
* include/getopt.h (option): Make name field 'const'.

23 years ago* Makefile.in: Accomodate newer gcc's which require linking of c++ programs
Christopher Faylor [Sat, 28 Oct 2000 05:39:38 +0000 (05:39 +0000)]
* Makefile.in: Accomodate newer gcc's which require linking of c++ programs
with g++.  Fixup output for some compilations.
* cygcheck.cc: Respond to compiler warnings.
* dumper.cc (main): Ditto.
* parse_pe.cc (exclusion::sort_and_check): Ditto.
* setfacl.cc (getaclentry): Ditto.

23 years agoCleanup formatting on some files. Remove excessive whitespace.
Christopher Faylor [Sat, 28 Oct 2000 05:00:00 +0000 (05:00 +0000)]
Cleanup formatting on some files.  Remove excessive whitespace.

23 years ago* strace.cc (main): Add a '-b' option.
Christopher Faylor [Sat, 28 Oct 2000 00:21:41 +0000 (00:21 +0000)]
* strace.cc (main): Add a '-b' option.

23 years ago * autoload.cc: New file keeping all autoload stuff.
Corinna Vinschen [Fri, 27 Oct 2000 18:53:56 +0000 (18:53 +0000)]
    * autoload.cc: New file keeping all autoload stuff.
        * Makefile.in: Add autoload.o to dependencies.
        * dcrt0.cc: Move all autoload stuff to autoload.cc.
        * fhandler_mem.cc: Ditto.
        * net.cc: Ditto.
        * uinfo.cc: Ditto.

23 years ago* sigproc.cc (wait_sig): Add braces to avoid confusion.
Christopher Faylor [Fri, 27 Oct 2000 15:38:32 +0000 (15:38 +0000)]
* sigproc.cc (wait_sig): Add braces to avoid confusion.

23 years ago * fhandler_socket.cc: New file.
Corinna Vinschen [Fri, 27 Oct 2000 09:50:33 +0000 (09:50 +0000)]
    * fhandler_socket.cc: New file.
        * Makefile.in: Add fhandler_socket.o to dependencies.
        * fhandler.h: Change comment.
        * net.cc Move all fhandler_socket methods to fhandler_socket.cc.
        * winsup.h: Add declaration for `ws2_32_handle'.

23 years ago * dtable.cc (dtable::release): Check for socket. Change
Corinna Vinschen [Thu, 26 Oct 2000 10:13:41 +0000 (10:13 +0000)]
    * dtable.cc (dtable::release): Check for socket. Change
        cnt_need_fixup_before accordingly.
        (dtable::dup2): Ditto.
        (dtable::fixup_before_fork): New method.
        (dtable::fixup_before_exec): Ditto.
        * dtable.h (class dtable): Add member `cnt_need_fixup_before'. Add
        definition for methods `dec_need_fixup_before', `inc_need_fixup_before',
        `need_fixup_before', `fixup_before_exec' and `fixup_before_fork'.
        * fhandler.h (class fhandler_base): Slight rearrangements. Add
        definitions for methods `fixup_before_fork_exec'.
        (class fhandler_socket): Eliminate superfluous constructor.
        Add member `prot_info_ptr'. Add destructor. Add definitions for
        methods `dup', `fixup_before_fork_exec', `fixup_after_fork' and
        `fixup_after_exec'.
        * fork.cc (fork_parent): Care for file types which need a fixup
        before fork. Start child in suspended state then.
        * net.cc: New global variable `ws2_32_handle' and `wsadata'.
        (fdsock): Check for Winsock version. Call `set_socket_inheritance'
        only if Winsock version < 2.0. Care for `need_fixup' count in fdtab.
        (cygwin_socket): Eliminate call to `set_socket_inheritance'.
        (cygwin_accept): Ditto.
        (cygwin_rcmd): Ditto.
        (cygwin_rresvport): Ditto.
        (cygwin_rexec): Ditto.
        (socketpair): Ditto.
        (fhandler_socket::fhandler_socket): Set `need_fork_fixup'. Allocate
        space for the WSAPROTOCOL_INFOA struct used in fixup.
        (fhandler_socket::~fhandler_socket): New destructor.
        (fhandler_socket::fixup_before_fork_exec): New method.
        (fhandler_socket::fixup_after_fork): Ditto.
        (fhandler_socket::dup): Ditto.
        (wsock_init): New static function.
        (LoadDLLinitfunc (wsock32)): Rearranged.
        (LoadDLLinitfunc (ws2_32)): New function.
        (dummy_autoload): Add autoload statemants for `WSADuplicateSocketA'
        and `WSASocketA'.
        * spawn.cc (spawn_guts): Care for file types which need a fixup
        before exec. Start child in suspended state then.

23 years ago * ntsec.sgml: Slight changes. Fix some errors.
Corinna Vinschen [Thu, 26 Oct 2000 08:01:39 +0000 (08:01 +0000)]
    * ntsec.sgml: Slight changes. Fix some errors.

23 years ago * ntsec.sgml: Changed the (now incorrect) hint that ntsec only
Corinna Vinschen [Thu, 26 Oct 2000 07:37:26 +0000 (07:37 +0000)]
    * ntsec.sgml: Changed the (now incorrect) hint that ntsec only
uses access allowed ACEs.

23 years ago* signal.cc (kill_pgrp): Don't limit sending of signals to stopped processes
Christopher Faylor [Thu, 26 Oct 2000 00:51:50 +0000 (00:51 +0000)]
* signal.cc (kill_pgrp): Don't limit sending of signals to stopped processes
when sig < 0.
(kill_worker): Only send SIGCONT to stopped processes when sendSIGCONT.

23 years ago* exceptions.cc (sig_handle): Just make sure that wait_sig loops when receiving
Christopher Faylor [Wed, 25 Oct 2000 17:57:43 +0000 (17:57 +0000)]
* exceptions.cc (sig_handle): Just make sure that wait_sig loops when receiving
a SIGCONT.  Don't block waiting for completion that will never occur.

23 years agoAdd comment.
Christopher Faylor [Wed, 25 Oct 2000 14:18:56 +0000 (14:18 +0000)]
Add comment.

23 years ago* dtable.cc (dtable::fixup_after_exec): Use variable rather than constantly
Christopher Faylor [Wed, 25 Oct 2000 14:17:27 +0000 (14:17 +0000)]
* dtable.cc (dtable::fixup_after_exec): Use variable rather than constantly
indexing into fds array.
(dtable::fixup_after_fork): Ditto.

23 years ago * fhandler.cc (fhandler_base::fcntl): Treat O_NONBLOCK and OLD_O_NDELAY
Corinna Vinschen [Wed, 25 Oct 2000 08:47:23 +0000 (08:47 +0000)]
* fhandler.cc (fhandler_base::fcntl): Treat O_NONBLOCK and OLD_O_NDELAY
as exactly the same. If one is set, both are set.
* net.cc (fhandler_socket::fcntl): Ditto.

23 years ago* dcrt0.cc (do_exit): Remove debugging statement.
Christopher Faylor [Wed, 25 Oct 2000 03:59:07 +0000 (03:59 +0000)]
* dcrt0.cc (do_exit): Remove debugging statement.

23 years ago* dcrt0.cc (do_exit): Don't bother looking for pgrp children to send SIGHUP if
Christopher Faylor [Wed, 25 Oct 2000 03:54:50 +0000 (03:54 +0000)]
* dcrt0.cc (do_exit): Don't bother looking for pgrp children to send SIGHUP if
process has never created any children.
* fork.cc (fork): Set flag indicating that there is another process with our
process group.
* spawn.cc (spawn_guts): Ditto.
* pinfo.h (set_has_pgid_children): New methods for setting when process has
children in its process group.
* syscalls.cc (setpgid): Clear has_gid_children if pgid changes.

23 years ago * ntdll.h: New file.
Corinna Vinschen [Tue, 24 Oct 2000 18:44:56 +0000 (18:44 +0000)]
    * ntdll.h: New file.
        * fhandler_mem.cc: Move ntdll.dll specific definitions and
        declarations to ntdll.h.
        * sysconf.cc (sysconf): Add support for _SC_NPROCESSORS_CONF,
        _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES and _SC_AVPHYS_PAGES.

23 years ago * libc/include/sys/unistd.h: Add defines for sysconf values
Corinna Vinschen [Tue, 24 Oct 2000 18:27:54 +0000 (18:27 +0000)]
    * libc/include/sys/unistd.h: Add defines for sysconf values
        _SC_NPROCESSORS_CONF, _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES and
        _SC_AVPHYS_PAGES.

23 years ago * fhandler.cc (fhandler_base::fcntl): Behave properly when passed
Corinna Vinschen [Tue, 24 Oct 2000 18:15:25 +0000 (18:15 +0000)]
    * fhandler.cc (fhandler_base::fcntl): Behave properly when passed
        previous version of O_NDELAY.
        * syscalls.cc: Move OLD_O_NDELAY to winsup.h.
        * winsup.h: Define OLD_O_NDELAY now.

23 years agoUpdate "How can I access other drives?" entry with details about --change-cygdrive...
David Starks-Browning [Tue, 24 Oct 2000 16:43:50 +0000 (16:43 +0000)]
Update "How can I access other drives?" entry with details about --change-cygdrive-prefix
and some other minor changes.

23 years agoUpdate entry "What's the difference between packages in 'latest' and 'contrib'.
David Starks-Browning [Tue, 24 Oct 2000 15:24:16 +0000 (15:24 +0000)]
Update entry "What's the difference between packages in 'latest' and 'contrib'.

23 years agoAdd more details to "What if setup fails?" entry.
David Starks-Browning [Tue, 24 Oct 2000 15:20:18 +0000 (15:20 +0000)]
Add more details to "What if setup fails?" entry.

23 years ago* exceptions.cc (signal_exit): Kill any executing child process if we're dying.
Christopher Faylor [Tue, 24 Oct 2000 02:25:27 +0000 (02:25 +0000)]
* exceptions.cc (signal_exit): Kill any executing child process if we're dying.
* path.h: Remove unneeded extern.
* spawn.cc (std_suffixes): Make static.  Don't set dwProcessId here since it
makes the process unsignalable.  Set strace flag that this is an execed process
stub.
* strace.cc (strace::vsprntf): Use strace flag to indicate when to visually
flag that this is an exec stub.
* include/sys/strace.h (strace): Add 'execing' flag.

23 years agoAdd mail submission addresses for autoconf and config.{guess,sub}.
Ben Elliston [Tue, 24 Oct 2000 01:08:11 +0000 (01:08 +0000)]
Add mail submission addresses for autoconf and config.{guess,sub}.

23 years agoforced checkin.
Christopher Faylor [Tue, 24 Oct 2000 00:00:51 +0000 (00:00 +0000)]
forced checkin.

23 years agotesting.
Christopher Faylor [Mon, 23 Oct 2000 23:50:27 +0000 (23:50 +0000)]
testing.

23 years ago* Makefile.common (LIBGCC): Acommodate older gcc's that don't need
Christopher Faylor [Mon, 23 Oct 2000 23:45:32 +0000 (23:45 +0000)]
* Makefile.common (LIBGCC): Acommodate older gcc's that don't need

23 years agoForced checkin.
Christopher Faylor [Mon, 23 Oct 2000 23:39:04 +0000 (23:39 +0000)]
Forced checkin.

23 years ago* sigproc.cc (proc_subproc): Don't send a false positive if WNOHANG and no
Christopher Faylor [Mon, 23 Oct 2000 20:50:36 +0000 (20:50 +0000)]
* sigproc.cc (proc_subproc): Don't send a false positive if WNOHANG and no
processes are available for waiting.

23 years ago * fhandler.cc (fhandler_base::fcntl): Setting flags in F_SETFL
Corinna Vinschen [Mon, 23 Oct 2000 20:29:31 +0000 (20:29 +0000)]
    * fhandler.cc (fhandler_base::fcntl): Setting flags in F_SETFL
        branch according to Linux documentation.

23 years ago * fcntl.cc (_fcntl): Rearrange as wrapper function. Move all
Corinna Vinschen [Mon, 23 Oct 2000 20:16:52 +0000 (20:16 +0000)]
    * fcntl.cc (_fcntl): Rearrange as wrapper function. Move all
        functionality except F_DUPFD to fhandler classes.
        * fhandler.cc (fhandler_base::fcntl): New method.
        * net.cc (fhandler_socket::fcntl): Ditto.
        * fhandler.h (class fhandler_base): Add method prototype for fcntl().
        (class fhandler_socket): Ditto.

23 years ago* sigproc.cc (proc_subproc): Correctly handle flags for WNOHANG case.
Christopher Faylor [Mon, 23 Oct 2000 16:50:21 +0000 (16:50 +0000)]
* sigproc.cc (proc_subproc): Correctly handle flags for WNOHANG case.

23 years ago* security.cc: Eliminate C++ comments throughout.
Corinna Vinschen [Mon, 23 Oct 2000 08:02:38 +0000 (08:02 +0000)]
* security.cc: Eliminate C++ comments throughout.

23 years ago* Makefile.common (LIBGCC): Acommodate older gcc's that don't need libstdc++.a.
Christopher Faylor [Mon, 23 Oct 2000 04:50:32 +0000 (04:50 +0000)]
* Makefile.common (LIBGCC): Acommodate older gcc's that don't need libstdc++.a.

23 years ago* fork.cc (fork): Set sigframe here, since it can pause for a considerable
Christopher Faylor [Mon, 23 Oct 2000 03:35:50 +0000 (03:35 +0000)]
* fork.cc (fork): Set sigframe here, since it can pause for a considerable
amount of time.
* environ.cc (_addenv): Add debugging.
* fhandler.cc: Eliminate unneeded include.
* smallprint.c: Ditto.

23 years agoflip/flop change.
Christopher Faylor [Sun, 22 Oct 2000 22:43:47 +0000 (22:43 +0000)]
flip/flop change.

23 years agoMinor change.
Christopher Faylor [Sun, 22 Oct 2000 22:32:15 +0000 (22:32 +0000)]
Minor change.

23 years agoTest checkin.
Christopher Faylor [Sun, 22 Oct 2000 22:27:29 +0000 (22:27 +0000)]
Test checkin.

23 years agoMinor change.
Christopher Faylor [Sun, 22 Oct 2000 22:03:59 +0000 (22:03 +0000)]
Minor change.

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