| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
* libc/include/wchar.h: Use _{BEGIN,END}_STD_C instead of extern "C".
* libc/include/wctype.h: Ditto.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* arm/Makefile.in: Add support for new pid specs.
* arm/coff-iq80310.specs: Change to allow future support.
* arm/elf-iq80310.specs: Ditto.
* arm/elf-redboot.specs: Ditto.
* arm/coff-redboot.ld: Add EH frame support.
* arm/redboot-crt0.S: Add optional code to clear bss without
memset.
* arm/coff-pid.specs: New file.
* arm/elf-pid.specs: New file.
|
|
|
|
|
|
|
|
|
| |
Catherine Moore <clm@redhat.com>
* m32r/configure.in: Do not require gcc to be able to link an
executable.
* m32r/configure: Regenerate.
* m32r/Makefile.in: Directly reference gdbstub.
|
|
|
|
|
| |
has the capability to retrieve RTS/CTS. Just set default values if
DeviceIoControl fails. (suggested by Sergey Okhapkin)
|
|
|
|
|
|
|
| |
minchars.
(fhandler_serial::ioctl): Set errno if the ClearCommError fails.
(fhandler_serial::tcsetattr): Use correct value for vmin_.
(fhandler_serial::tcgetattr): Ditto.
|
|
|
|
| |
WSARecvFrom with fromlen = NULL.
|
| |
|
|
|
|
| |
commune completion so that we don't spin waiting for lower priority processes.
|
| |
|
| |
|
| |
|
|
|
|
| |
condition from cmdline retrieval.
|
| |
|
|
|
|
|
| |
* libc/include/wchar.h: Add extern "C" specifier if C++.
* libc/include/wctype.h: Ditto.
|
| |
|
| |
|
|
|
|
|
| |
appropriately. Exit from the bottom. Correctly deal with third argument for
TCFLSH. (Suggested by Sergey Okhapkin)
|
|
|
|
| |
* lib/kernel32.def (VerifyVersionInfo[AW]): Add stubs.
|
|
|
|
|
|
|
| |
size is equal to the old one. Send SIGWINCH if slave connected to a pseudo
tty.
(fhandler_pty_master::ioctl): Do nothing if the new window size is equal to the
old one.
|
| |
|
|
|
|
| |
* fhandler.cc (fhandler_base::open): Verify pc isn't NULL.
|
|
|
|
|
|
|
| |
(get_long_name): Correctly prototype GetLongPathName.
(get_long_paths): Implement using get_long_name to cut down on code
duplication.
(doit): Do various things to make path output work predictably.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* pinfo.h (SIGCOMMUNE): New signal type.
(commune_result): New structure for commune functions.
(picom): New enum for commune functions.
(_pinfo::hello_pid): New. Pid who's communicating with me.
(_pinfo::tothem): New. Handle of communicating pipe.
(_pinfo::fromthem): Ditto.
(_pinfo::commune_recv): Declare.
(_pinfo::commune_send): Declare.
(_pinfo::alive): Declare.
(_pinfo::cmdline): Declare.
(_pinfo::lock): Declare.
* pinfo.cc (set_myself): Initialize new _pinfo lock.
(_pinfo::alive): Define. Determines if process still exists.
(_pinfo::commune_recv): Define. Receive info from another cooperating process.
(_pinfo::commune_send): Define. Send info to another cooperating process.
(_pinfo::cmdline): Define. Determine command line of a given process.
* include/sys/cygwin.h (CW_CMDLINE): Define.
*sigproc.cc (talktome): Communicate with any processes who want to talk to me.
(wait_sig): Honor __SIGCOMMUNE.
* fhandler.cc (fhandler_virtual::fixup_after_exec): Declare.
* fhandler_proc.cc: Use malloc/free/realloc throughout rather than cmalloc
since buffers don't need to be propagated to subprocesses.
* fhandler_registry.cc: Ditto.
* fhandler_virtual.cc: Ditto.
(fhandler_virtual::fixup_after_exec): Define.
* fhandler_process.cc: Ditto for malloc/free/realloc.
(process_listin): Add "cmdline".
(fhandler_process::fill_filebuf): Implement PROCESS_CMDLINE.
* miscfuncs.cc (isalpha_array): New array populated with xor values for alpha
characters to switch from one case to another.
* string.h (cygwin_strcasematch): New asm implementation of case match.
* string.h (cygwin_nstrcasematch): New asm implementation of counted case
match.
|
|
|
|
|
| |
* include/stdio.h (_getnaxstdio): Add prototype.
(_setmaxstdio): Likewise.
|
| |
|
| |
|
|
|
|
|
| |
and restrap targets to this rule.
* Makefile.in: Regenerate.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* i386/cygmon.ld: Add entry for .gcc_except_table.
2000-10-25 Mark Salter <msalter@redhat.com>
* i386/cygmon-crt0.S: Use __USER_LABEL_PREFIX__ for symbols. Always
use __start for start symbol.
* i386/cygmon-salib.c: Don't build __do_global_[cd]tors for AOUT.
Disable file I/O extensions to make Plum Hall happy.
* i386/cygmon.ld: Set __start as entry point.
* i386/Makefile.in: Support IS_AOUT.
* i386/configure.in: Support IS_AOUT.
* i386/configure: Regenerated.
* i386/cygmon-salib.c:
* i386/cygmon-gmon.c (_mcount): It's _etext.
|
| |
|
| |
|
|
|
|
|
|
| |
* configure.in: Clarify some of the triplets so unsupported
configurations don't pass through.
* configure: Regenerated.
|
| |
|
|
|
|
| |
${libgcj} for glibc1.
|
| |
|
| |
|
| |
|
|
|
|
| |
everything to previous state wrt ntsec and exec bits.
|
|
|
|
|
|
| |
comparison.
* include/cygwin/version.h (CYGWIN_VERSION_MAGIC): Use all of a DWORD for magic
calculation.
|
|
|
|
|
| |
executable thing for #! scripts since .exe files wouldn't be executable in
ntsec case regardless.
|
|
|
|
| |
.exe files and '#!' shell scripts to be executable.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(cygthread::initialized): Delete.
(cygthread::stub): Use exiting variable to determine when to exit.
(cygthread::runner): Delete.
(cygthread_protect): New variable.
(cygthread::init): Don't start runner thread. Initialize muto for list
protection.
(cygthread::freerange): Return pointer to cygthread.
(cygthread::operator new): Change logic to start threads on an as-needed basis.
(cygthread::detach): Don't zero id.
(cygthread::terminate): Don't kill any executing threads. Just set exiting
flag.
* cygthread.h (cygthread): Reflect above changes.
* dcrt0.cc (dll_crt0_1): Move cygthread initialization later.
* fork.cc (fork_child): Do fdtab fixup after dll fixup or (apparently) winsock
may allocate memory in dll load address.
|
|
|
|
|
|
|
| |
cygheap->user, return the uid or gid from myself.
* security.cc (alloc_sd): If gid == myself->gid, return the group sid from
cygheap->user. Remove the test for uid == original_uid, which is
counter-productive.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(init_cheap): Ditto for declaration.
* fork.cc (fork_parent): Use user_heap element in cygheap.
* heap.h (inheap): Ditto.
* heap.cc (sbrk): Ditto.
(heap_init): Ditto. Reorganize to shrink heap chunk as required and record new
value in cygheap.
* dcrt0.cc (dll_crt0_1): More "move the cygthread init" games.
* shared.cc (open_shared): Rework memory protection to properly deal with
relocated shared segment.
(shared_info::heap_chunk_size): Rename element to 'heap_chunk'.
* shared_info.h (shared_info): Ditto for declaration.
* strace.cc (strace::hello): Report on heap chunk size from cygheap since it
may shrink.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* cygwin.din: Remove last vestiges (?) of newlib wrappers.
* cygthread.cc (cygthread::detach): Always wait for event or suffer an
apparently inavoidable race.
* dcrt0.cc (dll_crt0_1): Allocate threads after stack has been relocated.
* debub.cc (lock_debug): Don't acquire lock on exit.
* fork.cc (fork_child): Recreate mmaps before doing anything else since Windows
has a habit of using blocks of memory in the child that could previously have
been occupied by shared memory in the parent.
* mmap.cc (fhandler_disk_file::fixup_mmap_after_fork): Issue error here and
provide some details about what went wrong.
(fixup_mmaps_after_fork): Remove error message.
* shared.cc (open_shared): Move warning message so that more detail is
possible.
* sigproc.cc (sigproc_init): Initialize sync_proc_subproc to avoid a race.
(sigproc_terminate): Specifically wait for process thread to terminate.
|
|
|
|
| |
(cygthread::terminate): Don't zero thread handle prior to using it.
|
| |
|
| |
|
| |
|
| |
|