]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
9 years ago * cygwait.h (enum cw_wait_mask): Add cw_sig_restart. Add comments
Corinna Vinschen [Mon, 23 Feb 2015 13:56:01 +0000 (13:56 +0000)]
* cygwait.h (enum cw_wait_mask): Add cw_sig_restart.  Add comments
to explain the meaning of the possible values.
* cygwait.cc (is_cw_sig_restart): Define.
(is_cw_sig_handle): Check for cw_sig_restart as well.
(cygwait): Restart always if cw_sig_restart is set.
* thread.cc (pthread::join): Call cygwait with cw_sig_restart flag
to avoid having to handle signals at all.

9 years ago * cygwait.cc (cygwait): Move setting res to WAIT_SIGNALED to clarify
Corinna Vinschen [Mon, 23 Feb 2015 13:32:16 +0000 (13:32 +0000)]
* cygwait.cc (cygwait): Move setting res to WAIT_SIGNALED to clarify
when WAIT_SIGNALED is returned to the caller.

9 years ago * winsup.h (SIGTOMASK): Add cast to sigset_t to avoid int overflow.
Corinna Vinschen [Mon, 23 Feb 2015 12:40:01 +0000 (12:40 +0000)]
* winsup.h (SIGTOMASK): Add cast to sigset_t to avoid int overflow.

9 years ago * grp.cc (internal_getgroups): Take additional timeout_ns parameter.
Corinna Vinschen [Fri, 20 Feb 2015 15:13:46 +0000 (15:13 +0000)]
* grp.cc (internal_getgroups): Take additional timeout_ns parameter.
Restrict fetching group account entries from user token groups by
timeout_ns 100ns-intervals.  Add preceding comment to explain why.
* pwdgrp.h (internal_getgroups): Align prototype.
* times.cc (GetTickCount_ns): New function.
* uinfo.cc (internal_getlogin): Call internal_getgroups wih 300ms
timeout.
* winsup.h (GetTickCount_ns): Declare.

9 years ago2015-02-19 Jon TURNEY <jon.turney@dronecode.org.uk>
Jon TURNEY [Fri, 20 Feb 2015 12:15:38 +0000 (12:15 +0000)]
2015-02-19  Jon TURNEY  <jon.turney@dronecode.org.uk>

* Makefile.in (sigfe.o): Use CFLAGS.

9 years ago2015-02-19 Jon TURNEY <jon.turney@dronecode.org.uk>
Jon TURNEY [Fri, 20 Feb 2015 12:13:59 +0000 (12:13 +0000)]
2015-02-19  Jon TURNEY  <jon.turney@dronecode.org.uk>

* include/cygwin/stdlib.h (initstate, random, setstate, srandom):
Check if __XSI_VISIBLE is set by sys/cdefs.h, rather than testing
for _XOPEN_SOURCE directly, to work correctly when _GNU_SOURCE is
set.

9 years ago * sec_acl.cc (setacl): Always grant owner FILE_WRITE_ATTRIBUTES access.
Corinna Vinschen [Thu, 19 Feb 2015 14:15:44 +0000 (14:15 +0000)]
* sec_acl.cc (setacl): Always grant owner FILE_WRITE_ATTRIBUTES access.

9 years ago * ldap.cc (struct cyg_ldap_search): Add scope member.
Corinna Vinschen [Wed, 18 Feb 2015 10:25:14 +0000 (10:25 +0000)]
* ldap.cc (struct cyg_ldap_search): Add scope member.
(cyg_ldap::search_s): Add parameter scope.  Use as LDAP search scope
instead of fixed LDAP_SCOPE_SUBTREE scope.
(ldap_search_thr): Call cyg_ldap::search_s with scope from argument.
(cyg_ldap::search): Add parameter scope and fill in to cyg_ldap_search.
(cyg_ldap::fetch_ad_account): Call search with LDAP_SCOPE_SUBTREE scope.
(cyg_ldap::fetch_posix_offset_for_domain): Call search with
LDAP_SCOPE_ONELEVEL scope.
(cyg_ldap::fetch_unix_sid_from_ad): Call search with LDAP_SCOPE_SUBTREE
scope.
(cyg_ldap::fetch_unix_name_from_rfc2307): Ditto.
* ldap.h (cyg_ldap::search): Align prototype to above change.
(cyg_ldap::search_s): Ditto.

9 years ago * ldap.cc: Macro-ize filter expressions. Use throughout to compute
Corinna Vinschen [Wed, 18 Feb 2015 10:04:14 +0000 (10:04 +0000)]
* ldap.cc: Macro-ize filter expressions.  Use throughout to compute
required filter buffer size if filter is a local buffer.

9 years ago* dump_setup.cc (check_package_files): Accommodate postinstall
Ken Brown [Tue, 17 Feb 2015 23:36:23 +0000 (23:36 +0000)]
* dump_setup.cc (check_package_files): Accommodate postinstall
files in any directory whose name contains "/postinstall/", not
just /etc/postinstall.

9 years agoApplied Andrey's and my improvments to FAQ item 4.2, discussed on the main ML.
Warren Young [Tue, 17 Feb 2015 22:38:54 +0000 (22:38 +0000)]
Applied Andrey's and my improvments to FAQ item 4.2, discussed on the main ML.

9 years ago * ldap.cc (cyg_ldap::fetch_posix_offset_for_domain): Drop stray
Corinna Vinschen [Tue, 17 Feb 2015 21:17:49 +0000 (21:17 +0000)]
* ldap.cc (cyg_ldap::fetch_posix_offset_for_domain): Drop stray
system_printf.

9 years ago * ldap.h (class cyg_ldap): Rename rootdse to def_context. Change
Corinna Vinschen [Tue, 17 Feb 2015 21:08:01 +0000 (21:08 +0000)]
* ldap.h (class cyg_ldap): Rename rootdse to def_context.  Change
throughout.
* ldap.cc (cyg_ldap::open): Fix debug output.
(cyg_ldap::fetch_ad_account): Rename rdse to base.  Restrict LDAP
query to users and groups only.
(cyg_ldap::enumerate_ad_accounts): Rearrange filter expression for
user accounts.
(SYSTEM_CONTAINER): New macro.
(cyg_ldap::fetch_posix_offset_for_domain): Set base in LDAP search
to the "System" container in the default naming context to restrict
the search scope.
(cyg_ldap::fetch_unix_sid_from_ad): Add objectCategory=Person to
search filter for users.

9 years ago * arm/crt0.S: Initialise __heap_limit when ARM_RDI_MONITOR is defined.
Corinna Vinschen [Tue, 17 Feb 2015 09:30:52 +0000 (09:30 +0000)]
* arm/crt0.S: Initialise __heap_limit when ARM_RDI_MONITOR is defined.
* arm/syscalls.c: define __heap_limit global symbol.
* arm/syscalls.c (_sbrk): Honour __heap_limit.

9 years ago * libc/machine/arm/aeabi_memclr.c: New file to support
Corinna Vinschen [Tue, 17 Feb 2015 09:26:54 +0000 (09:26 +0000)]
* libc/machine/arm/aeabi_memclr.c: New file to support
aeabi_memclr.
* libc/machine/arm/aeabi_memset.c: New file to support
aeabi_memset.
* libc/machine/arm/aeabi_memset-soft.S: Ditto.
* libc/machine/arm/aeabi_memset-arm.S: Ditto.
* libc/machine/arm/aeabi_memset-thumb.S: Ditto.
* libc/machine/arm/aeabi_memset-thumb2.S: Ditto.
* libc/machine/arm/Makefile.am: Add dependencies.
* libc/machine/arm/Makefile.in: Regenerated.

9 years ago * libc/machine/arm/aeabi_memmove.c: New file to support
Corinna Vinschen [Tue, 17 Feb 2015 09:06:51 +0000 (09:06 +0000)]
* libc/machine/arm/aeabi_memmove.c: New file to support
aeabi_memmove.
* libc/machine/arm/aeabi_memmove-soft.S: Ditto.
* libc/machine/arm/aeabi_memmove-arm.S: Ditto.
* libc/machine/arm/aeabi_memmove-thumb.S: Ditto.
* libc/machine/arm/aeabi_memmove-thumb2.S: Ditto.
* libc/machine/arm/Makefile.am: Add dependencies.
* libc/machine/arm/Makefile.in: Regenerated.

9 years ago*** empty log message ***
Corinna Vinschen [Mon, 16 Feb 2015 12:50:12 +0000 (12:50 +0000)]
*** empty log message ***

9 years ago * spawn.cc (find_exec): Extend preceeding comment to explain more
Corinna Vinschen [Mon, 16 Feb 2015 11:49:33 +0000 (11:49 +0000)]
* spawn.cc (find_exec): Extend preceeding comment to explain more
detailed what's going on in this function.  Overwrite potential symlink
target with original path.

9 years ago * setup-files.xml (setup-files): Drop hint to set HOME in Windows
Corinna Vinschen [Mon, 16 Feb 2015 10:23:01 +0000 (10:23 +0000)]
* setup-files.xml (setup-files): Drop hint to set HOME in Windows
environment.
* setup-env.xml (setup-env-ov): Discourage setting HOME in the Windows
environment.

9 years ago * posix.xml (std-gnu): Add missing __mempcpy.
Corinna Vinschen [Sun, 15 Feb 2015 09:14:02 +0000 (09:14 +0000)]
* posix.xml (std-gnu): Add missing __mempcpy.

9 years ago * i686.din (__mempcpy): Move symbol export from here...
Corinna Vinschen [Sun, 15 Feb 2015 09:13:03 +0000 (09:13 +0000)]
* i686.din (__mempcpy): Move symbol export from here...
* common.din (__mempcpy): ... to here.

9 years agoFix layout of ChangeLog entry
Corinna Vinschen [Sun, 15 Feb 2015 09:00:19 +0000 (09:00 +0000)]
Fix layout of ChangeLog entry

9 years ago * path.h (path_conv): Make path_flags private. Rename known_suffix to
Corinna Vinschen [Sun, 15 Feb 2015 08:59:55 +0000 (08:59 +0000)]
* path.h (path_conv): Make path_flags private.  Rename known_suffix to
suffix and make private.  Rename normalized_path to posix_path and
make privtae.  Accommodate name changes throughout in path_conv
methods.
(path_conv::known_suffix): New method.  Use throughout instead of
accessing suffix directly.
(path_conv::get_win32): Constify.
(path_conv::get_posix): New method to read posix_path.  Use throughout
instead of accessing normalized_path directly.
(path_conv::set_posix): Rename from set_normalized_path.  Accommodate
name change throughout.
* spawn.cc (find_exec): Return POSIX path, not Win32 path.

9 years ago*** empty log message ***
Corinna Vinschen [Thu, 12 Feb 2015 20:23:20 +0000 (20:23 +0000)]
*** empty log message ***

9 years ago * sec_acl.cc (setacl): Introduce bool array "invalid" to note the
Corinna Vinschen [Thu, 12 Feb 2015 17:53:24 +0000 (17:53 +0000)]
* sec_acl.cc (setacl): Introduce bool array "invalid" to note the
invalidation of incoming acl entries while iterating over them.

9 years ago * cygheap.h (cygheap_pwdgrp::get_home): Add dnsdomain parameter to
Corinna Vinschen [Thu, 12 Feb 2015 16:55:38 +0000 (16:55 +0000)]
* cygheap.h (cygheap_pwdgrp::get_home): Add dnsdomain parameter to
declaration in ldap-related method.
(cygheap_pwdgrp::get_shell): Ditto.
(cygheap_pwdgrp::get_gecos): Ditto.
* ldap.cc (cyg_ldap::open): Use NO_ERROR instead of 0.
(cyg_ldap::close): Reset last_fetched_sid.
(cyg_ldap::fetch_ad_account): Return immediately if sid is the same as
last_fetched_sid.  Open LDAP connection from here.  Move initialization
of rdse after open call.  Set last_fetched_sid if LDAP call was
successful.
* ldap.h (class cyg_ldap): Add member last_fetched_sid.
(cyg_ldap::cyg_ldap): Initialize last_fetched_sid.
(cyg_ldap::is_open): New inline method.
* uinfo.cc (cygheap_pwdgrp::init): Drop initialization of db_home,
db_shell and db_gecos with "cygwin desc", thus only using the fallback
by default.
(fetch_windows_home): Add parameter dnsdomain.  Call
cyg_ldap::fetch_ad_account if required.
(fetch_from_path): Add parameter dnsdomain.  Call fetch_windows_home
accordingly.
(cygheap_pwdgrp::get_home): Accomodate call to fetch_windows_home.
Add dnsdomain parameter in ldap-related method.  Call
cyg_ldap::fetch_ad_account if required.
(cygheap_pwdgrp::get_shell): Ditto.
(cygheap_pwdgrp::get_gecos): Ditto.
(pwdgrp::fetch_account_from_windows): Drop cyg_ldap::open call prior to
cyg_ldap::fetch_ad_account call.  Set is_current_user to true if we're
handling the current user account.  Make sure to perform the LDAP calls
only for users, and only if required.

9 years ago * ntsec.xml: Throughout fix references to the Cygwin version number.
Corinna Vinschen [Thu, 12 Feb 2015 08:48:34 +0000 (08:48 +0000)]
* ntsec.xml: Throughout fix references to the Cygwin version number.

9 years ago * flock.cc (fhandler_base::lock): Convert accidental system_printf to
Corinna Vinschen [Wed, 11 Feb 2015 21:45:47 +0000 (21:45 +0000)]
* flock.cc (fhandler_base::lock): Convert accidental system_printf to
debug_printf in case of non-matching file modes.  Clear up debug output.

9 years ago * or1k/or1k_uart.c: Write bugfix and cleanup/documentation.
Corinna Vinschen [Wed, 11 Feb 2015 13:33:40 +0000 (13:33 +0000)]
* or1k/or1k_uart.c: Write bugfix and cleanup/documentation.
* or1k/or1k_uart.h: Cleanup.

9 years ago * dlfcn.cc (check_path_access): Drop FE_NATIVE from find_exec call.
Corinna Vinschen [Wed, 11 Feb 2015 13:15:59 +0000 (13:15 +0000)]
* dlfcn.cc (check_path_access): Drop FE_NATIVE from find_exec call.
(gfpod_helper): Drop equality sign from environment variable name
in call to check_path_access.
* exec.cc (execlp): Drop equality sign from environment variable name
in call to find_exec.
(execvp): Ditto.
(execvpe): Ditto.
* path.h (enum fe_types): Drop FE_NATIVE.
(find_exec): Rename third paramter in declaration from search.  Drop
equality sign from default value.
* spawn.cc (perhaps_suffix): Add PC_POSIX to path_conv::check call.
(find_exec): Simplify function.  Iterate over POSIX pathlist rather
than Windows pathlist.  Drop handling of FE_NATIVE flag.  Always fill
posix path of incoming path_conv buf, unless FE_NNF flag is given.
(av::setup): Drop equality sign from environment variable name
in call to find_exec.  Call unshift with normalized_path.
* winf.cc (av::unshift): Drop conv parameter and code converting
Windows to POSIX path.
* winf.h (av::unshift): Accommodate prototype.

9 years ago * faq-using.xml (faq.using.startup-slow): New entry.
Corinna Vinschen [Wed, 11 Feb 2015 08:52:04 +0000 (08:52 +0000)]
* faq-using.xml (faq.using.startup-slow): New entry.

9 years ago * syscalls.cc (fhandler_base::stat_fixup): Generate unique inode number
Corinna Vinschen [Tue, 10 Feb 2015 20:41:16 +0000 (20:41 +0000)]
* syscalls.cc (fhandler_base::stat_fixup): Generate unique inode number
for /dev/tty under all circumstances.  Add to comment.

9 years ago*** empty log message ***
Corinna Vinschen [Fri, 6 Feb 2015 17:14:26 +0000 (17:14 +0000)]
*** empty log message ***

9 years ago * posix.xml (std-susv4): Move cabsl, cimagl, creall, hypotl, sqrtl here
Corinna Vinschen [Fri, 6 Feb 2015 17:12:18 +0000 (17:12 +0000)]
* posix.xml (std-susv4): Move cabsl, cimagl, creall, hypotl, sqrtl here
from std-notimpl.  Add finitel.

9 years ago * common.din: Export cabsl, cimagl, creall, finitel, hypotl, sqrtl.
Corinna Vinschen [Fri, 6 Feb 2015 17:09:50 +0000 (17:09 +0000)]
* common.din: Export cabsl, cimagl, creall, finitel, hypotl, sqrtl.
* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.

9 years ago * include/cygwin/version.h (CYGWIN_VERSION_DLL_MINOR): Bump to 35.
Corinna Vinschen [Fri, 6 Feb 2015 17:08:10 +0000 (17:08 +0000)]
* include/cygwin/version.h (CYGWIN_VERSION_DLL_MINOR): Bump to 35.

9 years ago * libc/include/complex.h (cabsl): Add prototype.
Nick Clifton [Fri, 6 Feb 2015 16:14:04 +0000 (16:14 +0000)]
* libc/include/complex.h (cabsl): Add prototype.
(cimagl): Add prototype.
(creall): Add prototype.
* libc/include/ieeefp.h: Include float.h.
(EXT_EXPBITS, EXT_FRACHBITS, EXT_FRACLBITS)
(EXT_EXP_INFNAN. EXT_EXP_BIAS, EXT_FRACBITS): Define.
(struct ieee_ext, union ieee_ext_u): New types for long double
support.
* libc/include/math.h (finitel): Add prototype.
(hypotl): Add prototype.
(sqrtl): Add prototype.
* libm/common/Makefile.am (lsrc): Add sl_finite.c.
* libm/common/Makefile.in: Regenerate.
* libm/common/fdlibm.h (__ieee754_hypotl): Add prototype.
* libm/common/hypotl.c (hypotl): Add implementation for when long
double is larger than double.
* libm/common/sqrtl.c (sqrtl): Likewise.
* libm/common/sl_finite.c: New file.  Adds implementation of the
finitel function.
* libm/complex/Makefile.am (lsrc): Define.
(libcomplex_la_SOURCES): Add lsrc.
(lib_a_SOURCES): Add lsrc.
* libm/complex/Makefile.in: Regenerate.
* libm/complex/cabs.c: Add documentation of cabsl function.
* libm/complex/cimag.c: Add documentation of cimagl function.
* libm/complex/creall.c: Add documentation of creall function.
* libm/complex/cabsl.c: New file.  Adds implementation of the
cabsl function.
* libm/complex/cimagl.c: New file.  Adds implementation of the
cimagl function.
* libm/complex/creall.c: New file.  Adds implementation of the
creall function.
* libm/math/Makefile.am (lsrc): Define.
(libmath_la_SOURCES): Add lsrc.
(lib_a_SOURCES): Add lsrc.
* libm/math/Makefile.in: Regenerate.
* libm/math/el_hypot.c: New file.  Adds implementation of the
__ieee754_hypotl function.

9 years ago * fhandler_proc.cc (format_proc_cpuinfo): Enable multi-core fields
Corinna Vinschen [Fri, 6 Feb 2015 11:41:56 +0000 (11:41 +0000)]
* fhandler_proc.cc (format_proc_cpuinfo): Enable multi-core fields
on Intel CPUs.

9 years ago * posix.xml (std-susv4): Move wcstold here from std-notimpl.
Corinna Vinschen [Wed, 4 Feb 2015 11:05:24 +0000 (11:05 +0000)]
* posix.xml (std-susv4): Move wcstold here from std-notimpl.

9 years ago * new-features.xml (ov-new1.7.34): Add wcstold.
Corinna Vinschen [Wed, 4 Feb 2015 11:04:12 +0000 (11:04 +0000)]
* new-features.xml (ov-new1.7.34): Add wcstold.

9 years ago * common.din (wcstold): Export.
Corinna Vinschen [Wed, 4 Feb 2015 11:03:36 +0000 (11:03 +0000)]
* common.din (wcstold): Export.
* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.

9 years ago * libc/include/wchar.h (wcstold): Drop _LDBL_EQ_DBL requirement for
Corinna Vinschen [Wed, 4 Feb 2015 11:02:36 +0000 (11:02 +0000)]
* libc/include/wchar.h (wcstold): Drop _LDBL_EQ_DBL requirement for
declaration.

9 years ago * faq-using.xml (faq.using.ssh-pubkey-stops-working): New entry.
Corinna Vinschen [Wed, 4 Feb 2015 10:40:22 +0000 (10:40 +0000)]
* faq-using.xml (faq.using.ssh-pubkey-stops-working): New entry.
(faq.using.same-with-rhosts): Ditto.

9 years ago * utils.xml (regtool): Clarify save action. Add description for
Corinna Vinschen [Tue, 3 Feb 2015 15:23:37 +0000 (15:23 +0000)]
* utils.xml (regtool): Clarify save action.  Add description for
restore action.
* new-features.xml (ov-new1.7.34): Add regtool restore.

9 years ago*** empty log message ***
Corinna Vinschen [Tue, 3 Feb 2015 15:21:58 +0000 (15:21 +0000)]
*** empty log message ***

9 years ago * regtool.cc (longopts): Add --force option.
Corinna Vinschen [Tue, 3 Feb 2015 15:14:57 +0000 (15:14 +0000)]
* regtool.cc (longopts): Add --force option.
(opts): Add -f option.
(restore_flags): New variable.
(usage): Clarify working of save action.  Add restore action.  Add
description for -f/--force option.
(set_privilege): Drop function.  The Cygwin DLL is doing that anyway.
(cmd_save): Drop call to set_privilege.
(cmd_restore): New function.
(main): Handle -f/--force option.

9 years ago * Throughout, replace http with https as far as cygwin.com and
Corinna Vinschen [Tue, 3 Feb 2015 13:48:43 +0000 (13:48 +0000)]
* Throughout, replace http with https as far as cygwin.com and
sourceware.org URLs are concerned.
* Throughout, simplify ulink expressions if the visible text is the
URL anyway.
* faq-programming.xml (faq.programming.dll-relocatable): Remove.
* faq-setup.xml (faq.setup.name-with-space): Change for 1.7.34.
(faq.setup.home): Ditto.
* faq-using.xml (faq.using.printing): Clarify old links and availability
of a2ps and file.
(faq.using.xemacs): Drop outdated version info and pointers to native
XEmacs.
(faq.using.ntemacs): Remove.
* faq-what.xml (faq.what.what): Rephrase to reflect reality.
(faq.what.supported): Ditto.
(faq.what.who): Rephrase slightly.
* legal.xml: Bump copyright.
* setup-net.xml (internet-setup): Fix references to setup executables.

9 years ago * mkvers.sh: Automate generating the copyright date in the version
Corinna Vinschen [Tue, 3 Feb 2015 13:15:49 +0000 (13:15 +0000)]
* mkvers.sh: Automate generating the copyright date in the version
resource.
* winver.rc: Ditto.

9 years ago * libc/stdlib/wcstold.c (wcstold): Add implementation for when
Nick Clifton [Thu, 29 Jan 2015 08:37:26 +0000 (08:37 +0000)]
* libc/stdlib/wcstold.c (wcstold): Add implementation for when
long double is not the same as double.

9 years ago * libc/include/sys/time.h: #include <sys/cdefs.h> for __BSD_VISIBLE.
Corinna Vinschen [Wed, 28 Jan 2015 21:03:41 +0000 (21:03 +0000)]
* libc/include/sys/time.h: #include <sys/cdefs.h> for __BSD_VISIBLE.

9 years ago * Makefile.in: Simplify rule to build dependencies from cygwin dir.
Corinna Vinschen [Wed, 28 Jan 2015 11:46:25 +0000 (11:46 +0000)]
* Makefile.in: Simplify rule to build dependencies from cygwin dir.

9 years ago * Makefile.in (VERSION_OFILES): New variable containing object files
Corinna Vinschen [Wed, 28 Jan 2015 11:43:06 +0000 (11:43 +0000)]
* Makefile.in (VERSION_OFILES): New variable containing object files
with version information.  Use throughout.
(clean): Drop winver_stamp.
(version.cc winver.o): Drop empty rule.
(winver_stamp): Convert to rule targeting version.cc and winver.o
directly.  Drop touching winver_stamp.  Fix typo.

9 years agoFix typo
Corinna Vinschen [Tue, 27 Jan 2015 14:59:58 +0000 (14:59 +0000)]
Fix typo

9 years ago*** empty log message ***
Corinna Vinschen [Tue, 27 Jan 2015 14:59:36 +0000 (14:59 +0000)]
*** empty log message ***

9 years agoFix entry header
Corinna Vinschen [Sat, 24 Jan 2015 20:05:08 +0000 (20:05 +0000)]
Fix entry header

9 years ago * uname.cc (uname): Shorten "WOW64" to "WOW" to account for the new
Corinna Vinschen [Sat, 24 Jan 2015 19:56:42 +0000 (19:56 +0000)]
* uname.cc (uname): Shorten "WOW64" to "WOW" to account for the new
Windows 10 OS version "10.0" starting with preview build 9926.

9 years ago * new-features.xml (ov-new1.7.34): Add extension of gethostbyname2.
Corinna Vinschen [Fri, 23 Jan 2015 14:59:44 +0000 (14:59 +0000)]
* new-features.xml (ov-new1.7.34): Add extension of gethostbyname2.
Add sockatmark.

9 years ago*** empty log message ***
Corinna Vinschen [Fri, 23 Jan 2015 14:57:19 +0000 (14:57 +0000)]
*** empty log message ***

9 years ago * net.cc (cygwin_inet_pton): Declare.
Corinna Vinschen [Fri, 23 Jan 2015 10:46:22 +0000 (10:46 +0000)]
* net.cc (cygwin_inet_pton): Declare.
(gethostby_specials): New function.
(gethostby_helper): Change returned addrtype in 4-to-6 case.
(gethostbyname2): Call gethostby_specials.

9 years ago Complete action from 2001-12-18:
Corinna Vinschen [Fri, 23 Jan 2015 10:16:00 +0000 (10:16 +0000)]
Complete action from 2001-12-18:
* libc/machine/i386/f_*: Remove duplicate files.

9 years ago* sparc/crt0.S: Declare use of system registers.
Yaakov Selkowitz [Thu, 22 Jan 2015 17:38:39 +0000 (17:38 +0000)]
* sparc/crt0.S: Declare use of system registers.
* sparc/cygmon-crt0.S: Ditto.
* sparc/erc32-crt0.S: Ditto.
* sparc/traps.S: Ditto.

9 years ago* libc/sys/sparc64/sys/time.h: #include <sys/types.h> for time_t.
Yaakov Selkowitz [Thu, 22 Jan 2015 17:34:47 +0000 (17:34 +0000)]
* libc/sys/sparc64/sys/time.h: #include <sys/types.h> for time_t.

9 years ago * libc/sys/or1k/mlock.c: Fix dependency on libgloss.
Corinna Vinschen [Thu, 22 Jan 2015 15:32:51 +0000 (15:32 +0000)]
* libc/sys/or1k/mlock.c: Fix dependency on libgloss.

9 years ago * fhandler.h (class fhandler_process): Add fd_type member.
Corinna Vinschen [Thu, 22 Jan 2015 13:46:12 +0000 (13:46 +0000)]
* fhandler.h (class fhandler_process): Add fd_type member.
* fhandler_process.cc (process_tab): Fix indentation.
(fhandler_process::exists): Rely on format_process_fd returning file
type in fd_type.
(struct process_fd_t): Add fd_type member.
(fhandler_process::fill_filebuf): Allow format_process_fd to set
this->fd_type member.
(format_process_fd): Fix path evaluation to allow recognizing trailing
path components.  Fix check for file descriptor path component.  Return
virt_symlink in fd_type if no trailing path compenents exist, return
virt_fsdir otherwise and copy full resulting path into destbuf.
* path.cc (path_conv::check): If /proc/$PID/fd symlink has trailing
path components, reparse resulting path as if it's the incoming path.
Add comment to wail over the outdated and hackish check method, and to
explain what we do here.

9 years ago * uinfo.cc (pwdgrp::fetch_account_from_windows): Allow fetching gid,
Corinna Vinschen [Wed, 21 Jan 2015 20:40:33 +0000 (20:40 +0000)]
* uinfo.cc (pwdgrp::fetch_account_from_windows): Allow fetching gid,
home, shell and gecos info from NT4 domain.

9 years ago * COPYING.LIBGLOSS: Add Controls and Data Services copyright.
Eric Botcazou [Wed, 21 Jan 2015 18:27:47 +0000 (18:27 +0000)]
* COPYING.LIBGLOSS: Add Controls and Data Services copyright.
* COPYING.NEWLIB: Likewise.
libgloss/
* configure.in: Add Visium support.
* configure: Regenerate.
* visium/: New directory.
newlib/
* configure.host: Add Visium support.
* libc/machine/configure.in: Likewise.
* libc/machine/configure: Regenerate.
* libc/machine/visium/: New directory.
* libc/include/machine/setjmp.h (_JBLEN): Define for Visium.
* libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Likewise.
* libc/include/machine/time.h (_CLOCKS_PER_SEC_): Likewise.

9 years ago * sec_auth.cc (get_logon_server): Constify domain parameter.
Corinna Vinschen [Wed, 21 Jan 2015 16:31:38 +0000 (16:31 +0000)]
* sec_auth.cc (get_logon_server): Constify domain parameter.
* security.h (get_logon_server): Same in prototype.

9 years ago* rl78/crt0.S: Initialize .saddr. Avoid using SEL.
DJ Delorie [Tue, 20 Jan 2015 18:43:36 +0000 (18:43 +0000)]
* rl78/crt0.S: Initialize .saddr.  Avoid using SEL.
* rl78/rl78-sim.ld: Add .saddr/.frodata section.
* rl78/rl78.ld: Likewise.
* rl78/rl78-sim.ld: Make room for virtual register banks.
* rl78/rl78.ld: Likewise.

* rl78/vregs.h: New.
* rl78-sys.h: Use it.
* rl78/swrite.S: New.
* rl78/Makefile.in: Build it.
* rl78/write.c: Use it.

9 years ago * posix.xml (std-susv4): Move sockatmark here from std-notimpl.
Corinna Vinschen [Tue, 20 Jan 2015 18:24:23 +0000 (18:24 +0000)]
* posix.xml (std-susv4): Move sockatmark here from std-notimpl.

9 years ago * common.din (sockatmark): Export.
Corinna Vinschen [Tue, 20 Jan 2015 18:23:20 +0000 (18:23 +0000)]
* common.din (sockatmark): Export.
* net.cc (sockatmark): New function.
* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.

9 years ago * libc/sys/configure.in: Add OpenRISC.
Corinna Vinschen [Tue, 20 Jan 2015 12:28:27 +0000 (12:28 +0000)]
* libc/sys/configure.in: Add OpenRISC.
* libc/sys/configure: Regenerate.

9 years agoFix typo in entry header
Corinna Vinschen [Tue, 20 Jan 2015 12:27:30 +0000 (12:27 +0000)]
Fix typo in entry header

9 years agoFix dates
Corinna Vinschen [Tue, 20 Jan 2015 10:13:26 +0000 (10:13 +0000)]
Fix dates

9 years ago * libc/machine/aarch64/strlen.S (strlen): Improve performance.
Corinna Vinschen [Tue, 20 Jan 2015 10:11:56 +0000 (10:11 +0000)]
* libc/machine/aarch64/strlen.S (strlen): Improve performance.

9 years ago*** empty log message ***
Corinna Vinschen [Tue, 20 Jan 2015 10:03:02 +0000 (10:03 +0000)]
*** empty log message ***

9 years ago * configure.host: Add extra system for OpenRISC baremetal.
Corinna Vinschen [Tue, 20 Jan 2015 09:59:40 +0000 (09:59 +0000)]
* configure.host: Add extra system for OpenRISC baremetal.

9 years ago * bsd_helper.h: Throughout, convert "struct thread" to "class thread".
Corinna Vinschen [Mon, 19 Jan 2015 17:42:38 +0000 (17:42 +0000)]
* bsd_helper.h: Throughout, convert "struct thread" to "class thread".
* bsd_mutex.cc (_msleep): Fetch signal_arrived handle from thread's
ipcblk.
* process.h (class process): Drop _signal_arrived and align methods.
(process_cache::process): Drop signal_arrived parameter.
* process.cc (process::process): Ditto.  Drop related code.
(process::~process): Drop closing signal_arrived handle.
(process_cache::process): Drop signal_arrived parameter in call to
process::process.
(thread::dup_signal_arrived): New method duplicating thread's
signal_arrived handle.
(thread::close_signal_arrived): New method closing thread's
signal_arrived handle.
* msg.cc (client_request_msg::serve): Drop signal_arrived parameter from
call to process_cache::process. Use thread constructor to initialize td.
* sem.cc (client_request_sem::serve): Ditto.
* shm.cc (client_request_shm::serve): Ditto.

9 years ago * cygserver_ipc.h (ipc_retval): Add default constructor.
Corinna Vinschen [Mon, 19 Jan 2015 17:42:04 +0000 (17:42 +0000)]
* cygserver_ipc.h (ipc_retval): Add default constructor.
(class thread): struct->class.  Add prototypes for new private methods
dup_signal_arrived and close_signal_arrived.  Implement constructor and
destructor.

9 years ago* rl78/crt0.S: Initialize .saddr. Avoid using SEL.
DJ Delorie [Fri, 16 Jan 2015 22:21:34 +0000 (22:21 +0000)]
* rl78/crt0.S: Initialize .saddr.  Avoid using SEL.
* rl78/rl78-sim.ld: Add .saddr/.frodata section.
* rl78/rl78.ld: Likewise.
* rl78/rl78-sim.ld: Make room for virtual register banks.
* rl78/rl78.ld: Likewise.

* rl78/vregs.h: New.
* rl78-sys.h: Use it.
* rl78/swrite.S: New.
* rl78/Makefile.in: Build it.
* rl78/write.c: Use it.

9 years ago * gendef: Export _sigbe on 64 bit as well.
Corinna Vinschen [Fri, 16 Jan 2015 16:19:37 +0000 (16:19 +0000)]
* gendef: Export _sigbe on 64 bit as well.
* malloc_wrapper.cc (free): In malloc_printf, call caller_return_address
instead of __builtin_return_address.
(malloc): Ditto.
(realloc): Ditto.
(calloc): Ditto.
* miscfuncs.cc (__caller_return_address): New function.
* miscfuncs.h (caller_return_address): New macro calling
__caller_return_address.
(__caller_return_address): Add prototype.

9 years agomerge from gcc
DJ Delorie [Thu, 15 Jan 2015 21:01:51 +0000 (21:01 +0000)]
merge from gcc

9 years agomerge from gcc
DJ Delorie [Wed, 14 Jan 2015 22:03:05 +0000 (22:03 +0000)]
merge from gcc

9 years ago2015-01-14 Joel Sherrill <joel.sherrill@oarcorp.com>
Jeff Johnston [Wed, 14 Jan 2015 21:19:26 +0000 (21:19 +0000)]
2015-01-14  Joel Sherrill <joel.sherrill@oarcorp.com>

        * libc/include/sys/unistd.h [__BSD_VISIBLE]: Add issetugid() prototype.

9 years ago2015-01-14 Joel Sherrill <joel.sherrill@oarcorp.com>
Jeff Johnston [Wed, 14 Jan 2015 21:15:36 +0000 (21:15 +0000)]
2015-01-14  Joel Sherrill <joel.sherrill@oarcorp.com>

        * doc/makedoc.c: Use uintptr_t to avoid int/pointer size warnings

9 years ago*** empty log message ***
Corinna Vinschen [Wed, 14 Jan 2015 12:39:58 +0000 (12:39 +0000)]
*** empty log message ***

9 years ago * ntsec.xml (ntsec-mapping-nsswitch-passwd): Document /path %H wildcard.
Corinna Vinschen [Wed, 14 Jan 2015 11:23:29 +0000 (11:23 +0000)]
* ntsec.xml (ntsec-mapping-nsswitch-passwd): Document /path %H wildcard.
(ntsec-mapping-nsswitch-home): Disable text explaining how the home
directory is fetched from the homeDrive attribute.

9 years ago * uinfo.cc (fetch_windows_home): Disable fetching from homeDrive or
Corinna Vinschen [Wed, 14 Jan 2015 11:13:23 +0000 (11:13 +0000)]
* uinfo.cc (fetch_windows_home): Disable fetching from homeDrive or
usri3_home_dir_drive.  Add comment.

9 years ago * cygwinenv.xml (cygwinenv-removed-options): Accommodate list of
Corinna Vinschen [Wed, 14 Jan 2015 11:00:47 +0000 (11:00 +0000)]
* cygwinenv.xml (cygwinenv-removed-options): Accommodate list of
always uppercased Windows variables to latest change.

9 years ago * environ.cc (renv_arr): Drop variables not usually in a Windows
Corinna Vinschen [Wed, 14 Jan 2015 10:40:03 +0000 (10:40 +0000)]
* environ.cc (renv_arr): Drop variables not usually in a Windows
environment and all variables being uppercase anyway.  But keep
TMP and TEMP for paranoia.

9 years ago * environ.cc (build_env): When merging the user's Windows environment,
Corinna Vinschen [Wed, 14 Jan 2015 10:31:14 +0000 (10:31 +0000)]
* environ.cc (build_env): When merging the user's Windows environment,
explicitely skip the variables needing conversion to avoid collisions.
Extend comment to explain.

9 years ago * or1k/include/or1k-sprs.h: New auto-generated header file.
Corinna Vinschen [Wed, 14 Jan 2015 09:56:02 +0000 (09:56 +0000)]
* or1k/include/or1k-sprs.h: New auto-generated header file.

9 years ago * configure.host: Add extra system for OpenRISC baremetal
Corinna Vinschen [Wed, 14 Jan 2015 09:25:16 +0000 (09:25 +0000)]
* configure.host: Add extra system for OpenRISC baremetal
* libc/include/sys/config.h: Dynamic reentrancy for or1k sys targets
* libc/sys/or1k/: New system for or1k baremetal
* libc/sys/or1k/Makefile.am: New file
* libc/sys/or1k/Makefile.in: New file
* libc/sys/or1k/aclocal.m4: New file
* libc/sys/or1k/configure.in: New file
* libc/sys/or1k/configure: New file
* libc/sys/or1k/getreent.S: New file
* libc/sys/or1k/mlock.S: New file
* libc/sys/or1k/or1k-asm.S: New file

9 years ago * uinfo.cc (pwdgrp::fetch_account_from_windows): Drop code from
Corinna Vinschen [Tue, 13 Jan 2015 09:06:53 +0000 (09:06 +0000)]
* uinfo.cc (pwdgrp::fetch_account_from_windows): Drop code from
2014-11-17, always prepending domain to NT SERVICE accounts when
searching by name.  Fix test expression to allow fully qualified
names for NT SERVICE accounts.  Extend comment to explain a bit.

9 years agocopyright fix
Corinna Vinschen [Tue, 13 Jan 2015 08:52:26 +0000 (08:52 +0000)]
copyright fix

9 years ago * minires-os-if.c (cygwin_query): Change questions into answers.
Corinna Vinschen [Mon, 12 Jan 2015 16:38:02 +0000 (16:38 +0000)]
* minires-os-if.c (cygwin_query): Change questions into answers.

9 years ago * testsuite/newlib.wctype/tiswctype.c (main): Use wide character type
Corinna Vinschen [Mon, 12 Jan 2015 10:50:26 +0000 (10:50 +0000)]
* testsuite/newlib.wctype/tiswctype.c (main): Use wide character type
function.

9 years ago * cygheap.h (cygheap_pwdgrp::get_shell): Add sid to argument list.
Corinna Vinschen [Thu, 8 Jan 2015 17:08:47 +0000 (17:08 +0000)]
* cygheap.h (cygheap_pwdgrp::get_shell): Add sid to argument list.
(cygheap_pwdgrp::get_gecos): Ditto.
* uinfo.cc (fetch_windows_home): Accept cyg_ldap and PUSER_INFO_3
arguments, and fetch db home dir values right here.
(fetch_from_path): Accept cyg_ldap, PUSER_INFO_3 pointers and sid
arguments.  Add '%H' format specifier to fetch Windows home dir in
POSIX notation.
(cygheap_pwdgrp::get_home): Accommodate changes to fetch_windows_home
and fetch_from_path.
(cygheap_pwdgrp::get_shell): Ditto.
(cygheap_pwdgrp::get_gecos): Ditto.
(pwdgrp::fetch_account_from_windows): Accommodate sid argument to
cygheap_pwdgrp::get_shell and cygheap_pwdgrp::get_gecos.

9 years ago*** empty log message ***
Corinna Vinschen [Thu, 8 Jan 2015 13:39:53 +0000 (13:39 +0000)]
*** empty log message ***

9 years ago * include/cygwin/socket.h (struct cmsghdr): Redefine cmsg_len as type
Corinna Vinschen [Thu, 8 Jan 2015 13:12:50 +0000 (13:12 +0000)]
* include/cygwin/socket.h (struct cmsghdr): Redefine cmsg_len as type
size_t.  Add comment to explain why.

9 years ago * libc/time/strftime.c (__strftime): Utilize __TM_GMTOFF and __TM_ZONE
Corinna Vinschen [Thu, 8 Jan 2015 09:51:34 +0000 (09:51 +0000)]
* libc/time/strftime.c (__strftime): Utilize __TM_GMTOFF and __TM_ZONE
on systems where available.  On Cygwin, call function to get values.
Add comment to explain why.  Drop TZ_LOCK/TZ_UNLOCK in 'z' case since
it's not necessary.  In 'Z' case, add a comment to document a potential
codeset problem.

This page took 0.068368 seconds and 5 git commands to generate.