]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
23 years ago2000-12-04 Joel Sherrill <joel@OARcorp.com>
Jeff Johnston [Mon, 4 Dec 2000 18:15:35 +0000 (18:15 +0000)]
2000-12-04  Joel Sherrill <joel@OARcorp.com>

        * configure.host (or16, or32): New entries for OpenCores
        OpenRisc CPUs.
        (*-*-rtems*): Add -DNO_EXEC.

23 years ago2000-12-04 Keith Outwater <vac4050@cae597.rsc.raytheon.com>
Jeff Johnston [Mon, 4 Dec 2000 18:01:50 +0000 (18:01 +0000)]
2000-12-04 Keith Outwater <vac4050@cae597.rsc.raytheon.com>

        * libc/include/sys/errno.h: Added comments on many error numbers.
        * libc/string/strerror.c: Added some more strings.

23 years ago* path.cc (normalize_win32_path): Handle UNC paths better.
Christopher Faylor [Sun, 3 Dec 2000 06:21:40 +0000 (06:21 +0000)]
* path.cc (normalize_win32_path): Handle UNC paths better.
(slash_unc_prefix_p): Allow backslash UNC paths.

23 years ago* Makefile.in: Use CXX to build the DLL.
Christopher Faylor [Sun, 3 Dec 2000 05:42:03 +0000 (05:42 +0000)]
* Makefile.in: Use CXX to build the DLL.
* configure.in: Find correct c++ compiler.
* configure: Regenerate.

23 years ago* Makefile.common: Eliminate checks for libgcc.a and libstdc++.a. Use CXX for
Christopher Faylor [Sun, 3 Dec 2000 05:40:45 +0000 (05:40 +0000)]
* Makefile.common: Eliminate checks for libgcc.a and libstdc++.a.  Use CXX for
g++ compiles.
* configure.in: Find correct c++ compiler.
* configure: Regenerate.

23 years ago* Makefile.in: Remove some extra cruft.
Christopher Faylor [Sun, 3 Dec 2000 05:20:56 +0000 (05:20 +0000)]
* Makefile.in: Remove some extra cruft.

23 years ago* Makefile.in: Use CXX to build the DLL.
Christopher Faylor [Sun, 3 Dec 2000 05:16:33 +0000 (05:16 +0000)]
* Makefile.in: Use CXX to build the DLL.
* configure.in: Find correct c++ compiler.
* configure: Regenerate.
* path.cc (normalize_posix_path): Put correct drive at beginning of \foo style
paths.
(chdir): Don't send non-posix path to cygcwd.set.

23 years ago * net.cc (get_inet_addr ): Close AF_UNIX socket file after reading.
Corinna Vinschen [Sat, 2 Dec 2000 21:29:00 +0000 (21:29 +0000)]
    * net.cc (get_inet_addr ): Close AF_UNIX socket file after reading.

23 years agoAdd MIPS SB1 machine
Nick Clifton [Sat, 2 Dec 2000 01:10:33 +0000 (01:10 +0000)]
Add MIPS SB1 machine

23 years agoAdd MIPS V and MIPS 64 machine numbers
Nick Clifton [Sat, 2 Dec 2000 00:55:22 +0000 (00:55 +0000)]
Add MIPS V and MIPS 64 machine numbers

23 years agoAdd MIPS32 as a seperate MIPS architecture
Nick Clifton [Fri, 1 Dec 2000 21:35:38 +0000 (21:35 +0000)]
Add MIPS32 as a seperate MIPS architecture

23 years agoImprove MIPS32 support
Nick Clifton [Fri, 1 Dec 2000 20:05:32 +0000 (20:05 +0000)]
Improve MIPS32 support

23 years ago2000-11-30 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 30 Nov 2000 20:18:28 +0000 (20:18 +0000)]
2000-11-30  Jeff Johnston <jjohnstn@redhat.com>

        * libc/sys/sh/syscalls.c (_link): New stub.

23 years agoAdd x86-64 support files.
Nick Clifton [Thu, 30 Nov 2000 19:05:18 +0000 (19:05 +0000)]
Add x86-64 support files.

23 years agoAdd support for Intel's XScale processor
Nick Clifton [Thu, 30 Nov 2000 01:57:27 +0000 (01:57 +0000)]
Add support for Intel's XScale processor

23 years ago * cygheap.cc (chgheap_root::operator =): Check root dir properly.
Corinna Vinschen [Wed, 29 Nov 2000 22:27:15 +0000 (22:27 +0000)]
    * cygheap.cc (chgheap_root::operator =): Check root dir properly.

23 years ago * Makefile.in: eliminate the need for RUNTIME and CRT_ID.
Earnie Boyd [Wed, 29 Nov 2000 21:14:48 +0000 (21:14 +0000)]
* Makefile.in: eliminate the need for RUNTIME and CRT_ID.
Always build crt1.o, dllcrt1.o, crt2.o and dllcrt2.o.
Create a libcoldname.a for the oldname library for CRTDLL.
Restrict libmoldname.a for the oldname library for MSVCRT.
* configure.in: eliminate setting RUNTIME and CRT_ID variables.
Restructure the $target_os case logic.
Always name the MinGW thread dll helper mingwm.
Change Cygwin's HEADER_SUBDIR value from mingw32 to mingw.
* configure: regenerate.

23 years ago* libiberty.h: Move #includes to top. Prototype xmalloc_failed.
DJ Delorie [Wed, 29 Nov 2000 20:14:48 +0000 (20:14 +0000)]
* libiberty.h: Move #includes to top.  Prototype xmalloc_failed.

23 years ago * net.cc (cygwin_inet_aton): Return nonzero if the address
Corinna Vinschen [Wed, 29 Nov 2000 17:15:00 +0000 (17:15 +0000)]
    * net.cc (cygwin_inet_aton): Return nonzero if the address
is valid, zero if not according to Linux man page.

23 years agoNew entry "Bash says "command not found", but it's right there!"
David Starks-Browning [Wed, 29 Nov 2000 16:24:59 +0000 (16:24 +0000)]
New entry "Bash says "command not found", but it's right there!"

23 years ago* mmap.cc (munmap): Check that mmap and munmap length match.
Christopher Faylor [Tue, 28 Nov 2000 21:25:45 +0000 (21:25 +0000)]
* mmap.cc (munmap): Check that mmap and munmap length match.

23 years ago * fhandler.cc (fhandler_disk_file::open): Check for buggy CreateFile
Corinna Vinschen [Tue, 28 Nov 2000 18:45:42 +0000 (18:45 +0000)]
    * fhandler.cc (fhandler_disk_file::open): Check for buggy CreateFile
        condition.
        * path.cc (path_conv::check): Get file system type in call to
        GetVolumeInformation to check for file systems with buggy CreateFile.
        * path.h (enum path_types): Add PATH_HASBUGGYOPEN.
        (class path_conv): Add methods `has_buggy_open' and
        `set_has_buggy_open'.

23 years ago * common.h (e_machine numbers): Clarify comments to describe how
Hans-Peter Nilsson [Mon, 27 Nov 2000 21:52:56 +0000 (21:52 +0000)]
* common.h (e_machine numbers): Clarify comments to describe how
EM_* constants are assigned.  Move EM_PJ from official section to
ad-hoc section.
(EM_CRIS): Correct comment to match official description.
(EM_MMIX): Ditto.

23 years ago* fhandler.cc (is_at_eof): New function.
Christopher Faylor [Sun, 26 Nov 2000 21:45:16 +0000 (21:45 +0000)]
* fhandler.cc (is_at_eof): New function.
(fhandler_base::raw_read): Detect special case where last error ==
ERROR_NOACCESS but the file is at EOF.  Most UNIXes do not consider this to be
an error.

23 years ago* include/cygwin/version.h: Bump DLL minor version number to 7.
Christopher Faylor [Sun, 26 Nov 2000 19:46:17 +0000 (19:46 +0000)]
* include/cygwin/version.h: Bump DLL minor version number to 7.

23 years ago * include/cygwin/version.h: Bump minor API version due to adding
Corinna Vinschen [Sat, 25 Nov 2000 10:29:49 +0000 (10:29 +0000)]
    * include/cygwin/version.h: Bump minor API version due to adding
        inet_aton.

23 years ago * libc/include/sys/types.h: Change i to `__i' in FD_ZERO macro to
Corinna Vinschen [Sat, 25 Nov 2000 10:25:51 +0000 (10:25 +0000)]
    * libc/include/sys/types.h: Change i to `__i' in FD_ZERO macro to
avoid compiler warnings.

23 years ago * net.cc (cygwin_inet_aton): New function.
Corinna Vinschen [Sat, 25 Nov 2000 10:23:55 +0000 (10:23 +0000)]
    * net.cc (cygwin_inet_aton): New function.
        * cygwin.din: Export cygwin_inet_aton as inet_aton.

23 years agoAdd ARM v5t, v5te and XScale support
Nick Clifton [Sat, 25 Nov 2000 00:21:33 +0000 (00:21 +0000)]
Add ARM v5t, v5te and XScale support

23 years ago* path.cc (mount_info::read_cygdrive_info_from_registry): Read system cygdrive
Christopher Faylor [Fri, 24 Nov 2000 18:04:44 +0000 (18:04 +0000)]
* path.cc (mount_info::read_cygdrive_info_from_registry): Read system cygdrive
prefix with KEY_READ.
(mount_info::get_cygdrive_info): Ditto.

23 years ago* ltcf-gcj.sh: Added file, required by 2000-11-18 merge.
Alexandre Oliva [Thu, 23 Nov 2000 07:49:23 +0000 (07:49 +0000)]
* ltcf-gcj.sh: Added file, required by 2000-11-18 merge.

23 years agoChangeLog
Alexandre Oliva [Thu, 23 Nov 2000 04:04:00 +0000 (04:04 +0000)]
ChangeLog

23 years ago * Makefile.in: Fix bindist target to distribute the correct files.
Earnie Boyd [Wed, 22 Nov 2000 23:43:23 +0000 (23:43 +0000)]
* Makefile.in: Fix bindist target to distribute the correct files.
Remove the use of SNAPSHOT variable and test SNAPDATE instead.
Set SNAPDATE within the snapshot target on recursive call to $(MAKE).

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.

24 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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

24 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

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

24 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

24 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".

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