61fb9713c6* fork.cc (frok::parent): Call CreateProcessW with command line set to the parent command line. Change comment to explain why.
Corinna Vinschen
2013-05-23 20:47:45 +0000
c6696a3426* dcrt0.cc (child_info_fork::alloc_stack_hard_way): Fix datatype of stacksize to SIZE_T. Cast to SIZE_T in pointer arithmetic. Slightly enhance output in case of a fatal error. * fork.cc (frok::parent): Always set ch.stackaddr to DeallocationStack value of current thread to help stack reservation in child_info_fork::alloc_stack_hard_way along. Simplify subsequent code storing stack values in ch. Print guardsize in hex, too.
Corinna Vinschen
2013-05-23 20:10:35 +0000
df7a7e2e82.
Warren Young
2013-05-23 19:03:19 +0000
42d724c92aCreated xidepend mechanism
Warren Young
2013-05-23 19:02:46 +0000
6d383d0fde* cygwinenv.xml (cygwinenv-implemented-options): Explain new winsymliks:nativestrict option. Strip out description of symlink types and refer to new pathnames-symlinks section. * highlights.xml (ov-hi-files): Rip out most of symlink description and refer to new pathnames-symlinks section instead. * new-features.xml (ov-new1.7.19): Add CYGWIN=winsymlinks:nativestrict. * pathnames.xml (pathnames-symlinks): New section describing symbolic link handling.
Corinna Vinschen
2013-05-23 14:26:53 +0000
33cb946e7e* environ.cc (set_winsymlinks): Handle "winsymlinks:nativestrict" option. On pre-Vista warn the user if the "winsymlinks:native*" option is set. * globals.cc (enum winsym_t): Add WSYM_nativestrict. * path.cc (symlink_native): Don't create native symlink if target does not exist. Explain why. Improve comments. (symlink_worker): Change AFS symlink handling to WSYM_nativestrict. Handle WSYM_nativestrict throughout. Change condition for bail out to wsym_type == WSYM_nativestrict. Add comment. Fix formatting. * shared_info.h (CURR_USER_MAGIC): Change to reflect change in class user_info. (class user_info): Add member warned_nonativesyms.
Corinna Vinschen
2013-05-23 14:23:01 +0000
08fd0f6438include/opcode/ 2013-05-22 Jürgen Urban <JuergenUrban@gmx.de>
Richard Sandiford
2013-05-22 18:08:25 +0000
14afd12bcdAdd EM_INTEL205 to EM_INTEL209
H.J. Lu
2013-05-22 17:02:35 +0000
c20a5e603a* spinlock.h (ULONG): Replace LONG operator with ULONG to accommodate the fact that CURR_SHARED_MAGIC and USER_SHARED_MAGIC are unsigned values. * shared.cc (shared_info::initialize): Drop explicit cast here.
Corinna Vinschen
2013-05-22 16:55:55 +0000
3e8d2576fd* globals.cc (__isthreaded): New global variable. Explain what it's used for. * miscfuncs.cc (thread_wrapper): Set __isthreaded to 1 here.
Corinna Vinschen
2013-05-21 18:53:23 +0000
cc4a1b830d* fhandler.h (class fhandler_dev_random): Change type of pseudo to uint32_t to make sure it's 32 bit on all supported platforms.
Corinna Vinschen
2013-05-21 18:51:36 +0000
2cf3d4faaex86_64 only: * gendef (_sigfe_maybe): Drop pushing %r12, use %r10 instead since we don't call yield anymore. (_sigfe): Ditto. (_sigbe): Ditto.
Corinna Vinschen
2013-05-21 18:26:48 +0000
676548b3d1* syscalls.cc (open): Only return ENOTDIR if file exists.
Corinna Vinschen
2013-05-21 10:04:45 +0000
649619b56dReinstantiate accidentally removed patch from 2009-05-16: * Makefile.in (cygpath.exe): Link against cygwin.a before linking against ntdll.dll to avoid linking symbols defined in both DLLs from ntdll. (ps.exe): Ditto.
Corinna Vinschen
2013-05-21 09:32:12 +0000
dae40103a5* sigproc.cc (sig_hold): Delete. (sigheld): Delete. (sig_send): Eliminate special-case __SIGHOLD handling. (wait_sig): Just flag when signals are on hold and add them to the queue rather than stalling the wait_sig loop. Clear the flag when __SIGNOHOLD is specified.
Christopher Faylor
2013-05-16 05:36:15 +0000
58854fc721* Makefile.in (devices_CFLAGS): Drop -Os.
Corinna Vinschen
2013-05-14 17:28:45 +0000
b39bb1802a* Makefile.in (localtime_CFLAGS): Define as -fwrapv since localtime code requires int overflows to be fully defined. * localtime.cc: Align a bit more to upstream code.
Corinna Vinschen
2013-05-14 13:34:05 +0000
ccd40e46d7* grp.cc (get_groups): Convert to void function. (initgroups32): Accommodate the aforementioned change. (getgrouplist): Ditto.
Corinna Vinschen
2013-05-14 09:07:30 +0000
ee6ed1db45* grp.cc (get_groups): Never return error. Always create a group list, even if it's empty.
Corinna Vinschen
2013-05-14 08:50:37 +0000
d46cc674ecAdded Wishlist file, based on my FURTHER WORK proposal to the -patches list on April 29.
Warren Young
2013-05-13 22:00:44 +0000
accd7a7cf7Missed MAINTAINERS entry from previous commit.
DJ Delorie
2013-05-13 21:40:50 +0000
e4ab61a8abRemoved setup.xml and cygwin-ug.xml: they were not inputs to any of the documentation outputs. Apparently they were the predecessors of setup-net.xml and cygwin-ug-net.xml. I don't know if for a time there were parallel versions of the manuals and one fork died, or if the cutover was clean and the old versions were just never removed. Either way, they're dead junk now.
Warren Young
2013-05-13 21:17:22 +0000
73dfbd86bd* include/cygwin/version.h: Bump api minor number to reflect previous change.
Christopher Faylor
2013-05-13 19:27:34 +0000
c0d8520eeb2013-05-10 Freddie Chopin <freddie_chopin@op.pl>
Jeff Johnston
2013-05-10 20:14:33 +0000
a2a7aa3f4c- Added <?xml> and <!DOCTYPE> tags to the top of utils.xml and pretty- printed it. - Removed obsolete utils.sgml - Added a ChangeLog entry for this replacement, which partially took place days ago. This checkin formalizes the switch from SGML to DocBook XML for this file.
Warren Young
2013-05-10 15:58:48 +0000
1b7ad41e502013-05-07 Sebastian Huber <sebastian.huber@embedded-brains.de>
Jeff Johnston
2013-05-08 23:13:51 +0000
ad48b1b79cchange wording
Christopher Faylor
2013-05-08 00:10:35 +0000
eeec3bebbc* fhandler_tty.cc (fhandler_pty_common::__acquire_output_mutex): Never wait an INFINITE amount of time. Instead default to 1/10 second. (fhandler_pty_slave::open): Just default to INFINITE wait rather than (now) waiting longer than previously.
Christopher Faylor
2013-05-08 00:10:08 +0000
6bd6954bdc2013-05-07 Sebastian Huber <sebastian.huber@embedded-brains.de>
Jeff Johnston
2013-05-07 21:40:10 +0000
c0e447afd02013-05-07 Sebastian Huber <sebastian.huber@embedded-brains.de>
Jeff Johnston
2013-05-07 18:24:14 +0000
3483cbea76fix typo
Christopher Faylor
2013-05-06 23:32:38 +0000
170c43cf3fReverted XInclude in cygwin-api.in.xml from an XInclude to a DOCTOOL include. You can't mix the two fragment inclusion mechanisms within a single document because of the way it interacts with autoconf "build in separate tree" mechanism. Either work separately, but they fail when you try to use them together due to the way doctool chooses output directories for its generated files.
Warren Young
2013-05-06 21:20:41 +0000
c6794694872013-05-06 Sandra Loosemore <sandra@codesourcery.com>
Jeff Johnston
2013-05-06 18:31:56 +0000
c16862d85b2013-05-06 Sandra Loosemore <sandra@codesourcery.com>
Jeff Johnston
2013-05-06 18:23:09 +0000
d81e0520962013-05-06 Paul Brook <paul@codesourcery.com>
Catherine Moore
2013-05-06 15:25:45 +0000
e021972911* Makefile (FAQ_SOURCES): Use wildcard function to find sources in srcdir.
Christopher Faylor
2013-05-03 20:41:12 +0000
ebba7327e1* spawn.cc (ILLEGAL_SIG_FUNC_PTR): New define. (system_call_handle): Rename from system_call_cleanup. (is_system_call): New convenience method. (system_call_handle::system_call_handle): Use ILLEGAL_SIG_FUNC_PTR rather than cast. Call sig_send here rather than in caller. Initialize oldint. (system_call_handle::arm): New function pulled from constructor. (~system_call_handle::system_call_handle): Use is_system_call(). (child_info_spawn::worker): Use system_call_handle to set up for system call early. Use arm call prior to waiting for child to properly set up signal handling. Move comment closer to code it is commenting on.
Christopher Faylor
2013-05-03 19:39:01 +0000
36d4d414c6* archures.c: Add some more MSP430 machine numbers. * config.bfd (msp430): Define targ_selvecs. * configure.in: Add bfd_elf32_msp430_ti_vec. * cpu-msp430.c: Add some more MSP430 machine numbers. * elf32-msp430.c Add support for MSP430X relocations. Add support for TI compiler generated relocations. Add support for sym_diff relocations. Add support for relaxing out of range short branches into long branches. Add support for MSP430 attribute section. * reloc.c: Add MSP430X relocations. * targets.c: Add bfd_elf32_msp430_ti_vec. * bfd-in2.h: Regenerate. * configure: Regenerate. * libbfd.h: Regenerate.
Nick Clifton
2013-05-02 21:06:14 +0000
32d9bab55eGenerating faq/faq.body automatically from faq/faq.html whenever latter is updated, using new bodysnatcher.pl script.
Warren Young
2013-05-02 00:10:15 +0000
1f8b70e2a1Initial; ignoring generated files.
Warren Young
2013-05-01 23:34:58 +0000
8142972d87Modernized user guide, API reference, and FAQ generation. Overall effect is to move away from DocBook SGML and DJ Delorie's doctool and toward pure DocBook XSL. (There remains just one use of doctool, and we have plans for replacing it, too.) See ChangeLog for details.
Warren Young
2013-05-01 23:30:25 +0000
0cfce9acc9* resource.cc (setrlimit): Use consistent commenting style. Return EINVAL when rlim_cur > rlim_max.
Christopher Faylor
2013-05-01 21:19:51 +0000
1f36328e7fThroughout, (mainly in fhandler*) fix remaining gcc 4.7 mismatch warnings between regparm definitions and declarations. * smallprint.cc (__small_vswprintf): Conditionalize declaration and setting of l_opt for only x86_64. * spawn.cc (child_info_spawn::worker): Remove unused 'pid' variable. * thread.cc (verifyable_object_isvalid): Temporarily define as non-inline with gcc 4.7+, regardless of target.
Yaakov Selkowitz
2013-05-01 01:20:37 +0000
92f63de367* gendef: Fix sigfe.s typo.
Christopher Faylor
2013-05-01 01:15:07 +0000
3cb9da1461* spawn.cc (system_call_cleanup): Rename from pthread_cleanup. Extend functionality. (system_call_cleanup::system_call_cleanup): Set up signals like system() requires. Unblock previously-blocked signal handling. (system_call_cleanup::~system_call_cleanup): Restore signal handling after system(). (child_info_spawn::worker): Put signals on hold and use system_call_cleanup class to set and restore signals rather than doing it prior to to running the program. Remove the ill-conceived pthread_cleanup stuff.
Christopher Faylor
2013-04-30 23:51:08 +0000
cc5bdf003f* exceptions.cc (cygwin_exception::dumpstack): Guard against wild pointer dereference. (CYG_EXC_CONTINUE_EXECUTION): Define based on standard Windows definition. (CYG_EXC_CONTINUE_SEARCH): Ditto. (exception::handle): Move andreas detection earlier. Make comment clearer. (signal_exit): Set core-dumped flag.
Christopher Faylor
2013-04-30 23:47:01 +0000
9379e877daSigh. Another missing checkin.
Christopher Faylor
2013-04-30 23:44:06 +0000
3299379762missing checkin
Christopher Faylor
2013-04-30 23:43:28 +0000
bfebe413bd* i686.din: New file. * x86_64.din: New file. * common.din: New file. * cygwin.din: Delete. * cygwin64.din: Delete. * gendef: Rework to take options rather than using positional parameters. Accept multiple files as input.
Christopher Faylor
2013-04-30 23:43:08 +0000
77dcee573c* faq-programming.xml (faq.programming.64bitporting): Extend entry. (faq.programming.64bitporting-fail): New entry. (faq.programming.64bitporting-cygwin64): New entry.
Corinna Vinschen
2013-04-25 10:14:26 +0000
21470a3ca9* faq-programming.xml (faq.programming.64bitporting): Mention the -Wformat and -Wall gcc options.
Corinna Vinschen
2013-04-24 17:33:30 +0000
895ece0124* faq-programming.xml (faq.programming.64bitporting): New FAQ entry. (faq.programming.objective-c): Include gcc4. (faq.programming.make-execvp): Drop text discouraging usage of -j. (faq.programming.undeclared-functions): Drop entry. (faq.programming.x86-assembly): Ditto. (faq.programming.djgpp): Ditto.
Corinna Vinschen
2013-04-24 16:09:43 +0000
79b4d1beb0Fix date in latest ChangeLog entry
Corinna Vinschen
2013-04-24 16:06:55 +0000
6fb85adeac* libc/stdlib/strtod.c: Manual update to latest algorithm from NetBSD.
Corinna Vinschen
2013-04-24 10:21:16 +0000
09caddaaf5* cygwinenv.sgml (cygwinenv-implemented-options): Change description for winsymlink option to explain new implementation. * new-features.sgml (ov-new1.7.19): Add support for native symlinks and AFS.
Corinna Vinschen
2013-04-24 10:18:08 +0000
9ecd475cd8* autoload.cc (CreateSymbolicLink): Define. * environ.cc (set_winsymlinks): Set allow_winsymlinks. (parse_thing): Change "winsymlinks" to set by function. * globals.cc (enum winsym_t): Define. (allow_winsymlinks): Define as winsym_t. (ro_u_afs): New R/O Unicode string. * mount.cc (fs_info::update): Fix comment. Handle AFS. (fs_names): Add "afs". * mount.h (enum fs_info_type): Add afs. (class fs_info): Implement afs. * path.cc (symlink): Drop third parameter in call to symlink_worker. (symlink_nfs): New function. (symlink_native): New function. (symlink_worker): Drop third argument. Handle native symlink type by calling symlink_native. Move code to handle NFS to symlink_nfs. Fix formatting. Slightly restructure code. * path.h (class path_conv): Add fs_is_afs method. (symlink_worker): Declare here. * security.h: Define privilege constants as unsigned int instead of as unsigned long. * syscalls.cc (mknod_worker): Set third parameter in symlink_worker call to WSYM_lnk. * winsup.h (symlink_worker): Drop declaration here.
Corinna Vinschen
2013-04-24 10:16:13 +0000
842cf66533* Throughout, eliminate Windows 2000 from the documentation. * overview.sgml (brief-history): Mention native AMD64 support.
Corinna Vinschen
2013-04-23 15:59:21 +0000
f35d64f8d0* Makefile.in (SGMLDIRS): Accommodate dropping utils_source and cygwin_source from ../Makefile.common. * new-features.sgml (ov-new1.7.19): New section. Document dropped support for pre-XP SP3 and added support for 64 bit Cygwin.
Corinna Vinschen
2013-04-23 15:49:08 +0000
61522196c7* Merge in cygwin-64bit-branch.
Corinna Vinschen
2013-04-23 09:44:36 +0000
1875ee55d3Port newlib to x86_64-pc-cygwin. * libc/include/sys/features.h: Redefine compilation environment definitions for Cygwin to cover 64 bit Cygwin. * libc/ctype/ctype_.c (_ctype_): Fix definition for 64 bit Cygwin. * libc/include/machine/setjmp.h: Change definition of _JBLEN to allow different values for 32 bit and 64 bit Cygwin. * libc/include/reent.h (stat64): Define as stat under Cygwin, instead of as __stat64. Undef stat64 if not building Newlib. * libc/include/sys/stat.h (stat64): Define as stat under Cygwin.
Corinna Vinschen
2013-04-23 09:42:25 +0000
40702aef2c* include/sys/queue.h: Delete in favor of more complete newlib file.
Corinna Vinschen
2013-04-22 10:35:02 +0000
a1467f6434Adapt to changes in newlib's sys/cdefs.h: * include/sys/sysinfo.h (struct sysinfo): Rename __unused member to __f. * libc/fts.c (__FBSDID): Drop definition. * regex/regexec.c (__unused): Drop definition.
Corinna Vinschen
2013-04-22 10:33:09 +0000
48f81ac677* glob.cc: Include winsup.h before anything else.
Corinna Vinschen
2013-04-16 10:20:25 +0000
62f41c2b1c2013-04-12 Will Newton <will.newton@linaro.org>
Jeff Johnston
2013-04-12 22:12:29 +0000
f7a4b388b0* acconfig.h (_WCHAR_ORIENT): Undef * newlib.hin (_WCHAR_ORIENT): Undef * configure.in (--enable-newlib-wchar-orient): New option. * configure: Regenerated. * libc/configure.in (--enable-newlib-wchar-orient): New option. * libc/configure: Regenerated. * libc/stdio/Makefile.am (NEWLIB_WIDE_ORIENT): Use. * libc/stdio/Makefile.in: Regenerated. * libc/stdio/local.h (ORIENT): Use _WCHAR_ORIENT to control the definition. Add alternative definition. * libc/stdio/vfprintf.c (__sfputs_r, __sprint_r): Use _WCHAR_ORIENT to control the wide char output.
Corinna Vinschen
2013-04-12 12:05:31 +0000
492ee4ee4b* path.cc (symlink_info::check): Drop PC_KEEP_HANDLE flag for unrecognized reparse points as well. Reorganize code and comments handling reparse points for better readability.
Corinna Vinschen
2013-04-12 08:30:47 +0000
8f81761b69* hires.h (hires_ns::nsecs): Declare with bool parameter. * times.cc (hires_ns::nsecs): Take bool parameter. If set to true, don't use prime value (== return system wide absolute value).
Corinna Vinschen
2013-04-11 19:49:58 +0000
99e6ee04d6Revert to original patch
Corinna Vinschen
2013-04-11 13:01:08 +0000