]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
23 years agoAdd new ELF ABI defines
Nick Clifton [Wed, 22 Nov 2000 23:19:15 +0000 (23:19 +0000)]
Add new ELF ABI defines

23 years ago * include/winnt.h: Add missing FILE_NAMED_STREAMS define.
Corinna Vinschen [Wed, 22 Nov 2000 21:27:36 +0000 (21:27 +0000)]
    * include/winnt.h: Add missing FILE_NAMED_STREAMS define.

23 years agoOnly reference environ indirectly through a pointer
Michael Meissner [Wed, 22 Nov 2000 18:26:10 +0000 (18:26 +0000)]
Only reference environ indirectly through a pointer

23 years ago* Makefile.in: new-temp.a -> new-templib.a
Christopher Faylor [Wed, 22 Nov 2000 16:19:53 +0000 (16:19 +0000)]
* Makefile.in: new-temp.a -> new-templib.a

23 years agoUpdate "why doesn't chmod work" with hint from Corinna.
David Starks-Browning [Wed, 22 Nov 2000 13:07:14 +0000 (13:07 +0000)]
Update "why doesn't chmod work" with hint from Corinna.

23 years ago * Makefile.in: Add missing line continuation `\' for $(SUBDIRS) target.
Earnie Boyd [Wed, 22 Nov 2000 01:51:53 +0000 (01:51 +0000)]
* Makefile.in: Add missing line continuation `\' for $(SUBDIRS) target.
Add variables and targets to control binary and source distributions.
Add variables and targets to control snapshot distribution.
* profile/gmon.h: Add missing #endif for #ifndef.
* profile/ChangeLog: Merge entries here and remove.
* profile/Makefile.in: Add variables and targets to control
distribution.
* README: Add.
* TODO: ditto.
* config.guess: ditto.
* config.sub: ditto.
* mkinstalldirs: ditto.
* install-sh: ditto.
* configure: regenerate.
* profile/configure: ditto.

23 years ago* libc/sys/cygwin/sys/dirent.h: Change definition to avoid necessity of
Christopher Faylor [Wed, 22 Nov 2000 01:49:19 +0000 (01:49 +0000)]
* libc/sys/cygwin/sys/dirent.h: Change definition to avoid necessity of
including windows headers.

23 years ago2000-11-20 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Tue, 21 Nov 2000 23:57:25 +0000 (23:57 +0000)]
2000-11-20  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/sys/unistd.h: Removed definition of MAXNAMLEN.
        * libc/include/dirent.h: Added definition of MAXNAMLEN if
        not defined by sys/dirent.h.
        * libc/posix/execvp.c: Added include of dirent.h to get
        MAXNAMLEN value which used to be in unistd.h.

23 years ago * include/direct.h: add guard around MSVCRT-only prototytpes
Earnie Boyd [Tue, 21 Nov 2000 02:50:03 +0000 (02:50 +0000)]
* include/direct.h: add guard around MSVCRT-only prototytpes
* include/io.h: add __int64 struct definitions and function prototypes;
 add guard for MSVCRT-only prototypes
* include/limits.h: add ISO C9x macros LLONG_MIN, LLONG_MAX, ULLONG_MAX
* include/stdio.h: add wchar function prototypes (__MSVCRT__);
 put wchar functions together to make sync with wchar.h easier
* include/stdlib.h: add wide char functions (__MSVCRT__)
* include/string.h: add string collation functions ( __MSVCRT__)
* include/sys/stat.h: add __int64 struct and function ( __MSVCRT__)
* include/tchar.h: add macros and macro function definitions
* include/wchar.h: add wide char function prototypes ( __MSVCRT__ );
enclose more functions in __MSVCRT__ guard;
some oldname wide char function prototypes #if (0)'d
* profile/gmon.h: add guard around BSD-ish typedefs

23 years ago* Makefile.in: Use a different variable name for subdirectory since the
Christopher Faylor [Tue, 21 Nov 2000 00:00:05 +0000 (00:00 +0000)]
* Makefile.in: Use a different variable name for subdirectory since the
previous one was used by the top level make.

23 years ago2000-11-20 H.J. Lu <hjl@gnu.org>
H.J. Lu [Mon, 20 Nov 2000 23:45:42 +0000 (23:45 +0000)]
2000-11-20  H.J. Lu  <hjl@gnu.org>

* common.h (ELFOSABI_MONTEREY): Renamed to ...
(ELFOSABI_AIX): This.

23 years ago* spawn.cc (spawn_guts): Quoting was still wrong. Keep trying to fix it.
Christopher Faylor [Mon, 20 Nov 2000 22:10:13 +0000 (22:10 +0000)]
* spawn.cc (spawn_guts): Quoting was still wrong.  Keep trying to fix it.

23 years ago* spawn.cc (spawn_guts): YA tweak for dealing with arcane rules of quoting in
Christopher Faylor [Mon, 20 Nov 2000 19:35:45 +0000 (19:35 +0000)]
* spawn.cc (spawn_guts): YA tweak for dealing with arcane rules of quoting in
"normal" Microsoft programs.
* child_info.h: Bump fork magic number.
* include/sys/mount.h: Add an entry for mixed mode.

23 years ago * ltcf-cxx.sh: Added file, required by 2000-11-18 merge.
Ian Lance Taylor [Mon, 20 Nov 2000 17:27:59 +0000 (17:27 +0000)]
* ltcf-cxx.sh: Added file, required by 2000-11-18 merge.

23 years agosources.redhat.com -> cygwin.com where appropriate
David Starks-Browning [Mon, 20 Nov 2000 14:37:37 +0000 (14:37 +0000)]
sources.redhat.com -> cygwin.com where appropriate

23 years ago* Makefile.in: Install mingw stuff in a subdirectory if building under cygwin.
Christopher Faylor [Mon, 20 Nov 2000 01:52:26 +0000 (01:52 +0000)]
* Makefile.in: Install mingw stuff in a subdirectory if building under cygwin.

23 years ago*** empty log message ***
Christopher Faylor [Sun, 19 Nov 2000 04:58:18 +0000 (04:58 +0000)]
*** empty log message ***

23 years ago* utils.sgml: Document new options for ps and strace.
Christopher Faylor [Sun, 19 Nov 2000 04:55:49 +0000 (04:55 +0000)]
* utils.sgml: Document new options for ps and strace.

23 years ago* cygwinenv.sgml: Remove CYGWIN=strace option. Update CYGWIN options.
Christopher Faylor [Sun, 19 Nov 2000 04:53:46 +0000 (04:53 +0000)]
* cygwinenv.sgml: Remove CYGWIN=strace option.  Update CYGWIN options.
* how-programming.texinfo: Remove stuff about CYGWIN=strace.
* setup2.sgml: Remove CYGWIN=strace example.

23 years ago* Makefile.in: Merge with GCC and libgcj.
Alexandre Oliva [Sat, 18 Nov 2000 22:01:34 +0000 (22:01 +0000)]
* Makefile.in: Merge with GCC and libgcj.
(ALL_GCC_C, ALL_GCC_CXX): New macros.  Use them as dependencies of
configure-target-<library> when their configure scripts need the C
or C++ library to have already been built to work properly.
(do_proto_toplev): Set them to an empty string.

23 years ago* Makefile.in (HOST_LIB_PATH, TARGET_LIB_PATH): New macros.
Alexandre Oliva [Sat, 18 Nov 2000 20:58:43 +0000 (20:58 +0000)]
* Makefile.in (HOST_LIB_PATH, TARGET_LIB_PATH): New macros.
(REALLY_SET_LIB_PATH): Use them.

23 years ago * path.cc (normalize_posix_path): Special care for root directory
Corinna Vinschen [Fri, 17 Nov 2000 18:39:47 +0000 (18:39 +0000)]
    * path.cc (normalize_posix_path): Special care for root directory
        in case of files beginning with a dot.

23 years agoAdd Windows ME to "What is it?"
David Starks-Browning [Fri, 17 Nov 2000 15:09:55 +0000 (15:09 +0000)]
Add Windows ME to "What is it?"

23 years agoAdd 'Windows 2000' to "What is it?" entry.
David Starks-Browning [Fri, 17 Nov 2000 14:12:23 +0000 (14:12 +0000)]
Add 'Windows 2000' to "What is it?" entry.

23 years agoUpdate entry "I'm having basic problems with find. Why?", add advice
David Starks-Browning [Fri, 17 Nov 2000 14:04:59 +0000 (14:04 +0000)]
Update entry "I'm having basic problems with find.  Why?", add advice
about -follow option if CWD is symlink.

23 years agoUpdate "Why is make behaving badly?", add warning about make -j[n].
David Starks-Browning [Fri, 17 Nov 2000 13:32:28 +0000 (13:32 +0000)]
Update "Why is make behaving badly?", add warning about make -j[n].

23 years agoNew entry "Setup screwed up my mounts!"
David Starks-Browning [Fri, 17 Nov 2000 12:57:51 +0000 (12:57 +0000)]
New entry "Setup screwed up my mounts!"

23 years agoFix error in "Why doesn't my script work?", add note about 'mount -x'.
David Starks-Browning [Fri, 17 Nov 2000 12:10:04 +0000 (12:10 +0000)]
Fix error in "Why doesn't my script work?", add note about 'mount -x'.

23 years agonew entry "Why doesn't my script work?"
David Starks-Browning [Fri, 17 Nov 2000 11:40:06 +0000 (11:40 +0000)]
new entry "Why doesn't my script work?"

23 years ago * syslog.cc (syslog): Add users SID to NT syslog entry.
Corinna Vinschen [Fri, 17 Nov 2000 11:30:14 +0000 (11:30 +0000)]
    * syslog.cc (syslog): Add users SID to NT syslog entry.

23 years agoFix typo.
Christopher Faylor [Fri, 17 Nov 2000 05:15:17 +0000 (05:15 +0000)]
Fix typo.

23 years ago* fhandler_console.cc: New member variable `dwBufferSize' for `info'.
Christopher Faylor [Fri, 17 Nov 2000 03:01:14 +0000 (03:01 +0000)]
* fhandler_console.cc: New member variable `dwBufferSize' for `info'.
(fillin_info): Set `dwBufferSize' to the size of the console buffer.
(clear_screen): Use width of console buffer to calculate how many spaces to
clear.

23 years ago Update relocations per August psABI docs.
Richard Henderson [Thu, 16 Nov 2000 22:48:14 +0000 (22:48 +0000)]
    Update relocations per August psABI docs.
        * ia64.h (R_IA64_SEGBASE): Remove.
        (R_IA64_LTV*): Renumber to 0x74 to 0x77.
        (R_IA64_EPLTMSB, R_IA64_EPLTLSB): Remove.
        (R_IA64_TPREL14, R_IA64_TPREL64I): New.
        (R_IA64_DTPMOD*): New.
        (R_IA64_DTPREL*): New.

23 years ago* Makefile.in: Make import library creation 'make -j2' friendly.
Christopher Faylor [Thu, 16 Nov 2000 20:32:27 +0000 (20:32 +0000)]
* Makefile.in: Make import library creation 'make -j2' friendly.

23 years agoNew entry "Why doesn't mkdir -p work on a network share?"
David Starks-Browning [Thu, 16 Nov 2000 15:08:35 +0000 (15:08 +0000)]
New entry "Why doesn't mkdir -p work on a network share?"

23 years ago * uinfo.cc (uinfo_init): Call `cygwin_set_impersonation_token' to
Corinna Vinschen [Thu, 16 Nov 2000 09:53:26 +0000 (09:53 +0000)]
    * uinfo.cc (uinfo_init): Call `cygwin_set_impersonation_token' to
        reset `cygheap->user.token' to INVALID_HANDLE_VALUE.

23 years agoUpdate ChangeLog.
Christopher Faylor [Thu, 16 Nov 2000 05:21:03 +0000 (05:21 +0000)]
Update ChangeLog.

23 years ago* sigproc.cc (wait_sig): Remove unneeded for loop iteration.
Christopher Faylor [Thu, 16 Nov 2000 05:16:59 +0000 (05:16 +0000)]
* sigproc.cc (wait_sig): Remove unneeded for loop iteration.
* exceptions.cc (interrupt_setup): Don't set signal mask here or races occur
with main thread.  Set it in sigdelayed instead.
(sigreturn): Reflect change in stack order of ebp and flags.
(sigdelayed): Set stack frame correctly.  Call set_process_mask here with flags
for last trapped signal.
(signal_dispatch): Add newmask.
* sigproc.cc (wait_sig): Eliminate ill-considered attempt to halt looping
signal processors.

23 years ago * uinfo.cc (internal_getlogin): Change parameter list to reflect
Corinna Vinschen [Wed, 15 Nov 2000 21:14:27 +0000 (21:14 +0000)]
    * uinfo.cc (internal_getlogin): Change parameter list to reflect
        that `token' is member of cygheap_user now.
        (uinfo_init): Use modified internal_getlogin.
        * syscalls.cc (seteuid): Ditto.

23 years ago * cygheap.h: Move `token' and `impersonated' from class _pinfo
Corinna Vinschen [Wed, 15 Nov 2000 21:04:02 +0000 (21:04 +0000)]
    * cygheap.h: Move `token' and `impersonated' from class _pinfo
        to class cygheap_user.
        * pinfo.h: Ditto.
        * fork.cc (fork_child): Change usage of `token' and `impersonated'
        accordingly.
        (fork_parent): Ditto.
        * security.cc (cygwin_set_impersonation_token): Ditto.
        * sigproc.cc (proc_subproc): Ditto.
        * spawn.cc (spawn_guts): Ditto.
        * syscalls.cc (seteuid): Ditto.
        * uinfo.cc (uinfo_init): Ditto.

23 years agoCorrect date and style of last entry
Hans-Peter Nilsson [Wed, 15 Nov 2000 12:01:15 +0000 (12:01 +0000)]
Correct date and style of last entry

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.

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