summaryrefslogtreecommitdiffstats
path: root/winsup
Commit message (Collapse)AuthorAgeFilesLines
* * heap.cc (RAISEHEAP_SIZE): New definition.Corinna Vinschen2013-08-312-6/+19
| | | | | | (user_heap_info::sbrk): Make failed commit an error condition again. Only reserve RAISEHEAP_SIZE sized chunk for further heap reservations by default.
* *** empty log message ***Corinna Vinschen2013-08-301-1/+3
|
* .Christopher Faylor2013-08-301-0/+4
|
* * cygheap.h (user_heap_info::sbrk): Declare new function.Christopher Faylor2013-08-304-70/+78
| | | | | | | | | | | | (user_heap_info::init): Ditto. * heap.cc (user_heap_info::init): Rename from heap_init(). Avoid explictly using cygheap->user_heap. (sbrk): Use user_heap_info method via cygheap->user_heap. (user_heap_info::sbrk): Renamed from sbrk(). Eliminate explicit use of cygheap->user_heap. Change some pointer arithmetic to use (char *) for consistency. * shared.cc (shared_info::initialize): Change heap_init call to cygheap->user_heap.init.
* *** empty log message ***Corinna Vinschen2013-08-301-0/+7
|
* * heap.cc (sbrk): Add a FIXME comment to VirtualFree call. Fix memoryCorinna Vinschen2013-08-301-18/+43
| | | | | | reservation and commit strategy when more memory is requested than available on the heap. Release newly reserved memory if commiting it fails. Add more comments to explain what we do.
* * fhandler_tape.cc (mtinfo_drive::open): Handle bus reset gracefullyCorinna Vinschen2013-08-302-1/+9
| | | | after opening the device.
* * sigproc.cc (pending_signals::add): Properly maintain linked list.Christopher Faylor2013-08-302-3/+9
| | | | (wait_sig): Use already calculated 'next' element when signal is blocked.
* * mtinfo.h (class mtinfo_part): Change type of block numbers to int64_t.Corinna Vinschen2013-08-263-29/+51
| | | | | | | | | | | | | | | | | | | (mtinfo_part::initialize): Ditto for nblock parameter in declaration. (class mtinfo_drive): Change type of block number to int64_t. Change all parameters indicating a block number to int64_t in method declarations. * fhandler_tape.cc (mtinfo_part::initialize): Ditto in definition. (mtinfo_drive::get_pos): Ditto. Replace low and high with a ULARGE_INTEGER and use it's components in call to GetTapePosition. Store full value in block. (mtinfo_drive::_set_pos): Change type of count parameter to int64_t. Change call to SetTapePosition accordingly. (mtinfo_drive::set_pos): Change type of count parameter to int64_t. Change local variables holding block numbers accordingly. (mtinfo_drive::get_status): Don't bail out early if fetching media parameters fails. (mtinfo_drive::ioctl): Add explicit cast matching receiving type in MTTELL and MTIOCPOS calls.
* * flock.cc (lockf_t::from_obj_name): Fix test for valid pid.Corinna Vinschen2013-08-232-1/+5
|
* * cygcheck.cc (package_grep): Accommodate arch-specific package layout.Christopher Faylor2013-08-232-2/+10
|
* cygwin changes:Christopher Faylor2013-08-235-19/+15
| | | | | | | | * spawn.cc (child_info_spawn): Revert previous change. Always set lpReserved2. * release/1.7.25: Change wording. doc changes: * new-features.xml (ov-new1.7.25): Change wording.
* * child_info.h (PROC_MAGIC_GENERIC): Define differently for x86 vs. x86_64.Christopher Faylor2013-08-232-1/+10
|
* * new-features.xml (ov-new1.7.25): Add new section.Corinna Vinschen2013-08-232-0/+24
|
* *** empty log message ***Corinna Vinschen2013-08-231-0/+5
|
* * path.h (enum path_types): Drop definition of PATH_64BITEXEC.Corinna Vinschen2013-08-233-15/+23
| | | | | | | | | (path_conv::iscygexec32): Drop unused inline function. (path_conv::iscygexec64): Ditto. (path_conv::set_cygexec): Remove unnecessary setting of PATH_64BITEXEC. * spawn.cc (child_info_spawn::worker): Disable setting of STARTUPINFOW::lpReserved2 and STARTUPINFOW::cbReserved2 for non-Cygwin child processes. Explain why.
* * fhandler_tape.cc (mtinfo_drive::create_partitions): Allow partitioningCorinna Vinschen2013-08-215-6/+30
| | | | | | | | | of drives supporting select partitions. (mtinfo_drive::get_status): Fill in current partition and number of partitions on tape into mt_resid. * include/cygwin/mtio.h (struct mtget): Align mt_resid comment to aforementioned change. * include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
* * fhandler_tape.cc (mtinfo_drive::create_partitions): Fix long-standingCorinna Vinschen2013-08-203-4/+31
| | | | | | | | bug disabling creation of two partitions on drives supporting initiator partitions. (mtinfo_drive::set_blocksize): Update media information after setting blocksize succeeded. (mtinfo_drive::get_status): Fetch fresh media information.
* * lc_msg.h: Regenerate.Corinna Vinschen2013-08-193-7/+45
| | | | | | | * nlsfuncs.cc (__get_lcid_from_locale): Update list of Script-only locales to Windows 8. (__set_charset_from_locale): Take locales added with Windows 8 and 8.1 into account.
* * fhandler_tape.cc (mtinfo_drive::set_pos): Remove unneeded linebreak.Corinna Vinschen2013-08-192-4/+8
| | | | (mtinfo_drive::get_status): Drop using get_ll when it's not required.
* Drop redundant entryCorinna Vinschen2013-08-151-5/+0
|
* * new-features.xml (ov-new1.7.24): Add new section. MentionCorinna Vinschen2013-08-142-2/+19
| | | | posix_memalign override.
* * include/sys/cygwin.h (struct per_process): Add posix_memalign. ReduceCorinna Vinschen2013-08-147-4/+34
| | | | | | | | | | size of unused2 accordingly. * include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump. * lib/_cygwin_crt0_common.cc (_cygwin_crt0_common): Initialize u->posix_memalign with address of posix_memalign. * malloc_wrapper.cc (posix_memalign): Call user-provided posix_memalign rather than just returning ENOSYS. * globals.cc (__cygwin_user_data): Initialize posix_memalign member.
* * include/cygwin/version.h (CYGWIN_VERSION_DLL_MINOR): Bump to 24.Corinna Vinschen2013-08-092-1/+5
|
* * fhandler_disk_file.cc (fhandler_base::open_fs): Fix indentation.Corinna Vinschen2013-08-072-6/+10
|
* * fhandler_tty.cc: Revert accidental checkin.Christopher Faylor2013-07-313-6/+8
| | | | * update-copyright: Ditto.
* * cygheap.cc (cmalloc): Use size_t for size field.Christopher Faylor2013-07-313-16/+38
| | | | | | | | | | | | | | | | | (cmalloc_abort): Ditto. (crealloc): Ditto. (crealloc_abort): Ditto. (ccalloc): Ditto. (ccalloc_abort): Ditto. * cygheap_malloc.h (HEAP_USER): Add. (cmalloc): Use size_t for size field in declaration. (cmalloc_abort): Ditto. (crealloc): Ditto. (crealloc_abort): Ditto. (ccalloc): Ditto. (ccalloc_abort): Ditto. * path.cc (normalize_posix_path): Don't check existence of / or // dir in parent dir check.
* *** empty log message ***Corinna Vinschen2013-07-311-0/+3
|
* * path.cc (normalize_posix_path): Don't check existence of / or // dirCorinna Vinschen2013-07-312-5/+13
| | | | in parent dir check.
* * Makefile.in (MINGW_LDFLAGS): Don't link against w32api libs. TheseCorinna Vinschen2013-07-312-1/+6
| | | | are only for Cygwin executables.
* Fix typoCorinna Vinschen2013-07-301-1/+1
|
* *** empty log message ***Corinna Vinschen2013-07-301-2/+6
|
* * Makefile.in (cyglsa.dll): Explicitely specify DLL entry point toCorinna Vinschen2013-07-292-2/+8
| | | | | harden against gcc function and block reordering optimizations. (cyglsa64.dll): Ditto.
* cygwin directory changes:Christopher Faylor2013-07-2610-23/+51
| | | | | | | | | | | | | * environ.cc (tty_is_gone): Delete. (known): Delete tty, add wincmdln. * globals.cc: Reorganize list of environment bools, remove explicit = false for slight load time optimization. (wincmdln): New global. * spawn.cc (child_info_spawn::worker): Honor wincmdln. doc directory changes: * new-features.sgml (ov-new1.7.23): Add new section. Mention wincmdln. * cygwinenv.xml: Mention wincmdln.
* * gcc.xml (gcc-64): Fix example.Corinna Vinschen2013-07-252-4/+9
|
* * gcc.xml (gcc-default: Rename from gcc-cons. Change title.Corinna Vinschen2013-07-252-114/+103
| | | | | | | (gcc-64): New section explaininig differences in programming for 64 bit Cygwin. (gcc-gui): Simplify description and aim at UNIX/Linux developers only. Note that X programming is preferred. Drop example.
* Fix copyright dateCorinna Vinschen2013-07-241-1/+1
|
* *** empty log message ***Corinna Vinschen2013-07-241-0/+15
|
* * ntdll.h (struct _SEMAPHORE_BASIC_INFORMATION): Define.Corinna Vinschen2013-07-234-27/+74
| | | | | | | | | | | | | | | | | | | | | | (enum _SEMAPHORE_INFORMATION_CLASS): Define. (NtQuerySemaphore): Declare. * thread.h (class semaphore): Add member startvalue. (semaphore::fixup_before_fork): New inline method. (semaphore::_fixup_before_fork): Declare. * thread.cc (MTinterface::fixup_before_fork): Additionally call semaphore::fixup_before_fork. (semaphore::semaphore): Set currentvalue to -1. Set startvalue to incoming initializer value. (semaphore::_getvalue): Just query semaphore using NtQuerySemaphore rather then using WFSO/Release. (semaphore::_post): Drop setting currentvalue. It's not thread-safe. (semaphore::_trywait): Ditto. (semaphore::_timedwait): Ditto. (semaphore::_wait): Ditto. (semaphore::_fixup_before_fork): New method, setting currentvalue from actual windows semaphore right before fork. (semaphore::_fixup_after_fork): Drop kludge from 2013-07-10. Drop FIXME comment.
* * cygtls.cc (well_known_dlls): Add kernelbase.dll.Corinna Vinschen2013-07-232-0/+5
|
* * include/cygwin/version.h (CYGWIN_VERSION_DLL_MINOR): Bump to 23.Corinna Vinschen2013-07-222-1/+5
|
* * new-features.sgml (ov-new1.7.22): Add GetCommandLine and regcompCorinna Vinschen2013-07-212-0/+16
| | | | changes.
* * regex/regcomp.c (wgetnext): Add a kludge to be more glibc compatible.Corinna Vinschen2013-07-213-0/+22
| | | | Add comment to explain.
* * Makefile.in (cygwin-ug-net/cygwin-ug-net.html): Add dependency toCorinna Vinschen2013-07-212-6/+17
| | | | | | | | | | cygwin.xsl. (cygwin-api/cygwin-api.html): Ditto. (cygwin-ug-net/cygwin-ug-net.pdf): Add dependency to fo.xsl. (cygwin-api/cygwin-api.pdf): Ditto. (cygwin-api.xml): Drop "." path component from doctool dependency. Change Makefile to Makefile.in dep. (doctool): Drop "." path component from target.
* * exceptions.cc (signal_exit): Remove comment. Use __builtin_frame_address.Christopher Faylor2013-07-202-4/+7
|
* * exceptions.cc (signal_exit): Nope. Nevermind. Dump core unconditionally.Christopher Faylor2013-07-202-2/+6
|
* * Makefile.in (cygwin-ug-net/cygwin-ug-net.pdf): Process input viaCorinna Vinschen2013-07-203-4/+43
| | | | | | xsltproc and fop. (cygwin-api/cygwin-api.pdf): Ditto. * fo.xsl: New file.
* reword commentChristopher Faylor2013-07-191-1/+1
|
* * exceptions.cc (signal_exit): Add a FIXME comment.Christopher Faylor2013-07-193-0/+10
|
* * exceptions.cc (signal_exit): Only dump core when it's a "kernel" signal.Christopher Faylor2013-07-192-2/+10
| | | | | Only use RtlCaptureContext on x86_64. It doesn't seem to do what's expected on x86.