summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * cygerrno.h (seterrno): Define as (always) inline function.Corinna Vinschen2014-08-153-11/+14
| | | | * errno.cc (seterrno): Remove.
* Add missing file from last patchCorinna Vinschen2014-08-151-0/+18
|
* * cygwin-api.xml: Include misc-funcs.xml.Corinna Vinschen2014-08-143-0/+70
| | | | * misc-funcs.xml: New file.
* * dll_init.sgml: Remove.Corinna Vinschen2014-08-145-62/+7
| | | | | | * dtable.sgml: Move into ../doc/misc-funcs.xml. * external.sgml: Ditto. * stackdump.sgml: Ditto.
* * cygwin-api.xml: Move chapter tags from path.xml back here.Corinna Vinschen2014-08-144-15/+85
| | | | | | Include logon-funcs.xml. * logon-funcs.xml: Moved from ../cygwin here and converted to XML. * path.xml: Drop chapter tags. Create subsections.
* * security.sgml: Move to ../doc dir and rename to logon-funcs.xml.Corinna Vinschen2014-08-142-45/+4
|
* * Makefile.in: Throughout use parenthesis instead of braces whereCorinna Vinschen2014-08-1411-824/+3909
| | | | | | | | | | | | | | | | | | | appropriate. (DBXDIRS): Remove. (XSLTPROC): Define for symmetry. Use throughout. (clean): Drop removing cygwin-api.xml and doctool.*. (cygwin-api.xml): Drop rule. (doctool): Drop rule. (Makefile.dep): Add dependency to cygwin-api.xml. * cygwin-api.in.xml: Rename to cygwin-api.xml. Convert includes to XML XInclude style. * doctool.c: Remove. * doctool.txt: Remove. * faq-programming.xml: Drop reference to local utils.xml file. * path.xml: Moved from ../cygwin and converted to XML. * posix.xml: Ditto. * using.xml: Drop relative path from utils.xml include. * utils.xml: Moved from ../utils.
* * utils.xml: Move to ../doc.Corinna Vinschen2014-08-142-2104/+4
|
* * path.sgml: Move to ../doc dir and rename to path.xml.Corinna Vinschen2014-08-143-1735/+6
| | | | * posix.sgml: Move to ../doc dir and rename to posix.xml.
* * dlmalloc.c: Remove unused file.Corinna Vinschen2014-08-144-5199/+2516
| | | | | * dlmalloc.h: Ditto. * malloc.cc: Update to Doug Lea's malloc version 2.8.6.
* * arm/elf-nano.specs: New file.Corinna Vinschen2014-08-144-12/+31
| | | | | | * arm/elf-rdimon.specs: Support nano.specs. * arm/Makefile.in: Support nano.specs. * libnosys/nosys.specs: Support nano.specs.
* * libc/stdio/findfp.c (std): Don't inline when optimizing for code size.Corinna Vinschen2014-08-142-0/+8
|
* * new-features.xml: (ov-new1.7.33): Add new section.Corinna Vinschen2014-08-132-1/+28
| | | | (ov-new1.7.32): Reflect intermediate 1.7.32 release.
* * include/cygwin/version.h (CYGWIN_VERSION_DLL_MINOR): Bump to 33.Corinna Vinschen2014-08-134-9/+38
| | | | (CYGWIN_VERSION_API_MINOR): Bump to reflect intermediate 1.7.32 release.
* * cpuid.h: Add missing copyright header. Fix formatting. Use uint32_tCorinna Vinschen2014-08-115-93/+204
| | | | | | | | | | | | | instead of unsigned throughout. Change functions to static inline and always inline. (cpuid): Add parameter to set ecx, allowing to request extended CPUID info. * fhandler_proc.cc (format_proc_cpuinfo): Use uint32_t instead of unsigned throughout. Add fake decimal places to MHz info. Handle more feature flags. * fhandler_random.cc (fhandler_dev_random::write): Allow up to 4K input to add entropy. * syscalls.cc: Drop including cpuid.h.
* * common.din (__cxa_finalize): Export.Yaakov Selkowitz2014-08-075-5/+14
| | | | | | | * dcrt0.cc (cygwin_atexit): Use d->handle with __cxa_atexit. * dll_init.cc (dll_list::detach): Use d->handle with __cxa_finalize. * include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Use 274 for __cxa_finalize as well.
* * Makefile.common (COMPILE.cc): Add -fno-use-cxa-atexit.Yaakov Selkowitz2014-08-072-1/+5
|
* * passwd.c (usage): Rename DAYS to MINDAYS and MAXDAYS.Corinna Vinschen2014-08-063-21/+21
| | | | * utils.xml (passwd): Ditto.
* * ntsec.xml (ntsec-mapping): Drop plus-prepended builtin accounts asCorinna Vinschen2014-08-062-12/+24
| | | | | default setting. Add short explanation in db_prefix: always mode. Fix a type. Drop a paragraph with redundant information.
* * include/sys/file.h: Add extern "C".Corinna Vinschen2014-08-062-0/+13
|
* * libc/include/math.h: Also define M_PI etc. if _XOPEN_SOURCE isJon TURNEY2014-08-042-3/+17
| | | | defined appropriately.
* * common.din (__cxa_atexit): Export.Corinna Vinschen2014-08-043-1/+8
| | | | * include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump to 274.
* * uinfo.cc (pwdgrp::fetch_account_from_windows): Drop "plus_prepended"Corinna Vinschen2014-08-042-65/+75
| | | | | | | as naming style. Drop enum name_style_t, use a boolean "fully_qualified_name" value instead. Rework function to drop "plus_prepended" handling througout and default to "name only" style as replacement.
* * faq-what.xml (faq.what.who): Remove mention of retired setupYaakov Selkowitz2014-08-032-1/+7
| | | | maintainers. Add link to cygwin-pkg-maint.
* headers: properly decorate attributesEric Blake2014-08-016-27/+36
| | | | | | | | | | | | | | | | | | As pointed out here: https://cygwin.com/ml/cygwin/2014-07/msg00371.html any use of __attribute__ in a header that can be included by a user should be namespace-safe, by decorating the attribute arguments with __ (while gcc does a lousy job at documenting it, ALL attributes have a __ counterpart, precisely so that public headers can use attributes without risk of collision with macros belonging to user namespace). * include/pthread.h: Decorate attribute names with __, for namespace safety. * include/cygwin/core_dump.h: Likewise. * include/cygwin/cygwin_dll.h: Likewise. * include/sys/cygwin.h: Likewise. * include/sys/strace.h: Likewise.
* headers: properly decorate attributesEric Blake2014-08-0118-64/+85
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Found by: find -name '*.h' |xargs grep -i 'attribute.*(([a-z]' For an example of the type of bugs this causes, try compiling this valid C11 program (it's valid because 'noreturn' is reserved for use in the user namespace unless you include <stdnoreturn.h>): $ cat foo.c #define noreturn __attribute__((noreturn)) #include <stdlib.h> $ gcc -c -o foo.o -Wall foo.c In file included from /usr/include/stdlib.h:11:0, from foo.c:2: foo.c:1:18: error: expected ')' before '__attribute__' #define noreturn __attribute__((noreturn)) ^ /usr/include/stdlib.h:66:28: error: expected ',' or ';' before ')' token _VOID _EXFUN(abort,(_VOID) _ATTRIBUTE ((noreturn))); ^ * libc/machine/spu/spu_timer_internal.h: Decorate attribute names with __, for namespace safety. * libc/machine/xscale/machine/profile.h: Likewise. * libc/include/stdlib.h: Likewise. * libc/include/_ansi.h: Likewise. * libc/include/sys/unistd.h: Likewise. * libc/sys/linux/linuxthreads/libc-symbols.h: Likewise. * libc/sys/linux/linuxthreads/internals.h: Likewise. * libc/sys/linux/machine/i386/weakalias.h: Likewise. * libc/sys/linux/machine/i386/dl-procinfo.h: Likewise. * libc/sys/linux/machine/i386/dl-machine.h: Likewise. * libc/sys/linux/libc-symbols.h: Likewise. * libc/sys/linux/iconv/gconv_charset.h: Likewise. * libc/sys/linux/include/resolv.h: Likewise. * libc/sys/linux/sys/unistd.h: Likewise. * libc/sys/linux/dl/atomicity.h: Likewise. * libc/sys/linux/dl/dynamic-link.h: Likewise. * libc/sys/linux/dl/ldsodefs.h: Likewise.
* * faq-what.xml (faq.what.who): CGF has retired.Yaakov Selkowitz2014-08-012-8/+5
|
* * uinfo.cc (pwdgrp::fetch_account_from_windows): Fix comment.Corinna Vinschen2014-07-302-8/+11
|
* * ntsec.xml: Small improvments.Corinna Vinschen2014-07-302-10/+18
|
* * new-features.xml: (ov-new1.7): Change section title.Corinna Vinschen2014-07-302-1/+5
|
* * new-features.xml: (ov-new1.7.1): Add new section. Move old 1.7Corinna Vinschen2014-07-302-41/+50
| | | | sections into section level 3.
* * cygwin.xsl: Allow 3 section levels in TOC.Corinna Vinschen2014-07-307-221/+1381
| | | | | | | | | | | | * new-features.xml: (ov-new1.7.32): Add new section. * ntsec.xml: Rename top-level section to reflect extension of topics. Remove old /etc/passwd, /etc/group considerations. Add new sections explaining Windows to POSIX account mapping. Make setuid sections third level sections. * pathnames.xml: Note new method of account mapping for fstab.d/$USER. * faq-setup.xml: Rework references to /etc/passwd and /etc/group to reflect changes to account handling. * faq-using.xml: Ditto.
* * libc/string/strerror.c: Fix documentation so makedoc doesn'tCorinna Vinschen2014-07-302-1/+6
| | | | stumble over a sole EAGAIN.
* Add missing utils.xmlCorinna Vinschen2014-07-291-0/+1
|
* * mkgroup.c (usage): Move info message that this /etc/group isn't reallyCorinna Vinschen2014-07-294-16/+24
| | | | | required anymore more to the top of the usage output. * mkpasswd.c (usage): Ditto for /etc/passwd. Drop old text from output.
* * cygheap.h (class cygheap_domain_info): Remove lowest_tdo_posix_offset.Corinna Vinschen2014-07-295-20/+49
| | | | | | | | | | | | | | | | * ldap.cc (cyg_ldap::fetch_posix_offset_for_domain): Return UINT32_MAX in case of error. * security.h (PRIMARY_POSIX_OFFSET): Define. (NOACCESS_POSIX_OFFSET): Define. (UNUSABLE_POSIX_OFFSET): Define. * uinfo.cc (cygheap_domain_info::init): Drop initializing lowest_tdo_posix_offset. (pwdgrp::fetch_account_from_file): Set PosixOffset to either UNUSABLE_POSIX_OFFSET or NOACCESS_POSIX_OFFSET in case we don't get a sensible offset from AD. Explain why. Drop setting ch lowest_tdo_posix_offset. (pwdgrp::fetch_account_from_windows): Replace constant 0x100000 with PRIMARY_POSIX_OFFSET throughout.
* Fix typo in previous commitAnthony Green2014-07-281-1/+1
|
* Add moxiebox support.Anthony Green2014-07-276-7/+276
|
* * fhandler_socket.cc (fhandler_socket::send_internal): Fix value ofCorinna Vinschen2014-07-242-2/+12
| | | | | out_len when tweaking the last buffer so out_len is correct in a subsequent if expression.
* 2014-07-22 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2014-07-222-0/+8
| | | | | * libc/include/sys/time.h: Add prototype for adjtime() and wrap it and settimeofday() prototype with __BSD_VISIBLE.
* * thread.cc (pthread::init_mainthread): Initialize thread mutex toCorinna Vinschen2014-07-212-0/+9
| | | | type PTHREAD_MUTEX_RECURSIVE, just as for any other thread.
* bump to 32Corinna Vinschen2014-07-212-1/+5
|
* * uinfo.cc: Fix typo in comment.Corinna Vinschen2014-07-212-1/+5
|
* * new-features.xml: (ov-new1.7.31): Add new section.Corinna Vinschen2014-07-212-0/+31
|
* *** empty log message ***Corinna Vinschen2014-07-181-1/+1
|
* Fix missing generated filesCorinna Vinschen2014-07-171-0/+3
|
* * configure.host: Remove or16 and or32 targets and add or1k.Corinna Vinschen2014-07-1712-6/+6646
| | | | | | | | * libc/include/machine/ieeefp.h: Replace or32 with or1k. * libc/machine/configure.in: Add or1k subdirectory. * libc/machine/or1k/configure.in: New file. * libc/machine/or1k/Makefile.am: New file. * libc/machine/or1k/setjmp.S: New file.
* .Christopher Faylor2014-07-161-0/+4
|
* * arm/elf-aprofile-validation.specs (*link): Make text segmentCorinna Vinschen2014-07-163-2/+8
| | | | | 64k-aligned. * arm/elf-aprofile-ve.specs (*link): Likewise.
* *** empty log message ***Corinna Vinschen2014-07-161-0/+5
|