Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2005-09-30 * fhandler_disk_file.cc (fhandler_base::fstat_by_handle): Also useCorinna Vinschen
attributes stored in this->pc if call to GetFileInformationByHandle failed.
2005-09-30 * fhandler_disk_file.cc (fhandler_base::fstat_by_handle): Only writeCorinna Vinschen
attributes if call to GetFileInformationByHandle was successful.
2005-09-30* fork.cc (frok::parent): Simplify error messages. Don't issue an error whenChristopher Faylor
child.remember fails. (fork): When appropriate, build up an error message from grouped.error.
2005-09-29 * fhandler_floppy.cc (fhandler_dev_floppy::get_drive_info): Don't callCorinna Vinschen
EX ioctls on floppy drives.
2005-09-29 * dir.cc (mkdir): Check for trailing /. or /.. component.Corinna Vinschen
(rmdir): Ditto. * path.cc (has_dot_last_component): New function. * path.h (has_dot_last_component): Add declaration.
2005-09-29 * crt0.cc: Remove PPC considerations.Corinna Vinschen
(WinMainCRTStartup): Add symbol as alias to mainCRTStartup.
2005-09-29Index: ChangeLogGeoffrey Keating
2005-09-28 Geoffrey Keating <geoffk@apple.com> * Makefile.tpl (BASE_TARGET_EXPORTS): Add LIPO, STRIP. (LIPO_FOR_TARGET): New. (CONFIGURED_LIPO_FOR_TARGET): New. (USUAL_LIPO_FOR_TARGET): New. (STRIP_FOR_TARGET): New. (CONFIGURED_STRIP_FOR_TARGET): New. (USUAL_STRIP_FOR_TARGET): New. * Makefile.def (flags_to_pass): Add LIPO_FOR_TARGET and STRIP_FOR_TARGET. * configure.in: Set LIPO_FOR_TARGET, STRIP_FOR_TARGET, CONFIGURED_LIPO_FOR_TARGET, CONFIGURED_STRIP_FOR_TARGET. * Makefile.in: Regenerate. * configure.in: Regenerate. Index: gcc/ChangeLog 2005-09-28 Geoffrey Keating <geoffk@apple.com> * Makefile.in: Export LIPO_FOR_TARGET, STRIP_FOR_TARGET. (stage1-start): Delete old libgcc and libunwind before moving anything into the stage directory. (stage2-start): Likewise. (stage3-start): Likewise. (stage4-start): Likewise. (stageprofile-start): Likewise. (stagefeedback-start): Likewise. * config.gcc (*-*-darwin*): Automatically use CPU-specific darwin.h header in tm_file and CPU-specific t-darwin in tmake_file. (i[34567]86-*-darwin*): Don't change tm_file. (powerpc-*-darwin*): Don't change tm_file or tmake_file. * config/darwin.h (REAL_LIBGCC_SPEC): Rewrite to use proper libgcc shared library stub for target OS version. * config/t-slibgcc-darwin (SHLIB_SOLINK): Delete. (SHLIB_LINK): Don't make SHLIB_SOLINK. (SHLIB_INSTALL): Don't install SHLIB_SOLINK. (libgcc_s.%.dylib): New. (LIBGCC): Define. (install-darwin-libgcc-stubs): New. (INSTALL_LIBGCC): New append. * config/i386/darwin-libgcc.10.4.ver: New. * config/i386/darwin-libgcc.10.5.ver: New. * config/i386/t-darwin: New. * config/rs6000/darwin-libgcc.10.4.ver: New. * config/rs6000/darwin-libgcc.10.5.ver: New. * config/rs6000/darwin.h (REAL_LIBGCC_SPEC): Delete. * config/rs6000/t-darwin (SHLIB_VERPFX): Define.
2005-09-29Fix typo.Christopher Faylor
2005-09-29Change name from commune_recv to commune_process throughout. Change name fromChristopher Faylor
commune_send to commune_request throughout. * pinfo.h (PICOM_EXTRASTR): New flag. (PICOM_FIFO): Define with new flag. (_pinfo::hello_pid): Delete. (_pinfo::tothem): Delete. (_pinfo::fromthem): Delete. (_pinfo::commune_process): Rename from commune_recv. Add a siginfo_t argument to declaration. (_pinfo::commune_request): Rename from commune_send. Change DWORD to __uint32_t in declaration. * pinfo.cc (_pinfo::commune_process): Rename from commune_recv. Add siginfo_t argument. Use information from argument rather than reading from another pipe. Synchronize with other process's commune event. (_pinfo::commune_request): Rename from commune_send. Change DWORD to __uint32 in argument. Fill out information in new siginfo_t element and rely on extended operation of sig_send rather than trying to deal with synchronization issues here. Use process handle and read pipe information filled out by sig_send to gather information from the other process. * sigproc.cc (sig_send): Take special action if "communing" to ensure synchronization with the other process and to return information about the other process to the caller. (talktome): Accept a siginfo_t and handle arguments. Read additional information from the signal pipe when _si_commune._si_code has the PICOM_EXTRASTR flag set. (wait_sig): Pass the transmitted siginfo_t struct and the pipe handle to talktome. Close pipe read handle as soon as possible after we detect that we're exiting.
2005-09-29* hookapi.cc (hook_or_detect_cygwin): Correct inverted test for whether toChristopher Faylor
allocate a buffer by always allocating a buffer.
2005-09-28 * fhandler.h (class fhandler_dev_raw): Delete current_position andCorinna Vinschen
eof_detected status flag. Delete is_eom and is_eof methods. Move drive_size, bytes_per_sector, eom_detected status flag, as well as the methods read_file, write_file, raw_read and raw_write to ... (class fhandler_dev_floppy): ... here. Remove is_eom and is_eof methods. Add dup method. * fhandler_floppy.cc (IS_EOM): New macro. (fhandler_dev_floppy::is_eom): Remove. (fhandler_dev_floppy::is_eof): Remove. (fhandler_dev_floppy::fhandler_dev_floppy): Initialize status flags. (fhandler_dev_floppy::get_drive_info): Only call EX functions on systems supporting them and stop suffering strange delays. (fhandler_dev_floppy::read_file): Move here, drop setting current_position. (fhandler_dev_floppy::write_file): Move here, drop setting current_position. (fhandler_dev_floppy::open): Rearrange comment. (fhandler_dev_floppy::dup): New method. (fhandler_dev_floppy::get_current_position): New inline method. Use instead of former current_position were appropriate. (fhandler_dev_floppy::raw_read): Move here. Drop EOF handling. (fhandler_dev_floppy::raw_write): Move here. Drop EOF handling. (fhandler_dev_floppy::lseek): Remove useless conditions. Convert sector_aligned_offset to LARGE_INTEGER to improve SetFilePointer call. (fhandler_dev_floppy::ioctl): Move blocksize check in RDSETBLK case to here. * fhandler_raw.cc (fhandler_dev_raw::is_eom): Remove. (fhandler_dev_raw::is_eof): Remove. (fhandler_dev_raw::write_file): Remove. (fhandler_dev_raw::read_file): Remove. (fhandler_dev_raw::raw_read): Remove. (fhandler_dev_raw::raw_write): Remove. (fhandler_dev_raw::dup): Drop copying removed members. (fhandler_dev_raw::ioctl): Drop blocksize testing. * wincap.h: Implement has_disk_ex_ioctls throughout. * wincap.cc: Ditto. (wincap_vista): Preliminary wincaps for Windows Vista/Longhorn. (wincapc::init): Add Vista/Longhorn handling.
2005-09-28 Revert erroneous checkin.Corinna Vinschen
2005-09-28 * fhandler.h (class fhandler_dev_raw): Delete current_position andCorinna Vinschen
eof_detected status flag. Delete is_eom and is_eof methods. Move drive_size, bytes_per_sector, eom_detected status flag, as well as the methods read_file, write_file, raw_read and raw_write to ... (class fhandler_dev_floppy): ... here. Remove is_eom and is_eof methods. Add dup method. * fhandler_floppy.cc (IS_EOM): New macro. (fhandler_dev_floppy::is_eom): Remove. (fhandler_dev_floppy::is_eof): Remove. (fhandler_dev_floppy::fhandler_dev_floppy): Initialize status flags. (fhandler_dev_floppy::get_drive_info): Only call EX functions on systems supporting them and stop suffering strange delays. (fhandler_dev_floppy::read_file): Move here, drop setting current_position. (fhandler_dev_floppy::write_file): Move here, drop setting current_position. (fhandler_dev_floppy::open): Rearrange comment. (fhandler_dev_floppy::dup): New method. (fhandler_dev_floppy::get_current_position): New inline method. Use instead of former current_position were appropriate. (fhandler_dev_floppy::raw_read): Move here. Drop EOF handling. (fhandler_dev_floppy::raw_write): Move here. Drop EOF handling. (fhandler_dev_floppy::lseek): Remove useless conditions. Convert sector_aligned_offset to LARGE_INTEGER to improve SetFilePointer call. (fhandler_dev_floppy::ioctl): Move blocksize check in RDSETBLK case to here. * fhandler_raw.cc (fhandler_dev_raw::is_eom): Remove. (fhandler_dev_raw::is_eof): Remove. (fhandler_dev_raw::write_file): Remove. (fhandler_dev_raw::read_file): Remove. (fhandler_dev_raw::raw_read): Remove. (fhandler_dev_raw::raw_write): Remove. (fhandler_dev_raw::dup): Drop copying removed members. (fhandler_dev_raw::ioctl): Drop blocksize testing. * wincap.h: Implement has_disk_ex_ioctls throughout. * wincap.cc: Ditto. (wincap_vista): Preliminary wincaps for Windows Vista/Longhorn. (wincapc::init): Add Vista/Longhorn handling.
2005-09-28* dcrt0.cc (getstack): New function.Christopher Faylor
(alloc_stack): Use tls stuff for stack info rather than calling VirtualQuery. (dll_crt0_0): Initialize _impure_ptr stuff much earlier. Move init_console_handler here. * fork.cc (class frok): New class renamed from local fork() struct. (stack_base): Change argument type. Use tls stuff to determine stack info rather than calling VirtualQuery. (frok::child): Rename from fork_child. Eliminate now unneeded arguments. (frok::parent): Rename from fork_parent and ditto. Set error and errno as appropriate. Fixup impersonation in cleanup, if needed. Try harder to set errno appropriately. (fork): Define "grouped" as a frok type. Deal with errors from fork_parent here. * init.cc (dll_entry): Remove init_console_handler call.
2005-09-28* pinfo.cc (_pinfo::dup_proc_pipe): Ignore error if the child process has justChristopher Faylor
gone away.
2005-09-28* init.cc (prime_threads): Make this static, as it should be.Christopher Faylor
(dll_entry): Apply cosmetic changes to define closer to the way MSDN suggests.
2005-09-282005-09-27 Ralf Corsepius <ralf.corsepius@rtems.org>Jeff Johnston
* libc/include/stdint.h: Correct __STDINT_EXP macro incorrectly handling GCC >= 4.
2005-09-28 * pthread.cc (mangle_sem_name): Use cygheap->shared_prefix insteadCorinna Vinschen
of fiddling with wincap.has_terminal_services manually.
2005-09-27 * cygheap.cc (cygheap_init): Add GLOBAL_PRIV to hProcToken explicitelyCorinna Vinschen
since hProcImpToken isn't initialized here. * shared.cc (open_shared): Always print mapname instead of name in debug output.
2005-09-27* strace.cc (strace::vsprntf): Avoid printing a zero pid.Christopher Faylor
2005-09-27 * init.cc (dll_entry): Call IsWow64Process with GetCurrentProcessCorinna Vinschen
as process handle since hMainProc isn't initialized here.
2005-09-27 * fhandler_floppy.cc (fhandler_dev_floppy::get_drive_info): AlwaysCorinna Vinschen
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.
2005-09-27 * libiberty.h (expandargv): New function.Mark Mitchell
* argv.c (safe-ctype.h): Include it. (ISBLANK): Remove. (stdio.h): Include. (buildargv): Use ISSPACE instead of ISBLANK. (expandargv): New function. * Makefile.in: Regenerated.
2005-09-26 * errno.cc (errmap): Map ERROR_SEEK and ERROR_SECTOR_NOT_FOUND.Corinna Vinschen
2005-09-26* exceptions.cc (_cygtls::call_signal_handler): Minor cleanup.Christopher Faylor
2005-09-26 * fhandler.h (class fhandler_dev_raw): Add drive information membersCorinna Vinschen
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.
2005-09-26* exceptions.cc (handle_exceptions): Just si_code to SI_KERNEL first and let itChristopher Faylor
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.
2005-09-26* pinfo.cc (proc_waiter): Properly fill out si_code as according to SUSv3.Christopher Faylor
* exceptions.cc (handle_exceptions): Properly fill out si_code as according to SUSv3.
2005-09-26* exceptions.cc (handle_exceptions): Properly fill out si_code.Christopher Faylor
2005-09-26* sigproc.cc (wait_sig): Cosmetic change.Christopher Faylor
* pinfo.cc (pinfo::exit): Don't explicitly remove myself since some other thread may still be using it.
2005-09-262005-09-25 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>Joshua Daniel Franklin
* 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.
2005-09-25 * hppa.h (pa_opcodes): Add new "fdc" and "fic" opcode entries.John David Anglin
2005-09-24* sigproc.cc (sigproc_terminate): More reversion of always-exit-from-sigthreadChristopher Faylor
change.
2005-09-24 * include/math.h (HUGE_VALF, HUGE_VALL, INFINITY, NAN)Danny Smith
Avoid raising FP exceptions.
2005-09-24* shared.cc (open_shared): Add crucial bit of debugging info.Christopher Faylor
2005-09-24Semi-reversion of always-exit-from-sigthread change of 2005-09-15.Christopher Faylor
* 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.
2005-09-24* net.cc (cygwin_gethostbyname): Remove debugging cruft.Christopher Faylor
2005-09-242005-09-23 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe
* lib/ddk/newdev.def: Added. Thanks to: Stephan Meyer <ste_meyer at users dot sourceforge dot net>
2005-09-24* pinfo.cc (pinfo::exit): Call ExitProcess if called from signal thread.Christopher Faylor
2005-09-232005-09-23 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe
* include/commdlg.h (OPENFILENAME): Added WINNT >= 0x0500 component. Thanks to: Gennady Feldman <gena01 at users dot sourceforge dot net>
2005-09-23* tlsoffsets.h: Regenerate.Christopher Faylor
2005-09-23* pinfo.cc (pinfo::exit): Eliminate use of _my_tls.thread_handle.Christopher Faylor
2005-09-23 * enable.m4: New file.Tom Tromey
* tls.m4: New file.
2005-09-232005-09-23 James E Wilson <wilson@specifix.com>Jeff Johnston
* 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.*.
2005-09-23* cygtls.h (struct _cygtls::thread_handle): Remove/revert.Christopher Faylor
* 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-232005-09-23 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe
* lib/shell32.def (SHILCreateFromPath): Add stub. Thanks to: Michael Jung <mjung at iss dot tu-darmstadt dot de>
2005-09-23* tlsoffsets.h: Regenerate.Christopher Faylor
2005-09-23* cygheap.cc (cygheap_fixup_in_child): It's not just for exec.Christopher Faylor
* 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.
2005-09-23* pinfo.cc (set_myself): Call strace.hello unconditionally when DEBUGGING.Christopher Faylor
(pinfo::init): Sleep and issue debugging output before looping when a PID_EXITED is found.
2005-09-22 * fhandler_disk_file.cc (fhandler_base::fstat_helper): Fix copy/pasteCorinna Vinschen
bug.