| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
(mtinfo_drive::get_status): Drop using get_ll when it's not required.
|
| |
|
|
|
|
| |
posix_memalign override.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
| |
* update-copyright: Ditto.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(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.
|
| |
|
|
|
|
| |
in parent dir check.
|
|
|
|
| |
are only for Cygwin executables.
|
| |
|
| |
|
|
|
|
|
| |
harden against gcc function and block reordering optimizations.
(cyglsa64.dll): Ditto.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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-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.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(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.
|
| |
|
| |
|
|
|
|
| |
changes.
|
|
|
|
| |
Add comment to explain.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
|
| |
xsltproc and fop.
(cygwin-api/cygwin-api.pdf): Ditto.
* fo.xsl: New file.
|
| |
|
| |
|
|
|
|
|
| |
Only use RtlCaptureContext on x86_64. It doesn't seem to do what's expected on
x86.
|
|
|
|
|
|
| |
character command-line storage. Use wcs method to convert command line.
* winf.h (lb_wcs): Delete.
(linebuf::wcs): Implement new single-argument method.
|
|
|
|
| |
in the buffer is the program name.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
|
|
|
| |
handle leak.
|
|
|
|
|
| |
to make sure entire ipc_retval union is initialized on all supported
platforms.
|
|
|
|
|
| |
dst, rather than at dst_start, otherwise suffer loss of one leading
slash in case of UNC paths.
|
|
|
|
| |
* dcrt0.cc (initial_env): Remove unused variable.
|
|
|
|
|
|
| |
support for /dev/mem, /dev/kmem, /dev/port.
* specialnames.xml (pathnames-posixdevices): Drop description of
/dev/mem, /dev/kmem, /dev/port.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
* thread.cc (semaphore::_fixup_after_fork): Report on potential problem
parameter. Make sure that currentvalue is never zero.
(semaphore::init): Make cosmetic change.
|