aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2013-04-23 * malloc_wrapper.cc: Throughout fix format specifiers in malloc_printf.github/cygwin-64bit-branchcygwin-64bit-branchCorinna Vinschen2-3/+7
2013-04-23 * Remove ptmalloc3 once and for all.Corinna Vinschen9-3301/+874
2013-04-22Pull in changes from HEADCorinna Vinschen6-520/+18
2013-04-22Pull in changes from HEADCorinna Vinschen7-620/+868
2013-04-22* include/stdint.h (INTPTR_MAX): Fix missing parenthesis.Yaakov Selkowitz2-1/+5
2013-04-17Pull in change from January to fix build failures.Corinna Vinschen2-2/+7
2013-04-16Pull in change from HEADCorinna Vinschen2-4/+8
2013-04-13 * fhandler_tty.cc (fhandler_pty_slave::write): Change type of towrite toCorinna Vinschen2-4/+11
ssize_t. (fhandler_pty_slave::read): Ditto for totalread.
2013-04-13 * net.cc (fdsock): Raise send/recv buffer sizes for x86_64. ExtendCorinna Vinschen2-2/+17
comment. (cygwin_setsockopt): Fix condition and syscall_printf.
2013-04-12 * fhandler.cc (fhandler_base_overlapped::wait_overlapped): Fix typo inCorinna Vinschen2-6/+14
debug_printf. (fhandler_base_overlapped::raw_read): Handle size difference between DWORD and {s}size_t platform-independently. (fhandler_base_overlapped::raw_write): Ditto. Fix typo in comment.
2013-04-12Pull in changes from HEADCorinna Vinschen2-14/+22
2013-04-11Pull inchange from HEADCorinna Vinschen3-4/+11
2013-04-11Pull in changes from HEADCorinna Vinschen13-191/+265
2013-04-10 * Reinstantiate ptmalloc3.Corinna Vinschen11-877/+3313
* configure.ac (MALLOC_OFILES): Drop here. * configure: Regenerate. * Makefile.in (MALLOC_OFILES): Set to fixed value here. * cygmalloc.h (HAVE_MORECORE): Define. * malloc.cc (init_user_mstate): Don't disable MORECORE if building with ONLY_MSPACES.
2013-04-09 * mount.cc (MINIMAL_WIN_NTFS_FLAGS): Fix comment.Corinna Vinschen2-3/+7
2013-04-08Pull in change from HEADCorinna Vinschen2-4/+39
2013-04-08 * Throughout fix -Wextra warnings. Ignore regex files and gmon.c.Corinna Vinschen16-35/+56
2013-04-08 * fhandler_socket.cc (fhandler_socket::send_internal): Change type ofCorinna Vinschen5-10/+27
local variable res to ssize_t. * net.cc (cygwin_sendto): Fix local variable res, containing return value, to be ssize_t as well. (cygwin_recvfrom): Ditto. (cygwin_recv): Ditto. (cygwin_send): Ditto. (cygwin_recvmsg): Ditto. (cygwin_sendmsg): Ditto. * syscalls.cc (write): Ditto. (writev): Ditto. * pipe.cc (fhandler_pipe::open): Fix type when reading handle value to accommodate 32 bit compiler.
2013-04-08 * fhandler_socket.cc (fhandler_socket::get_proc_fd_name): Use %lu asCorinna Vinschen5-26/+59
format specifier to match HANDLE size. * net.cc (cygwin_sendto): Fix return type to be ssize_t. Change syscall_printf return type format specifier to %lR. (cygwin_recvfrom): Ditto. (cygwin_recv): Ditto. (cygwin_send): Ditto. (cygwin_recvmsg): Ditto. (cygwin_sendmsg): Ditto. * smallprint.cc (__small_vsprintf): Handle `l' for %R, too. (__small_vswprintf): Ditto. * syscalls.cc (read): Change syscall_printf return type format specifier to %lR. (readv): Ditto. (pread): Ditto. (write): Ditto. (writev): Ditto. (pwrite): Ditto. (lseek64): Enhance comment.
2013-04-08 * pipe.cc (fhandler_pipe::open): Fix format specifier and type whenCorinna Vinschen3-4/+10
reading handle value. (fhandler_pipe::get_proc_fd_name): Use same format specifier as in fhandler_pipe::open.
2013-04-06 * cygheap.cc (_csbrk): Move down in file, right in front of _cmalloc.Corinna Vinschen2-41/+45
2013-04-05Pull in change from HEADCorinna Vinschen2-1/+8
2013-04-04 * cygheap.h (struct _cmalloc_entry): Define b as unsigned rather thanCorinna Vinschen3-9/+44
DWORD. (NBUCKETS): Define here as constant value. (struct init_cygheap): Add bucket_val member. Define size of bucket_val and buckets using NBUCKETS. * cygheap.cc (NBUCKETS): Drop definition here. (cygheap_init): Initialize cygheap->bucket_val. Add comment to explain what we do and why. (_cmalloc): Simplify bit bucket search using cygheap->bucket_val. Drop local variable sz. Fetch size of block from cygheap->bucket_val. (_cfree): Define b as unsigned. (_crealloc): Fetch size of block from cygheap->bucket_val.
2013-04-03Pull in change from HEADCorinna Vinschen2-2/+7
2013-04-03Pull in partial changes from HEADCorinna Vinschen2-7/+40
2013-04-02 * fhandler_disk_file.cc (fhandler_disk_file::ftruncate): Add missedCorinna Vinschen2-1/+6
ampersand.
2013-03-30 * lc_msg.h: Regenerate from F18 glibc 2.16-28. In the first place thisCorinna Vinschen3-9/+21
fixes fi_FI and adds ta_LK (new in Windows 8). * nlsfuncs.cc (LocaleNameToLCID): Drop unneeded declaration.
2013-03-29Pull in changes from HEADCorinna Vinschen4-10/+27
2013-03-29Pull in changes from HEADCorinna Vinschen3-7/+24
2013-03-29 * autoload.cc: Drop old comment.Corinna Vinschen3-152/+134
* hookapi.cc (PEHeaderFromHModule): Return PIMAGE_NT_HEADERS. (rvadelta): Convert to function and merge in rvadelta_get. (remap): New function to have code for remapping big executables only once. (find_first_notloaded_dll): Simplify. Don't handle different architecture at all. Call remap. (hook_or_detect_cygwin): Ditto.
2013-03-29Pull in changes from HEADCorinna Vinschen2-17/+11
2013-03-29Pull in changes from HEADCorinna Vinschen3-42/+37
2013-03-28 * include/cygwin/config.h (___getreent): Harden against aggressiveCorinna Vinschen2-6/+8
compiler optimization.
2013-03-28 * cygcheck.cc (dll_info): Fix crash due to sizeof(time_t) being notCorinna Vinschen2-7/+16
equal to sizeof(int). Output timestamp RFC 3339 compatible.
2013-03-28 * cygwin64.din: Reinstantiate definition of __srget and __srget_r.Corinna Vinschen2-0/+6
2013-03-28Forced checkinCorinna Vinschen0-0/+0
2013-03-28Forced checkinCorinna Vinschen0-0/+0
2013-03-28 * Makefile.in ($(LIB_NAME)): Make sure to rebuild when cygwin.def fileCorinna Vinschen3-16/+13
has been changed. * cygwin64.din: Remove more underscored symbols. (getdelim): Add missing define in favor of unneeded __getline. (getline): Ditto.
2013-03-27 Pull in change from HEAD, and:Corinna Vinschen3-6/+15
* faq-what.xml (faq.what.supported): Change to accommodate existence of 64 bit version.
2013-03-27 * fhandler_console.ccCorinna Vinschen4-8/+9
(fhandler_console::create_invisible_console_workaround): Fix comment. * wincap.cc: Throughout, remove unused has_console_handle_problem wincapc members. * wincap.h (struct wincaps): Remove has_console_handle_problem.
2013-03-27 * net.cc (cygwin_gethostbyname): Revert accidental checkin of changeCorinna Vinschen2-2/+6
added for debugging.
2013-03-27 * net.cc (struct win64_servent): Define for x86_64. Explain why.Corinna Vinschen2-7/+35
(WIN_SERVENT): Define for all targets. (dup_ent): Use WIN_SERVENT to access critical servent members throughout.
2013-03-27 * sysconf.cc (sca): Change build environment values according toCorinna Vinschen2-4/+26
architecture. (csa): Ditto.
2013-03-27 * libc/include/sys/features.h: Redefine compilation environmentCorinna Vinschen2-3/+14
definitions for Cygwin to cover 64 bit Cygwin.
2013-03-27 * ntdll.h (STATUS_NETWORK_OPEN_RESTRICTION): Define.Corinna Vinschen3-1/+32
(STATUS_SYMLINK_CLASS_DISABLED): Define. * path.cc (symlink_info::check): Handle STATUS_NETWORK_OPEN_RESTRICTION and STATUS_SYMLINK_CLASS_DISABLED status codes. Explain why.
2013-03-26 * tzset.c (main): Don't try to overwrite space with NUL. Explain why.Corinna Vinschen2-5/+12
Rather, just print the string with computed precision value.
2013-03-22 * gendef: Use pause instead of calling yield throughout in x86_64 code.Corinna Vinschen2-31/+9
2013-03-22 * kill.cc (main): Chack pid against INT_MIN and (U)INT_MAX since pid_tCorinna Vinschen4-5/+13
is 4 byte on all platforms. * mkgroup.c (main): Check domlist[i].id_offset against UINT_MAX since DWORD is 4 byte on all platforms. * mkpasswd.c (main): Ditto.
2013-03-20 * include/sys/resource.h (RLIM_INFINITY): Define wordsize agnostic.Corinna Vinschen2-1/+5
2013-03-20 * lib/_cygwin_crt0_common.cc: Fix mangled operator new names for x86_64.Corinna Vinschen2-8/+28