summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 2005-09-27 Ralf Corsepius <ralf.corsepius@rtems.org>Jeff Johnston2005-09-272-2/+9
| | | | | * libc/include/stdint.h: Correct __STDINT_EXP macro incorrectly handling GCC >= 4.
* * pthread.cc (mangle_sem_name): Use cygheap->shared_prefix insteadCorinna Vinschen2005-09-272-5/+13
| | | | of fiddling with wincap.has_terminal_services manually.
* * cygheap.cc (cygheap_init): Add GLOBAL_PRIV to hProcToken explicitelyCorinna Vinschen2005-09-273-8/+14
| | | | | | since hProcImpToken isn't initialized here. * shared.cc (open_shared): Always print mapname instead of name in debug output.
* * strace.cc (strace::vsprntf): Avoid printing a zero pid.Christopher Faylor2005-09-272-1/+5
|
* * init.cc (dll_entry): Call IsWow64Process with GetCurrentProcessCorinna Vinschen2005-09-272-1/+6
| | | | as process handle since hMainProc isn't initialized here.
* * fhandler_floppy.cc (fhandler_dev_floppy::get_drive_info): AlwaysCorinna Vinschen2005-09-272-27/+69
| | | | | | | try IOCTL_DISK_GET_DRIVE_GEOMETRY_EX and IOCTL_DISK_GET_PARTITION_INFO_EX ioctls first, to allow access to GPT partitioned disks. Fall back to old non-EX ioctls otherwise. Add comment to explain NT4 weirdness.
* * libiberty.h (expandargv): New function.Mark Mitchell2005-09-262-0/+7
| | | | | | | | | * argv.c (safe-ctype.h): Include it. (ISBLANK): Remove. (stdio.h): Include. (buildargv): Use ISSPACE instead of ISBLANK. (expandargv): New function. * Makefile.in: Regenerated.
* * errno.cc (errmap): Map ERROR_SEEK and ERROR_SECTOR_NOT_FOUND.Corinna Vinschen2005-09-262-0/+6
|
* * exceptions.cc (_cygtls::call_signal_handler): Minor cleanup.Christopher Faylor2005-09-262-3/+9
|
* * fhandler.h (class fhandler_dev_raw): Add drive information membersCorinna Vinschen2005-09-264-148/+124
| | | | | | | | | | | | | | | | | | | drive_size, current_position and bytes_per_sector. (fhandler_dev_floppy::get_drive_info): Declare. * fhandler_floppy.cc (fhandler_dev_floppy::is_eom): Define ERROR_SEEK and ERROR_SECTOR_NOT_FOUND as end-of-medium conditions. (fhandler_dev_floppy::get_drive_info): New method to have one function retrieving drive info. (fhandler_dev_floppy::open): Call get_drive_info to get drive information right from the start. (fhandler_dev_floppy::lseek): Use and set drive information members. Especially keep track of current_position. (fhandler_dev_floppy::ioctl): Ditto. * fhandler_raw.cc (fhandler_dev_raw::write_file): Keep track of current_position. (fhandler_dev_raw::read_file): Ditto. (fhandler_dev_raw::raw_read): Never try to read beyond end-of-medium. (fhandler_dev_raw::dup): Handle new drive information members.
* * exceptions.cc (handle_exceptions): Just si_code to SI_KERNEL first and let itChristopher Faylor2005-09-264-7/+35
| | | | | | | | | | be overridden. * exceptions.cc (_cygtls::call_signal_handler): Call signal handler with extra siginfo_t * and void * parameters when SA_SIGINFO flag is set. * signal.cc (signal): Clear SA_SIGINFO flag. (sigqueue): Fix incorrect setting of si_code. * sigproc.cc (signal_fixup_after_exec): Clear SA_SIGINFO flag when setting handler to SIG_DFL.
* * pinfo.cc (proc_waiter): Properly fill out si_code as according to SUSv3.Christopher Faylor2005-09-262-6/+11
| | | | | * exceptions.cc (handle_exceptions): Properly fill out si_code as according to SUSv3.
* * exceptions.cc (handle_exceptions): Properly fill out si_code.Christopher Faylor2005-09-262-13/+18
|
* * sigproc.cc (wait_sig): Cosmetic change.Christopher Faylor2005-09-263-2/+7
| | | | | * pinfo.cc (pinfo::exit): Don't explicitly remove myself since some other thread may still be using it.
* 2005-09-25 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>Joshua Daniel Franklin2005-09-265-772/+23
| | | | | | | * faq.xml: Remove copyright section, link to license.html * faq-sections.xml: Remove copyright section, link to license.html * faq-programming.xml: Remove confusing reference to Red Hat. * faq-what.xml: Reword "supported" FAQ.
* * hppa.h (pa_opcodes): Add new "fdc" and "fic" opcode entries.John David Anglin2005-09-252-1/+8
|
* * sigproc.cc (sigproc_terminate): More reversion of always-exit-from-sigthreadChristopher Faylor2005-09-242-4/+6
| | | | change.
* * include/math.h (HUGE_VALF, HUGE_VALL, INFINITY, NAN)Danny Smith2005-09-242-5/+9
| | | | Avoid raising FP exceptions.
* * shared.cc (open_shared): Add crucial bit of debugging info.Christopher Faylor2005-09-232-1/+5
|
* Semi-reversion of always-exit-from-sigthread change of 2005-09-15.Christopher Faylor2005-09-235-57/+26
| | | | | | | | | | | | | * exceptions.cc (sigpacket::process): Eliminate return after call to reinstated noreturn function. (signal_exit): Allow function to exit when a captive process has been terminated. * pinfo.cc (pinfo::exit): Enter exit_lock here. Once again exit here under control of exit_lock. * sigproc.cc (sig_send): Don't wait for completion if process is exiting. Remove special __SIGEXIT accommodations. (wait_sig): Just exit the thread when a __SIGEXIT has been detected. Don't exit the process.
* * net.cc (cygwin_gethostbyname): Remove debugging cruft.Christopher Faylor2005-09-232-2/+4
|
* 2005-09-23 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe2005-09-232-0/+11
| | | | | * lib/ddk/newdev.def: Added. Thanks to: Stephan Meyer <ste_meyer at users dot sourceforge dot net>
* * pinfo.cc (pinfo::exit): Call ExitProcess if called from signal thread.Christopher Faylor2005-09-232-1/+9
|
* 2005-09-23 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe2005-09-232-0/+11
| | | | | | * include/commdlg.h (OPENFILENAME): Added WINNT >= 0x0500 component. Thanks to: Gennady Feldman <gena01 at users dot sourceforge dot net>
* * tlsoffsets.h: Regenerate.Christopher Faylor2005-09-232-63/+60
|
* * pinfo.cc (pinfo::exit): Eliminate use of _my_tls.thread_handle.Christopher Faylor2005-09-232-10/+6
|
* * enable.m4: New file.Tom Tromey2005-09-233-0/+64
| | | | * tls.m4: New file.
* 2005-09-23 James E Wilson <wilson@specifix.com>Jeff Johnston2005-09-2317-48/+73
| | | | | | | | | * mips/array.ld, mips/cfe.ld, mips/ddb-kseg0.ld, mips/ddb.ld, mips/dve.ld, mips/idt.ld, mips/idt32.ld, mips/idt64.ld, mips/idtecoff.ld, mips/jmr3904app-java.ld, mips/jmr3904app.ld, jmr3904dram-java.ld, mips/jmr3904dram.ld, mips/lsi.ld, mips/nullmon.ld, mips/pmon.ld: Change x* to x.* in existing linkonce lines. Add support for .gnu.linkonce.b.*.
* * cygtls.h (struct _cygtls::thread_handle): Remove/revert.Christopher Faylor2005-09-234-17/+23
| | | | | | | | * sigproc.h (struct sipacket::thread_handle): Put thread_handle here. * sigproc.cc (sigproc_terminate): Move setting of thread_handle... (sig_send): ...to here. Put it in packet being sent. Only close pack.wakeup when we're waiting for completion. (wait_sig): Use thread_handle directly from received packet.
* 2005-09-23 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe2005-09-232-0/+6
| | | | | * lib/shell32.def (SHILCreateFromPath): Add stub. Thanks to: Michael Jung <mjung at iss dot tu-darmstadt dot de>
* * tlsoffsets.h: Regenerate.Christopher Faylor2005-09-232-59/+64
|
* * cygheap.cc (cygheap_fixup_in_child): It's not just for exec.Christopher Faylor2005-09-238-25/+47
| | | | | | | | | | | | | | * cygtls.h (struct _cygtls::thread_handle): New field. * dcrt0.cc (exit_lock): Remove declaration. * winsup.h (exit_lock): Add declaration. * exceptions.cc (sigpacket::process): Properly return after signal_exit. * pinfo.cc (pinfo::exit): Only exit the process if _my_tls.thread_handle has not been filled out -- which should be an impossible event. * sigproc.cc (sigproc_terminate): Fillout _my_tls.thread_handle to provide something for wait_sig to wait for. Use the siginfo_t version of sig_send and fill out the tls argument with _my_tls. (wait_sig): Wait for the thread specified in pack.tls or (for now) complain bitterly if it doesn't exit.
* * pinfo.cc (set_myself): Call strace.hello unconditionally when DEBUGGING.Christopher Faylor2005-09-222-1/+15
| | | | | (pinfo::init): Sleep and issue debugging output before looping when a PID_EXITED is found.
* * fhandler_disk_file.cc (fhandler_base::fstat_helper): Fix copy/pasteCorinna Vinschen2005-09-222-1/+6
| | | | bug.
* * strace.cc (strace::vsprntf): Avoid accessing myself->pid if !myself.Christopher Faylor2005-09-222-1/+5
|
* * include/sys/strace.h (_STRACE_ON): Remove semicolon from definition.Christopher Faylor2005-09-222-2/+7
| | | | (_STRACE_OFF): Remove semicolon from definition.
* * fhandler.h (fhandler_base::fstat_helper): Declare with additionalCorinna Vinschen2005-09-224-31/+75
| | | | | | | | | | | | | | | | file attributes argument. * fhandler_disk_file.cc (fhandler_base::fstat_by_handle): Use file attributes evaluated from NtQueryFileInformation or FileInformationByHandle in call to fstat_helper. Set pc.fileattr from just evaluated file attributes here. (fhandler_base::fstat_by_name): Use file attributes evaluated from FindFileFirst or default attribute in call to fstat_helper. Set pc.fileattr from just evaluated file attributes here. (fhandler_base::fstat_helper): Use file attributes given as argument, not file attributes stored in this fhandler, since this information is potentially wrong. Add comment to explain this. * path.h (has_attribute): New global inline function. (path_conv::set_attributes): New method to change fileattr.
* Fix typo.Corinna Vinschen2005-09-211-8/+8
|
* Align error message handling to mkpasswd's error messages throughout.Corinna Vinschen2005-09-213-63/+145
| | | | | | | | | | | | | | | | * mkgroup.c (print_win_error): Create macro calling ... (_print_win_error): ... this function created from former print_win_error. Move up in source. (PDOMAIN_CONTROLLER_INFOW): Define return type of DcGetDcNameW. (dsgetdcname): New function pointer for DcGetDcNameW. (load_netapi): Get DcGetDcNameW address. (main): If DcGetDcNameW is available, use it. * mkpasswd.c (PDOMAIN_CONTROLLER_INFOW): Define return type of DcGetDcNameW. (dsgetdcname): New function pointer for DcGetDcNameW. (load_netapi): Get DcGetDcNameW address. (main): If DcGetDcNameW is available, use it. Rename local variable domain_name_specified to domain_specified as in mkgroup.c.
* * cygthread.cc (cygthread::operator new): Just use getenv() to look forChristopher Faylor2005-09-212-4/+9
| | | | | CYGWIN_FREERANGE_NOCHECK since the Windows environment may be truncated by being previously execed.
* 2005-09-21 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe2005-09-213-1/+15
| | | | | | | | | * include/winbase.h (RegisterWaitForSingleObject, RegisterWaitForSingleObjectEx): Define. * lib/kernel32.def (RegisterWaitForSingleObjectEx@20): Define. (RegisterWaitForSingleObject@16): Changed to RegisterWaitForSingleObject@24. Thanks to: Brandon Sneed <nivenh at users dot sourceforge dot net>
* 2005-09-20 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2005-09-202-11/+250
| | | | | * libc/sys/linux/include/stdint.h: Update to match functionality of generic newlib stdint.h.
* 2005-09-20 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2005-09-203-30/+52
| | | | | | | | | | * libc/include/stdint.h (__EXP): Rename to __STDINT_EXP and do not #undef the macro after it is used. Fix typos. Also change 64-bit constants to use the __have_long64 and __have_longlong64 flags to determine if long or long long constants should be used. * libc/include/inttypes.h: Include stddef.h to get wchar_t type defined.
* 2005-09-20 Shaun Jackman <sjackman@gmail.com>Jeff Johnston2005-09-202-12/+17
| | | | | * libc/include/stdint.h: Fix typo in names of LEAST macros.
* 2005-09-20 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2005-09-202-0/+5
| | | | | * libc/sys/rtems/include/inttypes.h: Moved to... * libc/include/inttypes.h: ...here.
* * spawn.cc (av::fixup): Just blindly run any file if it has a .bat or .cmdChristopher Faylor2005-09-202-1/+7
| | | | extension.
* 2005-09-19 David Edelsohn <edelsohn@gnu.org>David Edelsohn2005-09-203-62/+92
| | | | | | | | | | | | * configure.in (powerpc-*-aix*): Add target-libssp to noconfigdirs. (rs6000-*-aix*): Same. * configure: Regenerate. 2005-09-14 Francois-Xavier Coudert <coudert@clipper.ens.fr> * configure.in: Recognize f95 in the --enable-languages option, and substitute it for fortran, issuing a warning. * configure: Regenerate.
* * dcrt0.cc (do_exit): Only call sigproc_terminate from one location --Christopher Faylor2005-09-206-21/+45
| | | | | | | | | | | | | | | | | | pinfo::exit. * pinfo.cc (pinfo::exit): Move sigproc_terminate later so that signals can be processed while waiting for hExeced child. (pinfo::maybe_set_exit_code_from_windows): Set exit code from sigExeced if it is non-zero. Set exit_state to ES_EXEC_EXIT prior to waiting for captive process exit code. * exceptions.cc (sigExeced): New global variable. (signal_exit): Remove noreturn attribute from declaration. (signal_exit): Just terminate captive process and return if hExeced on the theory that the exit will be subsequently handled in the main thread. * sigproc.cc (sigproc_terminate): Eliminate test for ES_SIGPROCTERMINATE and use ES_FINAL instead. (sig_send): Use no_signals_available instead of duplicate test. * winsup.h (ES_EXEC_EXIT): New enum. (ES_SIGPROCTERMINATE): Delete.
* 2005-09-19 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2005-09-192-0/+5
| | | | | * libc/sys/rtems/include/stdint.h: Moved to... * libc/include/stdint.h: ...here.
* white space changes to force new snapshotChristopher Faylor2005-09-191-3/+3
|