summaryrefslogtreecommitdiffstats
path: root/winsup
Commit message (Collapse)AuthorAgeFilesLines
* * spinlock.h (ULONG): Replace LONG operator with ULONG to accommodateCorinna Vinschen2013-05-223-2/+9
| | | | | | the fact that CURR_SHARED_MAGIC and USER_SHARED_MAGIC are unsigned values. * shared.cc (shared_info::initialize): Drop explicit cast here.
* * new-features.sgml (ov-new1.7.19): Add arc4random,Corinna Vinschen2013-05-212-1/+8
| | | | | arc4random_addrandom, arc4random_buf, arc4random_stir and arc4random_uniform.
* Add missing ChangeLog entry for former checkin.Corinna Vinschen2013-05-211-0/+12
|
* * Makefile.in (DLL_OFILES): Add arc4random.o.Corinna Vinschen2013-05-218-19/+388
| | | | | | | | | | | * common.din: Export arc4random, arc4random_addrandom, arc4random_buf, arc4random_stir and arc4random_uniform. * mktemp.cc (arc4random): Remove static replacement function. * posix.sgml (std-bsd): Add arc4random functions. * include/cygwin/stdlib.h: Declare arc4random functions. * include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump. * libc/arc4random.cc: New file implementing arc4random functions taken from FreeBSD.
* * globals.cc (__isthreaded): New global variable. Explain what it'sCorinna Vinschen2013-05-213-0/+16
| | | | | used for. * miscfuncs.cc (thread_wrapper): Set __isthreaded to 1 here.
* * fhandler.h (class fhandler_dev_random): Change type of pseudo toCorinna Vinschen2013-05-212-1/+6
| | | | uint32_t to make sure it's 32 bit on all supported platforms.
* x86_64 only:Corinna Vinschen2013-05-212-31/+28
| | | | | | | * gendef (_sigfe_maybe): Drop pushing %r12, use %r10 instead since we don't call yield anymore. (_sigfe): Ditto. (_sigbe): Ditto.
* * new-features.sgml (ov-new1.7.19): Add __b64_ntop and __b64_pton.Corinna Vinschen2013-05-212-0/+8
|
* * libc/base64.c: New file.Corinna Vinschen2013-05-216-4/+333
| | | | | | | * Makefile.in (DLL_OFILES): Add base64.o. * common.din: Export __b64_ntop and __b64_pton. * posix.sgml (std-bsd): Add __b64_ntop and __b64_pton. * include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
* * syscalls.cc (open): Only return ENOTDIR if file exists.Corinna Vinschen2013-05-212-1/+5
|
* Reinstantiate accidentally removed patch from 2009-05-16:Corinna Vinschen2013-05-212-2/+10
| | | | | | | * 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.
* * sigproc.cc (sig_hold): Delete.Christopher Faylor2013-05-162-51/+39
| | | | | | | (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.
* * Makefile.in (devices_CFLAGS): Drop -Os.Corinna Vinschen2013-05-142-1/+5
|
* * Makefile.in (localtime_CFLAGS): Define as -fwrapv since localtimeCorinna Vinschen2013-05-143-43/+26
| | | | | code requires int overflows to be fully defined. * localtime.cc: Align a bit more to upstream code.
* * grp.cc (get_groups): Convert to void function.Corinna Vinschen2013-05-143-32/+31
| | | | | (initgroups32): Accommodate the aforementioned change. (getgrouplist): Ditto.
* * grp.cc (get_groups): Never return error. Always create a group list,Corinna Vinschen2013-05-142-10/+10
| | | | even if it's empty.
* Added Wishlist file, based on my FURTHER WORK proposal to the -patchesWarren Young2013-05-132-0/+116
| | | | list on April 29.
* Removed setup.xml and cygwin-ug.xml: they were not inputs to any of theWarren Young2013-05-133-64/+4
| | | | | | | | 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.
* * include/cygwin/version.h: Bump api minor number to reflect previous change.Christopher Faylor2013-05-132-1/+7
|
* * i686.din: Remove _strtold.Christopher Faylor2013-05-134-2/+7
| | | | | * x86_64.din: Move strtold definition... * common.din: ...to here.
* - Added <?xml> and <!DOCTYPE> tags to the top of utils.xml and pretty-Warren Young2013-05-103-3454/+1171
| | | | | | | | 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.
* change wordingChristopher Faylor2013-05-081-1/+1
|
* * fhandler_tty.cc (fhandler_pty_common::__acquire_output_mutex): Never wait anChristopher Faylor2013-05-082-1/+10
| | | | | | 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.
* fix typoChristopher Faylor2013-05-061-1/+1
|
* Reverted XInclude in cygwin-api.in.xml from an XInclude to a DOCTOOLWarren Young2013-05-062-2/+8
| | | | | | | | 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.
* * Makefile (FAQ_SOURCES): Use wildcard function to find sources in srcdir.Christopher Faylor2013-05-032-1/+6
|
* * spawn.cc (ILLEGAL_SIG_FUNC_PTR): New define.Christopher Faylor2013-05-032-11/+35
| | | | | | | | | | | | (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.
* Generating faq/faq.body automatically from faq/faq.html whenever latterWarren Young2013-05-023-2/+55
| | | | is updated, using new bodysnatcher.pl script.
* Initial; ignoring generated files.Warren Young2013-05-011-0/+13
|
* Modernized user guide, API reference, and FAQ generation. OverallWarren Young2013-05-0149-1296/+3515
| | | | | | 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.
* * resource.cc (setrlimit): Use consistent commenting style. Return EINVAL whenChristopher Faylor2013-05-012-5/+15
| | | | rlim_cur > rlim_max.
* Throughout, (mainly in fhandler*) fix remaining gcc 4.7 mismatchYaakov Selkowitz2013-05-0133-74/+85
| | | | | | | | | 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.
* * gendef: Fix sigfe.s typo.Christopher Faylor2013-05-012-1/+5
|
* * spawn.cc (system_call_cleanup): Rename from pthread_cleanup. ExtendChristopher Faylor2013-04-302-26/+42
| | | | | | | | | | | 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.
* * exceptions.cc (cygwin_exception::dumpstack): Guard against wild pointerChristopher Faylor2013-04-302-22/+40
| | | | | | | | 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.
* Sigh. Another missing checkin.Christopher Faylor2013-04-301-0/+5
|
* missing checkinChristopher Faylor2013-04-301-114/+119
|
* * i686.din: New file.Christopher Faylor2013-04-309-2101/+785
| | | | | | | | | * 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.
* * autoload.cc (CreateSymbolicLinkW): Rename from CreateSymbolicLink.Christopher Faylor2013-04-302-1/+5
|
* * fcntl.cc (fcntl): Define as export alias for fcntl64 on x86_64.Corinna Vinschen2013-04-263-0/+9
|
* * faq-programming.xml (faq.programming.64bitporting): Fix typo.Corinna Vinschen2013-04-252-1/+5
|
* * faq-programming.xml (faq.programming.64bitporting): Extend entry.Corinna Vinschen2013-04-252-9/+140
| | | | | (faq.programming.64bitporting-fail): New entry. (faq.programming.64bitporting-cygwin64): New entry.
* * faq-programming.xml (faq.programming.64bitporting): Mention theCorinna Vinschen2013-04-242-1/+11
| | | | -Wformat and -Wall gcc options.
* * faq-programming.xml (faq.programming.64bitporting): New FAQ entry.Corinna Vinschen2013-04-242-42/+165
| | | | | | | | (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.
* Fix date in latest ChangeLog entryCorinna Vinschen2013-04-241-1/+1
|
* * cygwinenv.sgml (cygwinenv-implemented-options): Change descriptionCorinna Vinschen2013-04-243-5/+31
| | | | | | for winsymlink option to explain new implementation. * new-features.sgml (ov-new1.7.19): Add support for native symlinks and AFS.
* * autoload.cc (CreateSymbolicLink): Define.Corinna Vinschen2013-04-2411-93/+247
| | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* * Throughout, eliminate Windows 2000 from the documentation.Corinna Vinschen2013-04-236-24/+21
| | | | * overview.sgml (brief-history): Mention native AMD64 support.
* * Makefile.in (SGMLDIRS): Accommodate dropping utils_source andCorinna Vinschen2013-04-233-2/+26
| | | | | | 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.
* *** empty log message ***Corinna Vinschen2013-04-231-0/+10
|