Commit Graph

  • 19d9e89b4a * Makefile.in: increment VERSION. Change tar file name for dist and bindist targets to be more standard. * config.guess: Update with the currently published file. * config.sub: ditto. * configure.in: Use value of build_alias instead of testing for directory names to set BUILDENV. * configure: ditto. * lib/Makefile.in: Change the name of the targets install, install-headers and install-libraries to xinstall, xinstall-headers and xinstall-libraries for system target specified installation. Recreate targets install, install-headers and install-libraries for exec-prefix specified installation. Ditto for the uninstall targets of the same name. Earnie Boyd 2000-10-19 20:56:50 +0000
  • 167095f6c0 * dcrt0.cc (sigthread::init): Correct overzealous ifdef. * exceptions.cc (call_handler): Avoid calling sigthread acquire lock. * sigproc.h (sigthread): Comment out lock for now. * sync.cc (muto::acquire): Add a minor optimization. Christopher Faylor 2000-10-19 17:57:28 +0000
  • 2556e737ec * Makefile.in: add miscfuncs.cc * miscfuncs.cc: new, miscellaneous functions * winsup.h: define table-driven tolower/toupper * environ.cc: use them * fhandler_console.cc: ditto * fhandler_termios: ditto * path.cc: ditto (strncasematch, strcasematch, strcasestr): move to miscfuncs.cc DJ Delorie 2000-10-19 03:12:44 +0000
  • cc55c579a3 * ssp.c: new * ssp.txt: new * Makefile.in: build ssp.exe DJ Delorie 2000-10-19 02:13:52 +0000
  • 4b70969a08 * sigproc.h (sigthread): Eliminate locking for now since per thread signalling is not available. * dcrt0.cc (sigthread::init): Ditto. (dll_crt0_1): Move set_process_privileges call (temporarily?) to pinfo_init. (pinfo_init): Only call set_process_privileges when allow_ntsec. Christopher Faylor 2000-10-19 00:53:25 +0000
  • 6e8f36bc43 * dcrt0.cc (dll_crt0_1): init cygcwd before forkee branch DJ Delorie 2000-10-19 00:45:39 +0000
  • b8cb783f28 * ps.cc (main): Add some extra space to Windows pid output for Windows 95. Christopher Faylor 2000-10-18 22:58:34 +0000
  • c2a585c65c Update entry "Why are compiled executables so huge?!?", add bit about 'gcc -s'. David Starks-Browning 2000-10-18 15:32:50 +0000
  • f1d9a0d479 Minor update to "How can I find out which dlls are needed by an executable?", indicate that cygcheck works recursively. David Starks-Browning 2000-10-18 15:16:45 +0000
  • b55af6accd Update entry "How do anti-virus programs like Cygwin?", adding bit about performance hit and exempting C:\cygwin\bin from scanning. David Starks-Browning 2000-10-18 14:36:07 +0000
  • 6a0983f60f Update entry "Why can't I run bash as a shell under NT Emacs?", remove old disclaimer. David Starks-Browning 2000-10-18 14:15:09 +0000
  • b1411b1291 Update entry "Shell scripts aren't running properly from my makefiles?", remove old disclaimer. David Starks-Browning 2000-10-18 13:43:56 +0000
  • 3bb1842959 Relevant bits subsumed in what.texinfo, separate mirrors list discarded. David Starks-Browning 2000-10-18 13:12:14 +0000
  • c67c9ca817 Update "Is it free software?" entry re. 1.0 CD. All in past tense, no longer shipping, refer to cygwin-cd.html for latest news. David Starks-Browning 2000-10-18 13:04:27 +0000
  • df4da6cf8b Minor, mention mirror sites in "Where can I get it?". David Starks-Browning 2000-10-18 12:48:31 +0000
  • deafd52c70 Add new section "Where can I get it?" to what.texinfo. Omit sites.texinfo altogether (mirror list not useful). David Starks-Browning 2000-10-18 12:34:41 +0000
  • 19ce2f49a7 Delete entry "Ancient history of the project", replace with link to history.html. David Starks-Browning 2000-10-18 11:52:15 +0000
  • 04f1fe89ec * ps.cc (main): Add some extra space to pid output for Windows 95. Christopher Faylor 2000-10-18 04:55:01 +0000
  • ac944e37d0 * exceptions.cc (call_handler): Make signal pending if sigsave.sig is still active. * syscalls.cc (_read): Don't clear errno. * sigproc.cc (wait_sig): Don't scan the waiting process list after a SIGCHLD if there are no zombies to reap. * winsup.h: Use __builtin_strcmp. * environ.cc (posify): Don't initialize len unless it is required (from DJ Delorie <dj@redhat.com>). Christopher Faylor 2000-10-18 04:53:37 +0000
  • 3f7bd53115 * sigproc.cc (proc_subproc): Remove unneeded test for correct process in PROC_ADDCHILD. Return 0 when terminated child has just been reparented. (wait_subproc): Only send SIGCHLD when proc_subproc returns != 0. * strace.cc (strace::vsprntf): Only strip .exe extension from program name. Christopher Faylor 2000-10-17 18:55:58 +0000
  • e6f5c9d57d * fhandler_clipboard.cc: new file * Makefile.in: include fhandler_clipboard.o in DLL_OFILES list. * fhandler.h: add FH_CLIPBOARD to the devices enum. (fhandler_dev_clipboard): new * path.cc (windows_device_names): add "\\dev\\clipboard" (get_device_number): check for "clipboard" * dcrt0.cc: declare a few more functions from winuser.h * dtable.cc (dtable::build_fhandler): check for FH_CLIPBOARD in switch(). DJ Delorie 2000-10-17 01:46:26 +0000
  • 92e1969051 * debug.cc (add_handle): Issue warning on attempts to add the same handle more than once. * fhandler_tty.cc (fhandler_tty_slave::open): Protect some handles. (fhandler_tty_common::close): Use proper name when closing handles. (fhandler_pty_master::close): Don't close to_slave or from_slave since they've already been closed earlier in the function. * sigproc.cc (proc_subproc): Don't protect vchild->hProcess. Expect that the caller will do this, instead. * tty.cc (tty_list::terminate): Use proper name when closing handles. (tty::make_pipes): Protect some handles. Christopher Faylor 2000-10-17 01:42:04 +0000
  • 166b2571ce * Makefile.in: Remove some obsolete stuff. * dcrt0.cc (dll_crt0_1): Call signal_fixup_after_exec where appropriate. Set myself->uid from parent version. Just use ThreadItem Init method. Close or store hexec_proc as appropriate. (_dll_crt0): Store user_data->forkee here so that proper tests can be made subsequently. (do_exit): Remove hExeced stuff. * environ.cc (environ_init): Accept environ count as well as environ pointer. * environ.h: Reflect above change. * pinfo.cc (pinfo_init): Ditto. Accept environ count. (fixup_in_spawned_child): Remove. * spawn.cc (spawn_guts): Move signal code to dll_crt0_1. Don't suspend execing process since it is no longer necessary. Store envc. * exceptions.cc (signal_fixup_after_exec): New function. (call_handler): Remove hExeced test. * child_info.h (cygheap_exec_info): Store envc as well as envp. (child_info_spawn): Store hexec_proc so that it can be closed in child. * path.cc (normalize_posix_path): Avoid intermediate use of temporary cwd buf. (normalize_win32_path): Ditto. (cwdstuff::get_initial): Always set lock. * sigproc.h: Remove hExeced. * strace.cc (strace::vsprntf): Modify to accomodate for lack of hExeced. * thread.cc (MTinterface::Init): Merge Init1 and ClearReent into this method. (MTinterface::Init1): Eliminate. (MTinterface::ClearReent): Eliminate. * thread.h: Reflect above changes. * include/sys/strace.h (strace): Make microseconds() public. Make various functions 'regparm', throughout. * pinfo.h (_pinfo): Inline simple signal manipulation functions. Requires inclusion of thread.h which was removed from .cc files, where appropriate. throughout. * pinfo.cc: Eliminate signal manipulation functions. (_pinfo::exit): Calculate total rusage for exiting process here. * cygheap.cc (size2bucket): Eliminate. (init_buckets): Ditto. (_cmalloc): Calculate size and bits in a loop rather than going through a function call. (_crealloc): Use stored array index to calculate allocated size. * spawn.cc (spawn_guts): Use _pinfo exit method to exit, calculating cpu usage. Christopher Faylor 2000-10-16 23:55:58 +0000
  • d9d9b70718 * cygcheck.cc (main): Fix argument counting. Corinna Vinschen 2000-10-16 23:12:58 +0000
  • 5460fae73f * ps.cc (main): Accomodate new PID_ constant. Christopher Faylor 2000-10-15 03:43:48 +0000
  • 1dc16fc74b * exceptions.cc (set_console_handler): Don't allocate console_handler_thread_waiter. It is obsolete. (ctrl_c_handler): Don't use console_handler_thread_waiter. * path.cc (hash_path_name): Fix handling of relative names. Make case insensitive. * path.h (suffix_info): Use initializers. * pinfo.h (_pinfo): Avoid initializers for null case. * resource.cc (fill_rusage): Zero rest of rusage structure. * security.cc (set_process_privileges): Don't reopen parent process. Just use hMainProc. * signal.cc (signal): Track when a signal handler has been used. (sigaction): Ditto. * sigproc.cc (pchildren): Use default initializer. (zombies): Ditto. (sigproc_terminate): Avoid closing handles that will be closed on exit anyway. (wait_sig): Send signal to "parent" on EXECing, not FORKing. (wait_subproc): Send SIGCHLD here rather than in proc_wait to avoid potential muto conflicts. * sigproc.h (sigthread): Don't initialize to zero. It's the default. * spawn.cc (spawn_guts): Fill in resources from exec parent prior to termination. * sync.h (muto): Don't initialize to zero. * syscalls.cc (close_all_files): Use one lock around entire loop and call fhandler close/release stuff directly. (_read): Don't use ready_for_read if there are not signal handlers active. * dcrt0.cc (dll_crt0_1): Fix display of "title". (do_exit): Use pinfo exit method to exit. (__api_fatal): Ditto. * exceptions.cc (signal_exit): Ditto. * fork.cc (fork_child): Remove debugging stuff. Use pinfo_fixup_after fork in place of exec_fixup_after_fork. * pinfo.cc (pinfo_fixup_after_fork): New method. (pinfo_fixup_in_spawned_child): Ditto. (_pinfo::exit): New method. (_pinfo::init): Remove recursion. Detect pathological case where pinfo structure already exists for new pid. * pinfo.h (_pinfo): Reorganize slightly. Add new method and new function declarations. * sigproc.cc (proc_exists): Previous simplification was a little to simple. Try harder to detect if a process exists. (proc_terminate): Use PID_EXITED setting to determine if process is still around. (WFSO): Remove debugging statement. (WFMO): Ditto. * spawn.cc (exec_fixup_after_fork): Eliminate. (spawn_guts): Always set old_title to NULL. Is it really needed? Move hexec_proc to pinfo.cc. Call pinfo_fixup_in_spawned_child to eliminate handle link after a spawn. * include/sys/cygwin.h: Remove PID_NOT_IN_USE. Add PID_EXITED. Christopher Faylor 2000-10-15 01:37:07 +0000
  • fdc614360f Forgot to commit ChangeLog Corinna Vinschen 2000-10-14 08:56:17 +0000
  • 7d9688b793 * cygwin.din: Add symbol hstrerror. * net.cc: Change meaning of member `s' of struct host_errmap. (set_host_errno): Fix error in loop condition. (hstrerror): Ditto. (herror): Add appropriate functionality. * include/netdb.h: Add declaration of hstrerror. * include/cygwin/version.h: Bump CYGWIN_VERSION_API_MINOR to 29. Corinna Vinschen 2000-10-14 08:55:44 +0000
  • aece55b982 * cygheap.cc (cygheap_fixup_in_child): Don't page round cygheap copied from parent. * dcrt0.cc (do_exit): Don't cleanup pinfo on exit. That happens automatically now. * exceptions.cc (signal_exit): Ditto. * fork.cc (fork_parent): Use stack_here value passed in from fork(). (fork): Figure out top of stack here and pass it to fork_parent. * pinfo.cc (_pinfo::record_death): Eliminate. * pinfo.h (_pinfo): Ditto. * sigproc.cc (proc_exists): Simplify. (proc_terminate): Ditto. (remove_zombie): Don't cleanup pinfo stuff. (wait_sig): Send subproc_ready signal whether execed or spawned. * spawn.cc (spawn_guts): Always create subproc_ready event. Use it for both exec and spawn. (_spawnve): Send proper mode to spawn_guts when mode != _P_OVERLAY. Christopher Faylor 2000-10-14 05:52:38 +0000
  • cbe4c8e234 Add comment. Christopher Faylor 2000-10-14 01:03:01 +0000
  • ee20f060a8 * dtable.cc (dtable::fixup_after_fork): Revert thinko below. * pinfo.cc (set_myself): Show pid in initial strace line. Christopher Faylor 2000-10-13 03:13:59 +0000
  • 1ec4f618fe * child_info: Bump child_info "version". (child_info): Move some fields from child_info_spawn to here. * cygheap.cc: Make cygheap pointers NOCOPY. * dcrt0.cc (dll_crt0_1): Copy cygwin heap here regardless of whether we've been forked or execed. * dtable.cc (dtable::fixup_after_fork): Just release close-on-exec fds. * exceptions.cc (stackdump): Respond to C warning. * fork.cc: Reorganize to minimize stack copying. (fork_child): New function. (fork_parent): Ditto. (sync_with_child): Don't suspend the forkee. (sync_with_parent): Ditto. Make into a function. * heap.cc (heap_init): Add some debugging output. * path.cc (path_conv::check): Add an assertion. (has_suffix): Ditto. * security.cc (get_pw_sid): Defend against NULL. * sigproc.cc (proc_subproc): Fix debugging output. (wait_sig): Ditto. * strace.cc: Make statics NO_COPY throughout. (strace::vsprntf): Defend against NULL. Christopher Faylor 2000-10-12 22:15:47 +0000
  • 5e0d760fb8 * strace.cc (proc_child): Handle exceptions correctly. Christopher Faylor 2000-10-12 06:22:30 +0000
  • ec300c9979 * errno.cc (seterrno_from_win_error): Fix debugging output. * fhandler.cc (fhandler_base::fstat): Move to inline method in fhandler.h. (fhandler_base::set_io_handle): Ditto. * fhandler.h (fhandler_base): Make some methods inline. * fhandler_console.cc (fhandler_console::write_normal): Make buffer larger. * sigproc.h (sigframe::sigframe): Actually use set ebp parameter correctly. * spawn.cc (spawn_guts): Set dwProcessId when exec'ing. Just exit immediately after reparenting. * syscalls.cc: Sprinkle sigframe stuff throughout. * wait.cc (wait4): Set signal frame here. * dcrt0.cc (__api_fatal): Don't rely on small_printf to display errors. Always display problems to the console, if possible. Christopher Faylor 2000-10-12 04:38:29 +0000
  • 8251f53ddd merge from gcc repository DJ Delorie 2000-10-12 02:15:49 +0000
  • e62ae31192 * path.cc (cwdstuff::get): Set EINVAL when length is zero. Christopher Faylor 2000-10-10 19:24:32 +0000
  • a8018ef336 * libc/include/sys/unistd.h: Add getdtablesize and setdtablesize declarations for __CYGWIN__. Christopher Faylor 2000-10-10 00:28:49 +0000
  • dc7f5226eb * path.cc (mount_info::cygdrive_posix_path): Handle e:foo construction correctly. Christopher Faylor 2000-10-09 18:10:53 +0000
  • 44e939882a * fhandler_mem.cc (fhandler_dev_mem::fhandler_dev_mem): Fix debug output. Corinna Vinschen 2000-10-09 14:49:25 +0000
  • 21fdffa58a * fhandler_mem.cc: Eliminate unused include statements. (fhandler_dev_mem::fhandler_dev_mem): Check for 9X/ME. Corinna Vinschen 2000-10-09 14:02:25 +0000
  • 42f1b6c544 * fhandler.h (fhandler_dev_mem): Erase member `init_phase' and member function `init'. * fhandler_mem.cc: Add typedefs for NT internal data types `SYSTEM_INFORMATION_CLASS' and `SYSTEM_BASIC_INFORMATION'. Add prototype for `NtQuerySystemInformation' function. (fhandler_dev_mem::fhandler_dev_mem): Takes over initialization task from `init'. Use `NtQuerySystemInformation' function to evaluate the size of physical memory instead of interval search. (fhandler_dev_mem::init): Eliminated. (fhandler_dev_mem::open): Don't call `init'. (fhandler_dev_mem::read): Eliminate check for `init_phase'. (dummy_autoload): Add load statement for `NtQuerySystemInformation'. Corinna Vinschen 2000-10-09 13:19:41 +0000
  • b9e7a2b666 * include/iprtrmib.h: Further layout changes according to standard. * include/iptypes.h: Ditto. * include/ntdef.h: Ditto. * include/ntsecapi.h: Ditto. * include/subauth.h: Ditto. Corinna Vinschen 2000-10-09 09:51:46 +0000
  • 4b5970ab89 * include/ntsecapi.h: Fix PLSA_UNICODE_STRING define. Corinna Vinschen 2000-10-09 09:34:04 +0000
  • d81311a800 I forgot 'iprtrmib.h' in the ChangeLog Corinna Vinschen 2000-10-09 09:19:57 +0000
  • aaf0dee260 * ps.cc (main): Change order of reporting slightly so that windows pids are more obvious. * strace.cc (add_child): Just add child's pid directly. (remove_child): No need to close the child process pid since ContinueDebugEvent does that automatically. (proc_child): Ditto for child thread. Christopher Faylor 2000-10-09 03:31:10 +0000
  • 164a681ca5 * dtable.cc (set_std_handle): Use std_consts array to control SetStdHandle settings. (dtable::fixup_after_fork): Ditto. * exceptions.cc (set_sig_errno): Remove some debugging output. * path.cc (path_conv::check): Don't OR need_directory with flags sent to symlink_info::check. (symlink_info::check): Use PATH_ALL_EXEC to determine when a file is executable. * path.h (path_types): Add PATH_ALL_EXEC. (isexec): Use PATH_ALL_EXEC so that cygexec types will be considered executable. * pinfo.h (_pinfo): Add a process handle that is kept open throughout the life of a cygwin pid. * sigproc.cc (proc_exists): Remove hopefully obsolete stuff. (proc_subproc): Set up process handle that is kept open throughout the life of a cygwin pid. Reorganize PROC_WAIT stuff to use common code. (proc_terminate): Close pid lifetime process handle. (checkstate): Cleanup. (stopped_or_terminated): Move zombie cleanup. (remove_zombie): To here. * spawn.cc (spawn_guts): Reorganize reparenting code for 1247th time. Christopher Faylor 2000-10-09 02:53:44 +0000
  • 65bb926f51 * include/ntsecapi.h: New file. * include/subauth.h: Ditto. * include/ipexport.h: Fix global header define not to contain trailing underscore. Change layout according to standard. * include/iphlpapi.h: Ditto. * include/ipifcons.h: Ditto. * include/iptypes.h: Ditto. * include/ntdef.h: Ditto. Define conditional datatypes dependent of inclusion of ntdecapi.h and subauth.h. * lib/secur32.def: New stub for secur32.dll. Corinna Vinschen 2000-10-08 16:55:29 +0000
  • 57bf29e825 * fhandler.h (fhandler_base): Remove obsolete _rpos and _rsize elements. * fhandler.cc (fhandler_base::open): Ditto. * fhandler.cc (fhandler_base::fhandler_base): Ditto. (fhandler_base::read): Ditto. Add more debugging output. Don't issue a \r when \r\n detected. * pipe.cc (make_pipe): Streamline slightly. Make debug output more interesting. * strace.cc (strace::vsprintf): Use __progname where appropriate to distinguish strace output when exec'ing. Christopher Faylor 2000-10-07 18:12:11 +0000
  • 4ea34a6850 * fhandler.h (fhandler_dev_mem): Add methods mmap, munmap and msync. Add `unit' member. * fhandler_mem.cc (fhandler_dev_mem): Initialize `unit' as well. (init): Care for differences between /dev/mem, /dev/kmem (not implemented yet) and /dev/port. (open): Change debug message to reflect the device. (mmap): New function. (munmap): Ditto. (msync): Ditto. (fstat): Use unit when setting st_dev in stat structure. * mmap.cc (mmap): Handle MAP_ANONYMOUS flag. Change error handling slightly. * path.cc (get_device_number): Handle /dev/port. Corinna Vinschen 2000-10-07 17:35:36 +0000
  • 7aadaf0f7e * syscalls.cc (_read): Behave properly when passed previous version of O_NDELAY. Fix up debugging output. Christopher Faylor 2000-10-07 03:25:38 +0000
  • 829425c9fd * net.cc (set_socket_inheritance): Rename from duplicate_socket. Use NT specific call when appropriate. (__set_winsock_errno): Rename from set_winsock_errno. Accept function and line as arguments. * path.cc (path_conv::check): Continue the neverending battle to make cygwin properly understand that path specs ending in a slash require that the path refer to a directory. Windows does not do this by default. (symlink_info::check): Remove ENOTDIR test. Move it to path_conv::check. * path.h: Remove obsolete constant. * winsup.h (set_winsock_errno): New macro. Christopher Faylor 2000-10-06 19:11:14 +0000
  • d12eba25a5 ===================================== These changes require rebuilding all. ===================================== * fhandler.h: Add mmap(), munmap() and msync() to fhandler_base and fhandler_disk_file. * mmem.cc (mmap): Eliminated device dependent implementation details. These are moved to the appropriate fhandler class. (munmap): Ditto. (msync): Ditto. (fhandler_base::mmap): New method. (fhandler_base::munmap): Ditto. (fhandler_base::msync): Ditto. (fhandler_disk_file::mmap): Ditto. (fhandler_disk_file::munmap): Ditto. (fhandler_disk_file::msync): Ditto. Corinna Vinschen 2000-10-05 13:07:02 +0000
  • 4e6a4ea8e8 * net.cc: General cleanup. (fdsock): Return pointer to created fhandler_socket. (cygwin_socket): Use pointer returned by fdsock. Return correct errno when fd < 0. Christopher Faylor 2000-10-05 05:57:00 +0000
  • a5855dc341 * exceptions.cc (interruptible): Add extra debugging. * sigproc.h (wait_sig): Fill in frame pointer, by default, prior to calling or suffer confusion due to September 7 change below. Christopher Faylor 2000-10-05 04:53:17 +0000
  • 1daf97f97e * include/netinet/tcp.h: Remove winsock.h include. * include/sys/cygwin.h: Move windows specific reference within conditional. Christopher Faylor 2000-10-05 03:12:36 +0000
  • 95436d7cdb * include/sys/mman.h: Add missing MAP_FAILED macro. Corinna Vinschen 2000-10-04 23:17:01 +0000
  • f4f898aca0 * fhandler.h (fhandler_dev_mem): Add method `init'. Add members `mem_size' and `init_phase'. * fhandler_mem.cc (init): New function to figure out the size of the physical memory. (open): Add checking for illegal flags. Change usage of access mode. (write): Add intended functionality. (read): Add parameter checking. Eliminate page size constant. Use getpagesize() instead. Don't touch errno and don't create debug output while init() is running. (lseek): Add bounds checking. Fix SEEK_END. (fstat): Eliminate page size constant. Use getpagesize() instead. (dup): Add intended functionality. Corinna Vinschen 2000-10-04 17:08:46 +0000
  • 52b5a97156 * dcrt0.cc: Add LoadDLLFunc statement for RegEnumValueA(). * net.cc: Change comments related to get_ifconf. (get_2k_ifconf): Eliminate `type' variable. Eliminate `sa' parameter. (get_nt_ifconf): Ditto. (get_9x_ifconf): Ditto. Rewritten. (get_ifconf): Chage calls to OS specific functions. Corinna Vinschen 2000-10-02 20:21:47 +0000
  • 17e8632267 * signal.cc (sigaction): Allow new action == oldaction. Christopher Faylor 2000-10-02 19:19:21 +0000
  • 63c05d8ce7 * include/ras.h: New file. * lib/rasapi32.def: Add symbols for RasEnumDevicesA and RasEnumDevicesW. Corinna Vinschen 2000-10-02 09:19:14 +0000
  • 7041211c58 * include/ntdef.h: Add define for NTAPI. Corinna Vinschen 2000-10-02 09:09:38 +0000
  • a26fb3150d * fhandler_mem.cc: Load ntdll functions via autoload method. (load_ntdll_funcs): Eliminated. Corinna Vinschen 2000-10-02 09:07:50 +0000
  • 2f696b4bdb * fhandler_mem.cc (load_ntdll_funcs): Add missing __stdcall qualifiers. Corinna Vinschen 2000-10-02 08:31:07 +0000
  • 9fc09d00f7 * cygheap.cc (cygheap_init): Born again function. (_cmalloc): Reorganize to accomodate muto locking. (_cfree): Use muto lock to avoid multi-thread problems. * cygheap.h (incygheap): Just use cygheap_max to find upper cygwin heap bounds. * dcrt0.cc (dll_crt0_1): Reinstitute cygheap_init call. * path.cc (getcwd): Just return cwdstuff::get result, allowing correct handling of negative length. (cwdstuff::get): Malloc a buffer if one is not available. Christopher Faylor 2000-10-02 02:26:04 +0000
  • 0ce83ef6b8 * Makefile.common: Extend VERBOSE default. * Makefile.in: Don't clean the testsuite separately. It's already part of CLEAN_SUBDIRS. Christopher Faylor 2000-10-02 02:05:23 +0000
  • 5b4db83881 * include/ipexport.h: Add missing `extern "C"' directives. * include/iphlpapi.h: Ditto. * include/iprtrmib.h: Ditto. * include/iptypes.h: Ditto. Corinna Vinschen 2000-10-01 21:57:57 +0000
  • a86ea17b8a * include/ipifcons.h: New header file. * include/iprtrmib.h: Move operational states to ipifcons.h. * include/iphlpapi.h: Add missing parameters to GetIfTable() declaration. Corinna Vinschen 2000-10-01 20:09:53 +0000
  • d6ced52274 * include/iprtrmib.h: Add missing MIB_IF_OPER_STATUS_xxx definitions. Corinna Vinschen 2000-10-01 14:32:24 +0000
  • 7d278f3da3 * lib/iphlpapi.def: New stub for iphlpapi.dll. * include/iptypes.h: New header file. * include/ipexport.h: Ditto. * include/iphlpapi.h: Ditto. * include/iprtrmib.h: Ditto. Corinna Vinschen 2000-10-01 14:22:14 +0000
  • 72be82dab3 * Makefile.common: Default to VERBOSE when part of overall source tree build. Christopher Faylor 2000-10-01 04:32:36 +0000
  • 51c22a5c86 * Makefile.in: Add fhandler_mem.o to the dependencies. * dtable.cc (dtable::build_fhandler): Add case for FH_MEM. * fhandler.h: Add FH_MEM device type. Add class fhandler_dev_mem. * fhandler_mem.cc: New file. Implementation of class fhandler_dev_mem. * path.cc: Add /dev/mem to windows_device_names. (get_device_number): Add FH_MEM type. Corinna Vinschen 2000-10-01 01:02:40 +0000
  • a5e8da40eb * include/ntdef.h: New file. Corinna Vinschen 2000-10-01 00:55:42 +0000
  • a6b9fcde41 * ltconfig, ltmain.sh, libtool.m4: Updated from libtool multi-language branch, to work around Solaris' /bin/sh bug. Rebuilt all affected `configure' scripts. Alexandre Oliva 2000-09-30 06:06:58 +0000
  • 8d82847a29 * cygheap.cc (init_cheap): Set aside space for heap walk pointer. (_csbrk): Make logic for detecting when to alloc cognizant of initialization condition. (_cmalloc): Use a structure to hold bucket size and heap chain pointer. Store pointer to next freed block in bucket size location so that it will be easy to see if a block is allocated. (_cfree): Store pointer to next freed block in bucket size location. (_crealloc): Use macro to retrieve bucket size. (cygheap_init): Eliminate. (cygheap_fixup_in_child): Add second argument to determine if we were execed or not. In execed case, walk the heap, cleaning up any orphaned blocks. * cygheap.h: Add a "MAX" value to cygheap_types. Remove cygheap_init declaration. Accomodate new argument to cygheap_fixup_in child. * fork.cc (fork): Accomodate extra argument to cygheap_fixup_in_child. * dcrt0.cc (dll_crt0_1): Ditto. Remove call to cygheap_init. Christopher Faylor 2000-09-30 04:54:11 +0000
  • 90fe77395a * path.cc (symlink_info::check): Set executable bit for a file if the first two characters are 'MZ' to mirror spawn_guts check. Christopher Faylor 2000-09-30 01:56:40 +0000
  • 84ecbb38d6 * winsup.h: Add `winME' to os_type symbols. * dcrt0.cc (set_os_type): Identify Windows ME systems. * (host_dependent_constants::init): Care for winME. * uname.cc (uname): Ditto. Corinna Vinschen 2000-09-30 01:38:13 +0000
  • b504f11afa Added missing article Corinna Vinschen 2000-09-29 22:23:37 +0000
  • 795f46d9db * pathnames.sgml: Add documentation about raw block special devices and tape devices to the "POSIX devices" chapter. Corinna Vinschen 2000-09-29 21:53:52 +0000
  • 684ee6cce2 Correct date of checkin Hans-Peter Nilsson 2000-09-29 18:23:26 +0000
  • 88d06849ff * dis-asm.h: Declare cris_get_disassembler, not print_insn_cris. Fix typo in comment. Hans-Peter Nilsson 2000-09-29 18:07:47 +0000
  • 2470ae91c3 * cris.h (EF_CRIS_UNDERSCORE): New. Hans-Peter Nilsson 2000-09-29 16:52:42 +0000
  • 830ac3d276 Forgot to remove cygkeycheck.cc Corinna Vinschen 2000-09-29 11:22:36 +0000
  • 41a0695b83 * cygcheck.cc (keyeprint): New function. (check_keys): New function. Perform checking keycodes. (main): Add option `-k' for invoking check_keys. Change option processing to use long options and getopt_long. * cygkeycheck.cc: Removed. Functionality moved to `cygcheck.cc'. * Makefile.in: Remove cygkeycheck from the dependencies. Corinna Vinschen 2000-09-29 11:20:53 +0000
  • 3720012510 Add alloca-conf.h from libiberty. Alan Modra 2000-09-28 08:00:54 +0000
  • b40ae04e56 * cygkeycheck.cc: New file. Utility to retrieve keycodes. * Makefile.in: Add cygkeycheck to the dependencies. Corinna Vinschen 2000-09-28 06:39:43 +0000
  • 7326d4e4b1 * net.cc (get_ifconf): Code cleanup. Split. Call os dependent subfunctions instead. (get_9x_ifconf): New function for 9X systems, called by get_ifconf. (get_nt_ifconf): New function for NT systems, called by get_ifconf. (get_2k_ifconf): New function for W2K systems, called by get_ifconf. Corinna Vinschen 2000-09-28 06:34:38 +0000
  • a3bb629e96 .plt stub for lazy linking, --stub-group-size=N ld switch, import stub fix, extra DIR14F reloc to fix abort in tc_gen_reloc Alan Modra 2000-09-27 17:30:17 +0000
  • e564846577 * spawn.cc (spawn_guts): Attempt to accomodate archaic windows quoting mechanism when dealing with '\' and '"'. Christopher Faylor 2000-09-27 05:12:09 +0000
  • 03de9775c4 New entry "Why doesn't man work?" (need ash) David Starks-Browning 2000-09-26 14:55:51 +0000
  • dfc2c41a6c Remove entry "How do I set /etc up?" (never been updated to latest, no longer helpful) David Starks-Browning 2000-09-26 14:46:56 +0000
  • 4eafa56ec2 * dcrt0.cc (quoted): Fix problem where ' quoted strings were skipped. * fhandler.h (fhandler_socket::~fhandler_socket): Delete declaration. * net.cc: Remove unnecessary "number_of_sockets" usage. (fhandler_socket::fhandler_socket): Ditto. (fhandler_socket::~fhandler_socket): Delete definition. * spawn.cc (spawn_guts): Force first argument passed to CreateProcess as a command line to be windows style. Christopher Faylor 2000-09-26 00:52:21 +0000
  • ef42416e99 * Makefile.in (DEVO_SUPPORT): Added gettext.m4, libtool.m4 and ltcf-c.sh. Alexandre Oliva 2000-09-25 20:26:51 +0000
  • fb5956da13 * spawn.cc (av::dup_maybe): Make function void rather than void *. * environ.cc (environ_init): Remember to reparse CYGWIN if envp is supplied. * heap.cc (_sbrk): Remember frame for signal handling. * syscalls.cc (read_handler): Eliminate. (_read): Move read_handler code here. Reorganize for one path through 'ready_for_read'. Christopher Faylor 2000-09-25 16:36:12 +0000
  • eb69b80812 Fix ia64 gas testsuite. Update ia64 DV tables. Fix ia64 gas testsuite again. gas/ChangeLog * config/tc-ia64.c (dv_sem): Add "stop". (specify_resource, case IA64_RS_PR): Only handles regs 1 to 15 now. (specify_resource, case IA64_RS_PRr): New for regs 16 to 62. (specify_resource, case IA64_RS_PR63): Reorder (note == 7) test to match above. (mark_resources): Check IA64_RS_PRr. gas/testsuite/ChangeLog * gas/ia64/dv-raw-err.s: Add new testcases for PR%, 16 - 62. * gas/ia64/dv-waw-err.s: Likewise. * gas/ia64/dv-imply.d: Regenerate. * gas/ia64/dv-mutex.d, gas/ia64/dv-raw-err.l, gas/ia64/dv-safe.d, gas/ia64/dv-srlz.d, gas/ia64/dv-war-err.l, gas/ia64/dv-waw-err.l, gas/ia64/opc-f.d, gas/ia64/opc-i.d, gas/ia64/opc-m.d: Likewise. include/opcode/ChangeLog * ia64.h (enum ia64_dependency_semantics): Add IA64_DVS_STOP. opcodes/ChangeLog * ia64-dis.c (print_insn_ia64): Revert Aug 7 byte skip count change. * ia64-gen.c (parse_semantics): Handle IA64_DVS_STOP. (lookup_specifier): Handle "PR%, 1 to 15" and "PR%, 16 to 62". * ia64-ic.tbl, ia64-raw.tbl, ia64-war.tbl, ia64-waw.tbl: Update. * ia64-asmtab.c: Regnerate. Jim Wilson 2000-09-22 19:43:49 +0000
  • b944c6f661 * libc/signal/signal.c (__sigtramp_r): ISO C requires case labels to be integral constant expressions, so use an if/else tree instead. (_raise_r): Likewise. Geoffrey Keating 2000-09-19 19:39:45 +0000
  • b963175618 * spawn.cc (spawn_guts): Use actual program argument passed in for argv[0] as originally suggested by Kazuhiro Fujieda <fujieda@jaist.ac.jp>. Christopher Faylor 2000-09-19 13:48:52 +0000
  • 6e604fb15d * path.h: Create new input path flag PATH_NEEDDIR. * path.cc (path::check): Detect trailing slash before converting to windows path. Tell symlink_info::check to check for directory if one is found. (symlink_info::check): Set errno when path is not a directory if pflags & PATH_NEEDDIR. Christopher Faylor 2000-09-19 03:22:45 +0000
  • 45b80bb4ce * cygpath.cc: Add new options: -s and -i. * utils.sgml: Document the new options. Christopher Faylor 2000-09-19 01:26:45 +0000
  • a3ad824178 * fhandler_tty.cc (fhandler_tty_slave::write): Correct typo which caused resetting of windows error to ERROR_IO_DEVICE to be ignored. Christopher Faylor 2000-09-18 23:46:10 +0000
  • 9a02bdb58c * path.cc (mount_info::read_mounts): Don't delete mount entries of which mount points have the cygdrive prefix. * (mount_info::add_reg_mount): Properly catch errors on registry operations. * (mount_info::write_cygdrive_info_to_registry): Ditto. * (mount_info::del_reg_mount): Cosmetic changes to be consistent with other methods. * (mount_info::add_item): Check arguments more precisely. Increment nmounts only when registry operations succeed. Christopher Faylor 2000-09-18 16:42:28 +0000