Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-08-01headers: properly decorate attributesEric Blake
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.
2014-08-01* faq-what.xml (faq.what.who): CGF has retired.Yaakov Selkowitz
2014-07-30 * uinfo.cc (pwdgrp::fetch_account_from_windows): Fix comment.Corinna Vinschen
2014-07-30 * ntsec.xml: Small improvments.Corinna Vinschen
2014-07-30 * new-features.xml: (ov-new1.7): Change section title.Corinna Vinschen
2014-07-30 * new-features.xml: (ov-new1.7.1): Add new section. Move old 1.7Corinna Vinschen
sections into section level 3.
2014-07-30 * cygwin.xsl: Allow 3 section levels in TOC.Corinna Vinschen
* 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.
2014-07-30 * libc/string/strerror.c: Fix documentation so makedoc doesn'tCorinna Vinschen
stumble over a sole EAGAIN.
2014-07-29Add missing utils.xmlCorinna Vinschen
2014-07-29 * mkgroup.c (usage): Move info message that this /etc/group isn't reallyCorinna Vinschen
required anymore more to the top of the usage output. * mkpasswd.c (usage): Ditto for /etc/passwd. Drop old text from output.
2014-07-29 * cygheap.h (class cygheap_domain_info): Remove lowest_tdo_posix_offset.Corinna Vinschen
* 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.
2014-07-28Fix typo in previous commitAnthony Green
2014-07-27Add moxiebox support.Anthony Green
2014-07-24 * fhandler_socket.cc (fhandler_socket::send_internal): Fix value ofCorinna Vinschen
out_len when tweaking the last buffer so out_len is correct in a subsequent if expression.
2014-07-222014-07-22 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill
* libc/include/sys/time.h: Add prototype for adjtime() and wrap it and settimeofday() prototype with __BSD_VISIBLE.
2014-07-21 * thread.cc (pthread::init_mainthread): Initialize thread mutex toCorinna Vinschen
type PTHREAD_MUTEX_RECURSIVE, just as for any other thread.
2014-07-21bump to 32Corinna Vinschen
2014-07-21 * uinfo.cc: Fix typo in comment.Corinna Vinschen
2014-07-21 * new-features.xml: (ov-new1.7.31): Add new section.Corinna Vinschen
2014-07-18*** empty log message ***Corinna Vinschen
2014-07-17Fix missing generated filesCorinna Vinschen
2014-07-17 * configure.host: Remove or16 and or32 targets and add or1k.Corinna Vinschen
* 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.
2014-07-16.Christopher Faylor
2014-07-16 * arm/elf-aprofile-validation.specs (*link): Make text segmentCorinna Vinschen
64k-aligned. * arm/elf-aprofile-ve.specs (*link): Likewise.
2014-07-16*** empty log message ***Corinna Vinschen
2014-07-16 * thread.cc (pthread::create): Handle stackaddr as upper bound address.Corinna Vinschen
Add comment. (pthread_attr_setstack): Store upper bound address in stackaddr. Explain why. (pthread_attr_getstack): Handle stackaddr as upper bound address. Add comment. (pthread_attr_setstackaddr): Add comment. (pthread_attr_getstackaddr): Add comment. (pthread_attr_getstacksize): Return default stacksize if stacksize has not been set by the application, just as on Linux. Add comment. (pthread_getattr_np): Store upper bound address in stackaddr. Explain why. * include/pthread.h: Remove outdated comment. (pthread_attr_getstackaddr): Mark as deprecated, as on Linux. (pthread_attr_setstackaddr): Ditto.
2014-07-16*** empty log message ***Corinna Vinschen
2014-07-16Fix typoCorinna Vinschen
2014-07-16* sigproc.cc (sigproc_init): Set aside more buffer space for signal pipes.Christopher Faylor
(sig_send): Retry WriteFiles which fail when there is no error but packbytes have not been sent.
2014-07-15* sigproc.cc (send_sig): Don't report an error if WriteFile succeeds.Christopher Faylor
2014-07-15Fix typoCorinna Vinschen
2014-07-14* sigproc.cc (send_sig): Fix bad format in diagnostic output.Christopher Faylor
2014-07-14 * libc/include/sys/errno.h: Fix comments.Corinna Vinschen
* libc/string/strerror.c: Fix documentation. (_strerror_r): Handle ENETRESET, EILSEQ, ENODATA, ECONNRESET, EADDRNOTAVAIL, EOVERFLOW. Fix strings for EMFILE and EDOM.
2014-07-14 * uinfo.cc (cygheap_domain_info::init): Correctly setCorinna Vinschen
lowest_tdo_posix_offset to UNIX_POSIX_OFFSET. (fetch_posix_offset): Redesign to fake a POSIX offset in all cases where we can't fetch a non-0 POSIX offset from our primary domain.
2014-07-14 * thread.cc (pthread_mutex::pthread_mutex): Change default typeCorinna Vinschen
to PTHREAD_MUTEX_NORMAL. (pthread_mutex::unlock): Return EPERM if the mutex has no owner and the mutex type is PTHREAD_MUTEX_ERRORCHECK, as on Linux. (pthread_mutexattr::pthread_mutexattr): Ditto. (pthread_mutex_unlock): Do not fail if mutex is a normal mutex initializer. * include/pthread.h (PTHREAD_MUTEX_INITIALIZER): Redefine as PTHREAD_NORMAL_MUTEX_INITIALIZER_NP.
2014-07-11[aarch64] Add memchr.Richard Earnshaw
2014-07-11 K�vin Petit <kevin.petit@arm.com> * libc/machine/aarch64/memchr.S: New file. * libc/machine/aarch64/memchr-stub.c: New file. * libc/machine/aarch64/Makefile.am: Add the new files. * libc/machine/aarch64/Makefile.in: Regenerated.
2014-07-09 * thread.cc (pthread::create): Use PTHREAD_DEFAULT_STACKSIZE stacksizeCorinna Vinschen
if attr.stacksize is 0. (pthread_attr::pthread_attr): Initialize stacksize to 0 to align more closely to Linux. (pthread_attr_getstack): Fix incorrect stackaddr computation. Return stackaddr just like pthread_attr_getstackaddr. Remove slightly off comment. (pthread_attr_getstackaddr): Remove slightly off comment. (pthread_getattr_np): Return stackaddr and stacksize based on the full allocated stackarea.
2014-07-09 * exceptions.cc (exception::myfault_handle): Rephrase comment.Corinna Vinschen
2014-07-09 * exceptions.cc (exception::myfault_handle): Fix typo in comment.Corinna Vinschen
2014-07-07 * exceptions.cc (exception::myfault_handle): Disable handlingCorinna Vinschen
STATUS_STACK_OVERFLOW. Explain why.
2014-07-072014-07-07 Pavel Pisa <pisa@cmp.felk.cvut.cz>Richard Earnshaw
Richard Earnshaw <rearnsha@arm.com> * libc/machine/arm/memchr.S (.arch): Require revision ARMv6t2.
2014-07-07 * configure.in (--enable-newlib-nano-formatted-io): Set to "no"Corinna Vinschen
by default. * configure: Regenerated.
2014-07-07 * fhandler_socket.cc (fhandler_socket::send_internal): Improve loop toCorinna Vinschen
write streams in chunks of wmem() bytes to raise performance when writing small buffers. Rename variables and add comments to help understanding the code in years to come.
2014-07-07 * passwd.cc (pg_ent::enumerate_ad): Revert to simply skipping a domainCorinna Vinschen
if opening the connection to the domain fails.
2014-07-07 * libc/minires.c (minires_dprintf): Change "Minires" to "Resolv" toCorinna Vinschen
differ from external minres lib. (res_nquerydomain): Fix off-by-one in domain concatenation. Add debug output.
2014-07-06 * configure.ac: Don't accept isl 0.10.Rainer Orth
* configure: Regenerate.
2014-07-042014-07-04 Bin Cheng <bin.cheng@arm.com>Jeff Johnston
* README (--enable-newlib-nano-formatted-io): Describe. * acconfig.h (_NANO_FORMATTED_IO): Undef. * newlib.hin (_NANO_FORMATTED_IO): Undef. * configure.in (--enable-newlib-nano-formatted-io): New option. * configure: Regenerated. * libc/configure.in (--enable-newlib-nano-formatted-io): New option. * libc/configure: Regenerated. * libc/stdio/Makefile.am (NEWLIB_NANO_FORMATTED_IO): Support new configuration option. * libc/stdio/Makefile.in: Regenerated. * libc/stdio/asnprintf.c (_asniprintf_r, asniprintf): Use _NANO_FORMATTED_IO to declare alias prototypes. * libc/stdio/asprintf.c (_asiprintf_r, asiprintf): Ditto. * libc/stdio/dprintf.c (_diprintf_r, diprintf): Ditto. * libc/stdio/fprintf.c (_fiprintf_r, fiprintf): Ditto. * libc/stdio/fscanf.c (fiscanf, _fiscanf_r): Ditto. * libc/stdio/printf.c (_iprintf_r, iprintf): Ditto. * libc/stdio/scanf.c (iscanf, _iscanf_r): Ditto. * libc/stdio/snprintf.c (_sniprintf_r, sniprintf): Ditto. * libc/stdio/sprintf.c (_siprintf_r, siprintf): Ditto. * libc/stdio/sscanf.c (siscanf, _siscanf_r): Ditto. * libc/stdio/vasnprintf.c (_vasniprintf_r, vasniprintf): Ditto. * libc/stdio/vasprintf.c (vasiprintf, _vasiprintf_r): Ditto. * libc/stdio/vdprintf.c (_vdiprintf_r, vdiprintf): Ditto. * libc/stdio/vprintf.c (viprintf, _viprintf_r): Ditto. * libc/stdio/vscanf.c (viscanf, _viscanf_r): Ditto. * libc/stdio/vsnprintf.c (vsniprintf, _vsniprintf_r): Ditto. * libc/stdio/vsprintf.c (vsiprintf, _vsiprintf_r): Ditto. * libc/stdio/vsscanf.c (vsiscanf, _vsiscanf_r): Ditto. * libc/stdio/nano-vfprintf.c: New file. * libc/stdio/nano-vfprintf_float.c: New file. * libc/stdio/nano-vfprintf_i.c: New file. * libc/stdio/nano-vfprintf_local.h: New file. * libc/stdio/nano-vfscanf.c: New file. * libc/stdio/nano-vfscanf_float.c: New file. * libc/stdio/nano-vfscanf_i.c: New file. * libc/stdio/nano-vfscanf_local.h: New file.
2014-07-03 * fhandler_disk_file.cc (fhandler_disk_file::fstatvfs): Add debugCorinna Vinschen
output.
2014-06-26 * legal.xml: Fix copyright.Corinna Vinschen
2014-06-25 * errno.cc (errmap): Fix order of SERVICE_REQUEST_TIMEOUT.Corinna Vinschen