summaryrefslogtreecommitdiffstats
path: root/winsup
Commit message (Collapse)AuthorAgeFilesLines
...
* * 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.
* * spawn.cc (child_info_spawn::worker): Reinstate using temp buffer for wideChristopher Faylor2013-07-193-11/+12
| | | | | | character command-line storage. Use wcs method to convert command line. * winf.h (lb_wcs): Delete. (linebuf::wcs): Implement new single-argument method.
* * lib/libcmain.c (main): Don't point to last quoted character if the only thingChristopher Faylor2013-07-192-2/+7
| | | | in the buffer is the program name.
* .Christopher Faylor2013-07-191-0/+3
|
* fix comment typoChristopher Faylor2013-07-191-1/+1
|
* .Christopher Faylor2013-07-191-3/+3
|
* * common.din: Export GetCommandLine{A,W}.Christopher Faylor2013-07-197-29/+117
| | | | | | | | | | | | | | | | | | * kernel32.cc: Add includes needed for GetCommandLine functions. (ucmd): New function. (cygwin_GetCommandLineW): Ditto. (cygwin_GetCommandLineA): Ditto. * spawn.cc (child_info_spawn::worker): Rename one_line -> cmd. Use lb_wcs macro to generate a wide character version of the line buffer. Remove duplicate printing of command line. Don't access members of linebuf directly. * winf.h: Use pragma once. (linebuf): Make storage private. (linebuf::operator size_t): New operator. Return size of buf. (linebuf::operator wchar_t): New operator. (linebuf::wcs): New function. (lb_wcs): New macro. * include/cygwin/version.h: Bump API minor number to 268. * strfuncs.cc: Clarify descriptive file comment.
* *** empty log message ***Corinna Vinschen2013-07-191-0/+16
|
* * cygtls.cc (_cygtls::remove): Close cw_timer handle, thus avoidingCorinna Vinschen2013-07-192-2/+10
| | | | handle leak.
* * cygserver_ipc.h (ipc_retval::ipc_retval): Take ssize_t as argumentCorinna Vinschen2013-07-192-1/+7
| | | | | to make sure entire ipc_retval union is initialized on all supported platforms.
* * path.cc (normalize_posix_path): Start checking path before ".." atCorinna Vinschen2013-07-182-2/+8
| | | | | dst, rather than at dst_start, otherwise suffer loss of one leading slash in case of UNC paths.
* * winsup.h (cygbench): Fix declaration to match definition.Christopher Faylor2013-07-172-3/+7
| | | | * dcrt0.cc (initial_env): Remove unused variable.
* * new-features.sgml (ov-new1.7.22): New section. Document droppedCorinna Vinschen2013-07-153-4/+20
| | | | | | support for /dev/mem, /dev/kmem, /dev/port. * specialnames.xml (pathnames-posixdevices): Drop description of /dev/mem, /dev/kmem, /dev/port.
* Remove /dev/mem, /dev/kmem, /dev/port support.Corinna Vinschen2013-07-1511-3009/+2575
| | | | | | | | | | | | | | * Makefile.in (DLL_OFILES): Drop fhandler_mem.o. (fhandler_mem_CFLAGS): Remove rule. * devices.in (enum fh_devices): Remove FH_MEM, FH_KMEM and FH_PORT. * devices.cc: Regenerate. * dtable.cc (fh_alloc): Drop handling for FH_MEM, FH_KMEM and FH_PORT. * fhandler.h (class fhandler_dev_mem): Remove. * fhandler_mem.cc: Remove file. * globals.cc (ro_u_pmem): Remove. * mmap.cc (fhandler_dev_mem::mmap): Remove. (fhandler_dev_mem::munmap): Remove. (fhandler_dev_mem::fixup_mmap_after_fork): Remove.
* * include/cygwin/version.h (CYGWIN_VERSION_DLL_MINOR): Bump to 22.Corinna Vinschen2013-07-152-1/+5
|
* *** empty log message ***Corinna Vinschen2013-07-151-0/+1
|
* * path.cc (symlink_native): Fix common prefix search. Enhance comment.Corinna Vinschen2013-07-152-5/+10
|
* * uname.cc (uname): Drop unused code.Corinna Vinschen2013-07-112-14/+9
|
* * gentlsoffsets: Clean up a little.Christopher Faylor2013-07-103-14/+24
| | | | | | * thread.cc (semaphore::_fixup_after_fork): Report on potential problem parameter. Make sure that currentvalue is never zero. (semaphore::init): Make cosmetic change.