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
2012-12-21* DevNotes: Add entry cgf-000018.Christopher Faylor
* init.cc (dll_entry): Grab process lock before exiting to ensure that thread doesn't exit before parent if parent is exiting. * _cygtls.cc (_cygtls::call2): Revert previous 2012-12-21 change. * miscfuncs.cc (thread_wrapper): Ditto. * thread.cc (pthread::exit): Ditto. * sigproc.cc (exit_thread): Ditto. (wait_sig): Ditto. * sync.cc (muto::release): Ditto. * sync.h (muto::release): Ditto. * sigproc.h (__SIGTHREADEXIT): Delete enum. (exit_thread): Delete declaration.
2012-12-21* DevNotes: Add entry cgf-000017.Christopher Faylor
* _cygtls.cc (_cygtls::call2): Use new exit_thread function in place of ExitThread. * miscfuncs.cc (thread_wrapper): Ditto. * thread.cc (pthread::exit): Ditto. (pthread_mutex::unlock): Set tid to NULL rather than 0. (pthread_spinlock::unlock): Ditto. * pinfo.cc (commune_process): Actually call lock_process constructor. * sigproc.cc (exit_thread): New function. (wait_sig): Handle __SIGTHREADEXIT case. Don't just block rather than returning from this function. * sigproc.h (__SIGTHREADEXIT): New enum. (exit_thread): Declare. * sync.cc (muto::release): Accept a tls command-line argument. * sync.h (muto::release): Accept a tls command-line parameter. Default to &_my_tls.
2012-12-20 * dcrt0.cc (build_argv): Allow quoted filenames in @ expression.Corinna Vinschen
2012-12-20* select.h (select_stuff::select_stuff): Make default constructor always zeroChristopher Faylor
everything while constructor with int arg just zeroes next. * select.cc (select_stuff::test_and_set): Revert to using default constructor.
2012-12-19* select.cc (select_stuff::wait): Add windows error number to error message.Christopher Faylor
2012-12-18* select.cc (select_stuff::test_and_set): Remove workaround and use properChristopher Faylor
constructor.
2012-12-18* select.cc (select_stuff::test_and_set): Work around problem of new() notChristopher Faylor
returning zeroed memory.
2012-12-14 * fhandler.cc (fhandler_base::write): Don't attempt to sparsifyCorinna Vinschen
an already sparse file. Drop check for FILE_SUPPORTS_SPARSE_FILES flag. Explicitely set FILE_ATTRIBUTE_SPARSE_FILE attribute in cached attributes. (fhandler_base::lseek): Only set did_lseek if sparseness is supported. * fhandler_disk_file.cc (fhandler_disk_file::ftruncate): Don't attempt to sparsify an already sparse file. Explicitely set FILE_ATTRIBUTE_SPARSE_FILE attribute in cached attributes. * mount.cc (oopt): Add "sparse" flag. (fillout_mntent): Ditto. * path.h (enum path_types): Add PATH_SPARSE. (path_conv::support_sparse): New method. (path_conv::fs_flags): Constify. (path_conv::fs_name_len): Ditto. include/sys/mount.h: Replace unused MOUNT_MIXED flag with MOUNT_SPARSE.
2012-12-11* sigproc.h (sig_send): Accept tid as argument #3. Default to NULL.Christopher Faylor
* sigproc.cc (sig_send): Ditto. Pass tid to other sig_send. (sigpending): Send current thread as arg #3.
2012-12-08* exceptions.cc (sigpacket::process): Reorganize to avoid use of tls beforeChristopher Faylor
initialization. * fhandler_fifo.cc (fhandler_fifo::arm): Avoid improper printing of integer as a string in debug output.
2012-12-07* sigproc.h (sigpacket): Remove parameter names from declarations.Christopher Faylor
(sigpacket::sigtls): Rename from 'tls'. * exceptions.cc (sigpacket::process): Define local tls variable and assign that to sigtls if appropriate. Clarify debugging output. * sigproc.cc (sig_send): Accommodate tls -> sigtls rename. (pending_signals::add): Ditto. (wait_sig): Ditto.
2012-12-07* cygtls.h (_cygtls::get_signal_arrived): Add parameter to make lock/unlockChristopher Faylor
conditional. * exceptions.cc (_cygtls::interrupt_setup): Don't get a lock when setting signal_arrived since we already have one. * gendef: Add some comments to make it easier to find functions.
2012-12-06 * include/cygwin/wait.h (WAIT_ANY): Define.Yaakov Selkowitz
(WAIT_MYPGRP): Define.
2012-12-05 * child_info.h (class child_info_spawn): Drop unused member lock.Corinna Vinschen
(CURR_CHILD_INFO_MAGIC): Update. * sigproc.cc (child_info_spawn::child_info_spawn): Drop setting lock.
2012-12-05* cygtls.h (_cygtls::will_wait_for_signal): Rename from 'signal_waiting' toChristopher Faylor
something more expressive. Reflect rename throughout. (_cygtls::get_signal_arrived): Rename from create_signal_arrived. Move lock here. (_cygtls::set_signal_arrived): Use get_signal_arrived. * exceptions.cc (_cygtls::interrupt_setup): Use get_signal_arrived. * tlsoffsets.h: Regenerate.
2012-11-30* spawn.cc (child_info_spawn::worker): Make detection of '/c' case insensitiveChristopher Faylor
when looking for cmd.exe command line.
2012-11-26ChangeLog:Christopher Faylor
2012-11-26 Christopher Faylor <me.cygwin2012@cgf.cx> * configure.ac: Rename from configure.in. * configure.in: Delete. * configure: Regenerate. cygserver/ChangeLog: 2012-11-26 Christopher Faylor <me.cygwin2012@cgf.cx> * configure.ac: Rename from configure.in. * configure.in: Delete. * configure: Regenerate. cygwin/ChangeLog: 2012-11-26 Christopher Faylor <me.cygwin2012@cgf.cx> * configure.ac: Rename from configure.in. * configure.in: Delete. * configure: Regenerate. doc/ChangeLog: 2012-11-26 Christopher Faylor <me.cygwin2012@cgf.cx> * configure.ac: Rename from configure.in. * configure.in: Delete. * configure: Regenerate. lsaauth/ChangeLog: 2012-11-26 Christopher Faylor <me.cygwin2012@cgf.cx> * configure.ac: Rename from configure.in. * configure.in: Delete. * configure: Regenerate. testsuite/ChangeLog: 2012-11-26 Christopher Faylor <me.cygwin2012@cgf.cx> * configure.ac: Rename from configure.in. * configure.in: Delete. * configure: Regenerate. utils/ChangeLog: 2012-11-26 Christopher Faylor <me.cygwin2012@cgf.cx> * configure.ac: Rename from configure.in. * configure.in: Delete. * configure: Regenerate.
2012-11-26 * fhandler_registry.cc: Drop Mingw.org considerations.Corinna Vinschen
* fhandler_serial.cc: Ditto. * fhandler_socket.cc: Ditto. * fhandler_tape.cc: Ditto. * fhandler_tty.cc: Ditto. * net.cc: Ditto. * ntdll.h: Ditto. * sched.cc: Ditto. * sec_helper.cc: Ditto.
2012-11-23* configure.in: Remove unneeded ALLOC substitution.Christopher Faylor
* configure: Regenerate. * aclocal.m4: Ditto.
2012-11-23* configure.in: Add previously-missed AC_NO_EXECUTABLES.Christopher Faylor
* configure: Regenerate. * aclocal.m4: Ditto.
2012-11-23cygwin/ChangeLog:Christopher Faylor
2012-11-23 Christopher Faylor <me.cygwin2012@cgf.cx> * Makefile.in: Use explicit path to mkdir. lsaauth/ChangeLog: 2012-11-23 Christopher Faylor <me.cygwin2012@cgf.cx> * Makefile.in: Use /bin/mkdir to make directories. testsuite/ChangeLog: 2012-11-23 Christopher Faylor <me.cygwin2012@cgf.cx> * Makefile.in: Remove old Makefile.common'isms. Don't rely on in-build tools.
2012-11-23ChangeLog:Christopher Faylor
2012-11-12 Christopher Faylor <me.cygwin2012@cgf.cx> * Makefile.common: Revamp for new configury. Add default compilation targets, include .E processing. Add magic for allowing "CFLAGS" to control optimization options in "CXXFLAGS". * configure.cygwin: New include for Cygwin configure.in's. * acinclude.m4: Delete old definitions. Implement AC_WINDOWS_HEADERS, AC_WINDOWS_LIBS, AC_CYGWIN_INCLUDES, target_builddir, winsup_srcdir. * aclocal.m4: Regenerate. * autogen.sh: New file. * ccwrap: New script. * c++wrap: New script. * config.guess: New script. * config.sub: New script. * configure: Regenerate. * configure.in: Eliminate LIB_AC_PROG_* calls in favor of standard. Delete ancient target test. * install-sh: New script. cygserver/ChangeLog: 2012-11-12 Christopher Faylor <me.cygwin2012@cgf.cx> * Makefile.in: Revamp for new configury. * configure.in: Revamp for new configury. * aclocal.m4: Regenerate. * configure: Ditto. * autogen.sh: New script. cygwin/ChangeLog: 2012-11-22 Christopher Faylor <me.cygwin2012@cgf.cx> * select.cc (select): Don't return -1 when we've timed out after looping. 2012-11-22 Christopher Faylor <me.cygwin2012@cgf.cx> * Makefile.in: Revamp for new configury. (datarootdir): Add variable setting. (winver_stamp): Accommodate changes to mkvers.sh setting. (libc.a): Fix race when libm.a might not have been built yet. * configure.in: Revamp for new configury. * aclocal.m4: Regenerate. * configure: Ditto. * autogen.sh: New script. * mkvers.sh: Find include directives via CFLAGS and friends rather than assuming that w32api lives nearby. utils/ChangeLog: 2012-11-12 Christopher Faylor <me.cygwin2012@cgf.cx> * aclocal.m4: Regenerate. * configure: Ditto. * autogen.sh: New script. * configure.in: Revamp for new configury. * Makefile.in: Revamp for new configury. Rename ALL_* to just *. Always use "VERBOSE" setting. (MINGW_CXX): Don't include CFLAGS in definition. (all): Define target first, before everything else so that it is the default. (ps.exe): Don't add useless -lcygwin. (ldh.exe): For consistency, add to existing MINGW_LDFLAGS rather than redefining them. (cygcheck.exe): Always include -lz for MINGW_LDFLAGS. Don't try to figure out where to find it. (dumper.exe): Simplify check. Assume libraries are installed rather than trying to retrieve from source tree. (install): Just use /bin/mkdir to create directories. (Makefile): Regenerate when standard dependencies change. * dump_setup.cc: Always include zlib.h. Remove accommodations for it possibly not existing. * parse_pe.cc: Add define which allows building with installed binutils package. * dumper.cc: Ditto.
2012-11-22* termios.cc (cfsetspeed): New function.Yaakov Selkowitz
* cygwin.din (cfsetspeed): Export. * posix.sgml (std-bsd): Add cfsetspeed. * include/sys/termios.h (cfsetspeed): Declare. * include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
2012-11-16 * include/mntent.h: Only include paths.h when building for Cygwin.Corinna Vinschen
Add comment to explain why.
2012-11-11 * winbase.h: Semi-reinstantiate to workaround lack inline assemblerCorinna Vinschen
implementation of InterlockedCompareExchange for i686 in Mingw64 headers. * pinfo.cc (pinfo::init): Remove unused variable mapaddr.
2012-11-08 * sigproc.cc (proc_subproc): Delete unused variable child.Corinna Vinschen
2012-11-08* fhandler_termios.cc (fhandler_termios::line_edit): Don't do special characterChristopher Faylor
handling when stopped by CTRL-S. * fhandler_tty.cc (bytes_available): Add arguments to debug_only_printf call. * sigproc.cc (proc_subproc): Simplify some if logic.
2012-11-05 * include/sys/termios.h (CBRK): Define as alias of CEOL.Yaakov Selkowitz
(CREPRINT): Define as alias of CRPRNT. (CDISCARD): Define as alias of CFLUSH. (TTYDEF_*): Define.
2012-10-31 * include/sys/param.h: Include stddef.h to define NULL.Corinna Vinschen
2012-10-31 * fhandler_disk_file.cc (fhandler_disk_file::rewinddir): Fix usingCorinna Vinschen
wrong value in condition.
2012-10-30 * include/sys/cygwin.h: Add missing defines for CW_ALLOC_DRIVE_MAP,Corinna Vinschen
CW_MAP_DRIVE_MAP and CW_FREE_DRIVE_MAP.
2012-10-27 * dcrt0.cc (quoted): Renamed strechr to strchrnul.Kai Tietz
* environ.cc (environ_init): Likewise. * sec_acl.cc (aclfromtext32): Likewise. * sec_auth.cc (extract_nt_dom_user): Likewise. * uinfo.cc (pwdgrp::next_str): Likewise. * string.h (strechr): Likewise.
2012-10-27 * string.h (strechr): Replace assembler byKai Tietz
C code. (ascii_strcasematch): Likewise. (ascii_strncasematch): Likwise.
2012-10-26 * dir.cc (closedir): Fix syscall_printf.Corinna Vinschen
2012-10-26 * include/cygwin/signal.h (sigset_t): Define here.Corinna Vinschen
2012-10-24 * Makefile.in (DLL_IMPORTS): Use system import libraries forYaakov Selkowitz
kernel32 and ntdll instead of from in-tree w32api. (cygwin0.dll): Remove rule dependency on DLL_IMPORTS, as they are no longer built in-tree.
2012-10-23 * thread.h (List_insert): Cast first parameter inCorinna Vinschen
InterlockedCompareExchangePointer call to avoid compiler warnings. (List_remove): Ditto.
2012-10-22 * winbase.h: Remove.Corinna Vinschen
2012-10-22 * child_info.h (CURR_CHILD_INFO_MAGIC): Update.Corinna Vinschen
2012-10-21 * include/cygwin/version.h (CYGWIN_VERSION_DLL_MINOR): Bump to 18.Corinna Vinschen
2012-10-16 * fhandler_floppy.cc (fhandler_dev_floppy::lseek): Remove lloffset.Corinna Vinschen
Use offset directly. Add shortcut for lseek(fd, 0, SEEK_CUR) case. (fhandler_dev_floppy::ioctl): Drop wrong RDSETBLK case. * fhandler_raw.cc (fhandler_dev_raw::ioctl): Revamp RDSETBLK code.
2012-10-15* fhandler_tty.cc (fhandler_pty_slave::write): Fix potential exit from loopChristopher Faylor
with write mutex held. Delete redundant mutex release. Clear tty error once we've grabbed it.
2012-10-15 * fhandler_raw.cc (fhandler_dev_raw::fhandler_dev_raw): Drop gratuitousCorinna Vinschen
initializing from previous patch.
2012-10-15 * fhandler_floppy.cc (fhandler_dev_floppy::open): Fix comment.Corinna Vinschen
2012-10-15* fhandler_tty.cc (fhandler_pty_slave::write): DWORD -> BOOL.Christopher Faylor
2012-10-13 * fhandler.h (class fhandler_dev_raw): Add members devbufalloc andCorinna Vinschen
devbufalign. (class fhandler_dev_floppy): Remove member bytes_per_sector; * fhandler_floppy.cc (bytes_per_sector): Define as devbufalign. (fhandler_dev_floppy::open): Set devbufalign to a multiple of the sector size and handle devbuf allocation and alignment in !O_DIRECT case here. Change comment accordingly. Call FSCTL_ALLOW_EXTENDED_DASD_IO for partitions as well. (fhandler_dev_floppy::raw_write): Fix comment. Rewrite and fix writing behaviour when application uses read and lseek. (fhandler_dev_floppy::lseek): Use rounddown macro. Call SetFilePointerEx rather than the old SetFilePointer. (fhandler_dev_floppy::ioctl): Reformat switch. Call IOCTL_DISK_UPDATE_PROPERTIES rather than IOCTL_DISK_UPDATE_DRIVE_SIZE in BLKRRPART case. Support BLKIOMIN, BLKIOOPT, BLKPBSZGET and BLKALIGNOFF. * fhandler_raw.cc (fhandler_dev_raw::fhandler_dev_raw): Initialize all devbuf-related members. (fhandler_dev_raw::~fhandler_dev_raw): Delete devbufalloc rather than devbuf. (fhandler_dev_raw::open): Drop allocating devbuf. (fhandler_dev_raw::dup): Allocate devbufalloc and set devbuf to support new sector-aligned devbuf handling. (fhandler_dev_raw::fixup_after_exec): Ditto. * fhandler_tape.cc (fhandler_dev_tape::open): Ditto, set devbufalign to 1. * include/cygwin/fs.h (BLKIOMIN): Define. (BLKIOOPT): Define. (BLKALIGNOFF): Define. (BLKPBSZGET): Define.
2012-10-12 * fhandler_raw.cc (fhandler_dev_raw::open): Allow O_EXCL flag, as onCorinna Vinschen
Linux.
2012-10-12* fhandler_termios.cc (fhandler_termios::line_edit): Don't manipulateChristopher Faylor
output_mutex on CTRL-S/CTRL-Q to avoid a deadlock. * fhandler_tty.cc (fhandler_pty_slave::write): Loop when output_stopped is detected before acquiring output_mutex. Acquire output_mutex in the loop for each write. * tty.h: Remove some obsolete defines. (tty_min::output_stopped): Make 'bool'.
2012-10-10 * include/cygwin/in.h (struct in_addr): Guard with s_addr to avoidCorinna Vinschen
potential collision with Win32 headers.
2012-10-10* child_info.h (child_info_spawn::has_execed): Remove unneeded synchronization.Christopher Faylor