]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
9 years ago2014-12-12 Stefan Wallentowitz <stefan.wallentowitz@tum.de>
Jeff Johnston [Fri, 12 Dec 2014 20:17:26 +0000 (20:17 +0000)]
2014-12-12  Stefan Wallentowitz  <stefan.wallentowitz@tum.de>

        * libc/machine/or1k/setjmp.S: Remove save/restore of r3-r8

9 years ago * libc/include/stdio.h: Fix type signature of __sfeof and __sferror
Corinna Vinschen [Thu, 11 Dec 2014 17:42:19 +0000 (17:42 +0000)]
* libc/include/stdio.h: Fix type signature of __sfeof and __sferror
(and thus feof and ferror) for C++.

9 years ago* libc/include/stdio_ext.h: Rename __fwriteable to __fwritable.
Yaakov Selkowitz [Thu, 11 Dec 2014 16:53:32 +0000 (16:53 +0000)]
* libc/include/stdio_ext.h: Rename __fwriteable to __fwritable.
[!__GNUC__]: Declare real functions for the macros, and make
the macros conditional on !__cplusplus.
* libc/stdio/Makefile.am (ELIX_4_SOURCES): Add stdio_ext.c.
(CHEWOUT_FILES): Add stdio_ext.def.
* libc/stdio/Makefile.in: Regenerate.
* libc/stdio/stdio.tex: Include stdio_ext.def.
* libc/stdio/stdio_ext.c: New file.

9 years agoRebuilt moxie/configure
Anthony Green [Thu, 11 Dec 2014 11:54:44 +0000 (11:54 +0000)]
Rebuilt moxie/configure

9 years ago * winver.rc (LegalCopyright): Fix belatedly (uh-oh).
Corinna Vinschen [Wed, 10 Dec 2014 15:41:49 +0000 (15:41 +0000)]
* winver.rc (LegalCopyright): Fix belatedly (uh-oh).

9 years ago * ntsec.xml (ntsec-mapping-samba): Clarify Samba file server setup.
Corinna Vinschen [Wed, 10 Dec 2014 12:35:36 +0000 (12:35 +0000)]
* ntsec.xml (ntsec-mapping-samba): Clarify Samba file server setup.

9 years ago * faq-using.xml (faq.using.bloda): Add Lenovo RapidBoot Shield to
Corinna Vinschen [Wed, 10 Dec 2014 12:33:25 +0000 (12:33 +0000)]
* faq-using.xml (faq.using.bloda): Add Lenovo RapidBoot Shield to
BLODA list.

9 years ago * libc/include/stdio_ext.h: Remove excess "inline".
Corinna Vinschen [Wed, 10 Dec 2014 09:39:06 +0000 (09:39 +0000)]
* libc/include/stdio_ext.h: Remove excess "inline".

9 years ago * libc/machine/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
Richard Earnshaw [Wed, 10 Dec 2014 09:35:10 +0000 (09:35 +0000)]
* libc/machine/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
register.

9 years ago * libc/machine/aarch64/strrchr.S: New file.
Richard Earnshaw [Mon, 8 Dec 2014 15:21:42 +0000 (15:21 +0000)]
* libc/machine/aarch64/strrchr.S: New file.
* libc/machine/aarch64/strrchr-stub.c: New file.
* libc/machine/aarch64/Makefile.am: Add them to build list.
* libc/machine/aarch64/Makefile.in: Regenerated.

9 years ago * libc/time/gmtime_r.c (gmtime_r): Fixed bug in calculations for dates
Corinna Vinschen [Mon, 8 Dec 2014 11:48:31 +0000 (11:48 +0000)]
* libc/time/gmtime_r.c (gmtime_r): Fixed bug in calculations for dates
after year 2069 or before year 1901. Ideas for solution taken from
musl's __secs_to_tm()

9 years ago * environ.cc (regopt): Remove function.
Corinna Vinschen [Mon, 8 Dec 2014 11:21:14 +0000 (11:21 +0000)]
* environ.cc (regopt): Remove function.
(environ_init): Drop undocumented feature to read application-specific
environment variables from the registry.
* include/cygwin/version.h (CYGWIN_INFO_PROGRAM_OPTIONS_NAME): Remove.

9 years agoFix date of latest entry
Corinna Vinschen [Mon, 8 Dec 2014 10:57:37 +0000 (10:57 +0000)]
Fix date of latest entry

9 years ago * faq-setup.xml (faq.setup.upgrade-mountpoints): Remove.
Corinna Vinschen [Mon, 8 Dec 2014 10:55:03 +0000 (10:55 +0000)]
* faq-setup.xml (faq.setup.upgrade-mountpoints): Remove.
* pathnames.xml (pathnames-mount-ex): Remove note about 1.5->1.7
registry mount point updates.

9 years ago * posix.xml (std-solaris): Point to libtirpc for xdr functions.
Corinna Vinschen [Sat, 6 Dec 2014 17:13:00 +0000 (17:13 +0000)]
* posix.xml (std-solaris): Point to libtirpc for xdr functions.

9 years ago * cygwin.xsl (toc.section.depth): Set to 4.
Corinna Vinschen [Sat, 6 Dec 2014 16:49:05 +0000 (16:49 +0000)]
* cygwin.xsl (toc.section.depth): Set to 4.
* ntsec.xml: Revamp account mapping documentation to account for the
new db_home, db_shell, db_gecos settings.

9 years ago * environ.cc (build_env): Remove loquacious debug statements.
Corinna Vinschen [Sat, 6 Dec 2014 09:54:28 +0000 (09:54 +0000)]
* environ.cc (build_env): Remove loquacious debug statements.

9 years ago* new-features.xml (ov-new1.7.34): Document qsort_r and __bsd_qsort_r.
Yaakov Selkowitz [Fri, 5 Dec 2014 16:33:02 +0000 (16:33 +0000)]
* new-features.xml (ov-new1.7.34): Document qsort_r and __bsd_qsort_r.
* posix.xml (std-bsd): Add qsort_r.
(std-gnu): Ditto.
(std-notes): Add section for qsort_r.

9 years ago* common.din (__bsd_qsort_r): Add.
Yaakov Selkowitz [Fri, 5 Dec 2014 16:31:36 +0000 (16:31 +0000)]
* common.din (__bsd_qsort_r): Add.
(qsort_r): Add.
* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.

9 years ago* libc/include/stdlib.h (__bsd_qsort_r): Declare.
Yaakov Selkowitz [Fri, 5 Dec 2014 16:21:04 +0000 (16:21 +0000)]
* libc/include/stdlib.h (__bsd_qsort_r): Declare.
(qsort_r): Declare.
* libc/search/Makefile.am (ELIX_2_SOURCES): Rename from ELIX_SOURCES.
(ELIX_4_SOURCES): Define.  Add bsd_qsort_r.c and qsort_r.c.
(libsearch_la_SOURCES): Adapt accordingly.
(lib_a_SOURCES): Adapt accordingly.
(CHEWOUT_FILES): Add qsort_r.def.
* libc/search/Makefile.in: Regenerate.
* libc/search/bsd_qsort_r.c: New file.
* libc/search/qsort.c: Update from FreeBSD HEAD. Adapt for both BSD
and GNU qsort_r flavors.
* libc/search/qsort_r.c: New file.

9 years ago * tzmap-from-unicode.org: Create tzmap as const.
Corinna Vinschen [Fri, 5 Dec 2014 14:39:04 +0000 (14:39 +0000)]
* tzmap-from-unicode.org: Create tzmap as const.
* tzmap.h: Regenerate.

9 years ago * Makefile.in: Add rules to create and depend on tzmap.h.
Corinna Vinschen [Fri, 5 Dec 2014 13:41:52 +0000 (13:41 +0000)]
* Makefile.in: Add rules to create and depend on tzmap.h.
* tzmap-from-unicode.org: New script to create tzmap.h.
* tzmap.h: New auto-generated file.
* tzset.c: Drop tzmap from here and include tzmap.h instead.  Drop
Windows 2000 considerations.

9 years ago * libc/include/sys/signal.h [__SPU__] (kill): Declare.
Corinna Vinschen [Thu, 4 Dec 2014 09:15:50 +0000 (09:15 +0000)]
* libc/include/sys/signal.h [__SPU__] (kill): Declare.

9 years ago2014-12-03 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 3 Dec 2014 20:25:09 +0000 (20:25 +0000)]
2014-12-03  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/inttypes.h: Only enable the 8-bit scanning macros
        if _WANT_IO_C99_FORMATS is defined by configuration.  Add comment
        on why.

9 years ago * new-features.xml (ov-new1.7.34): Add latest changes.
Corinna Vinschen [Wed, 3 Dec 2014 16:35:02 +0000 (16:35 +0000)]
* new-features.xml (ov-new1.7.34): Add latest changes.

9 years ago*** empty log message ***
Corinna Vinschen [Wed, 3 Dec 2014 16:32:05 +0000 (16:32 +0000)]
*** empty log message ***

9 years agoRevert accidental checkin
Corinna Vinschen [Tue, 2 Dec 2014 15:41:13 +0000 (15:41 +0000)]
Revert accidental checkin

9 years ago * flock.cc (create_lock_in_parent): Make lf_obj handle inheritable.
Corinna Vinschen [Tue, 2 Dec 2014 15:39:57 +0000 (15:39 +0000)]
* flock.cc (create_lock_in_parent): Make lf_obj handle inheritable.
Explain why.
(lockf_t::create_lock_obj): Use FALSE, rather than 0 for BOOL argument.
(lockf_t::del_lock_obj): Check if NtSetEvent succeeded and print system
message if not.

9 years ago * uinfo.cc (fetch_windows_home): New function fetching Windows-compliant
Corinna Vinschen [Tue, 2 Dec 2014 11:30:04 +0000 (11:30 +0000)]
* uinfo.cc (fetch_windows_home): New function fetching Windows-compliant
home directory.  Include longish comment to explain what we're doing.
(cygheap_pwdgrp::get_home): Take additional sid parameter.  In
NSS_SCHEME_WINDOWS case, call fetch_windows_home to create home
directory.
(pwdgrp::fetch_account_from_windows): Call cygheap_pwdgrp::get_home
with additional sid argument.
* cygheap.h (cygheap_pwdgrp::get_home): Align declaration to above
change.

9 years ago * uinfo.cc (cygheap_user::ontherange): Fix order of fallbacks creating
Corinna Vinschen [Tue, 2 Dec 2014 11:26:22 +0000 (11:26 +0000)]
* uinfo.cc (cygheap_user::ontherange): Fix order of fallbacks creating
HOMEDRIVE/HOMEPATH values to be Windows-compliant.  Add comments.

9 years ago * autoload.cc (CreateProfile): Import.
Corinna Vinschen [Tue, 2 Dec 2014 10:49:47 +0000 (10:49 +0000)]
* autoload.cc (CreateProfile): Import.
(LoadUserProfileW): Import.
* registry.cc (get_registry_hive_path): Move to sec_auth.cc.
(load_registry_hive): Remove.
* registry.h (get_registry_hive_path): Drop declaration.
(load_registry_hive): Ditto.
* sec_auth.cc (get_user_profile_directory): Moved from registry.cc and
renamed.  Take third parameter with buffer length.
(load_user_profile): New function taking over for load_registry_hive.
Use official functions to load profile.  If profile is missing, create
it on Vista and later.
* security.h (get_user_profile_directory): Declare.
(load_user_profile): Declare.
* syscalls.cc (seteuid32): Replace call to load_registry_hive with call
to load_user_profile.
* uinfo.cc (cygheap_user::env_userprofile): Replace call to
get_registry_hive_path with call to get_user_profile_directory.

9 years ago * uinfo.cc (fetch_from_description): Make static.
Corinna Vinschen [Tue, 2 Dec 2014 10:28:42 +0000 (10:28 +0000)]
* uinfo.cc (fetch_from_description): Make static.
(fetch_from_path): Ditto.

9 years ago * autoload.cc (CreateEnvironmentBlock): Import.
Corinna Vinschen [Tue, 2 Dec 2014 10:16:03 +0000 (10:16 +0000)]
* autoload.cc (CreateEnvironmentBlock): Import.
(DestroyEnvironmentBlock): Import.
* environ.cc (env_compare): New static bsearch comparison function.
(build_env): Add parameter taking a user token.  If token is non-NULL,
fetch user's default Windows environment and merge it into the resulting
environment.  Explain what we do in preceeding comment.
* environ,h (build_env): Align prototype to above change.
* external.cc (create_winenv): Call build_env with NULL token.
* spawn.cc (child_info_spawn::worker): When spawning new process under
another user account, call build_env with new token to allow merging
user's default Windows environment.
* winlean.h (_USERENV_): Define to override dllimport.

9 years ago * spawn.cc (child_info_spawn::worker): Fix formatting.
Corinna Vinschen [Tue, 2 Dec 2014 10:09:13 +0000 (10:09 +0000)]
* spawn.cc (child_info_spawn::worker): Fix formatting.

9 years ago * sec_auth.cc (str2lsa): Remove.
Corinna Vinschen [Tue, 2 Dec 2014 10:04:53 +0000 (10:04 +0000)]
* sec_auth.cc (str2lsa): Remove.
(str2buf2lsa): Remove.
(lsaauth): Call RtlInitAnsiString instead of str2lsa and str2buf2lsa.

9 years ago * cygheap.cc (init_cygheap::init_installation_root): Fix typo in
Corinna Vinschen [Tue, 2 Dec 2014 09:59:53 +0000 (09:59 +0000)]
* cygheap.cc (init_cygheap::init_installation_root): Fix typo in
comment.

9 years ago * autoload.cc (IdnToAscii): Use simpler, equivalent LoadDLLfuncEx.
Corinna Vinschen [Tue, 2 Dec 2014 09:59:01 +0000 (09:59 +0000)]
* autoload.cc (IdnToAscii): Use simpler, equivalent LoadDLLfuncEx.
(IdnToUnicode): Ditto.

9 years ago * wincap.cc (wincap_minimal): Remove.
Corinna Vinschen [Mon, 1 Dec 2014 14:02:55 +0000 (14:02 +0000)]
* wincap.cc (wincap_minimal): Remove.
(wincaps): Drop has_physical_mem_access.
(wincap_10): New global wincaps to support Windows 10.
(wincapc::init): Use wincap_10 for version >= 6.4 and as default.
* wincap.h (wincaps::has_physical_mem_access): remove.

9 years ago * cygheap.cc (init_cygheap::init_tls_list): Accommodate threadlist
Corinna Vinschen [Fri, 28 Nov 2014 20:46:13 +0000 (20:46 +0000)]
* cygheap.cc (init_cygheap::init_tls_list): Accommodate threadlist
having a new type threadlist_t *.  Convert commented out code into an
#if 0.  Create thread mutex.  Explain why.
(init_cygheap::remove_tls): Drop timeout value.  Always wait infinitely
for tls_sentry.  Return mutex HANDLE of just deleted threadlist entry.
(init_cygheap::find_tls): New implementation taking tls pointer as
search parameter.  Return threadlist_t *.
(init_cygheap::find_tls): Return threadlist_t *.  Define ix as auto
variable.  Drop exception handling since crash must be made impossible
due to correct synchronization.  Return with locked mutex.
* cygheap.h (struct threadlist_t): Define.
(struct init_cygheap): Convert threadlist to threadlist_t type.
(init_cygheap::remove_tls): Align declaration to above change.
(init_cygheap::find_tls): Ditto.
(init_cygheap::unlock_tls): Define.
* cygtls.cc (_cygtls::remove): Unlock and close mutex when finishing.
* exceptions.cc (sigpacket::process): Lock _cygtls area of thread before
accessing it.
* fhandler_termios.cc (fhandler_termios::bg_check): Ditto.
* sigproc.cc (sig_send): Ditto.
* thread.cc (pthread::exit): Ditto.  Add comment.
(pthread::cancel): Ditto.

9 years ago* Makefile.in (XSLTPROC): Remove.
Yaakov Selkowitz [Fri, 28 Nov 2014 20:25:24 +0000 (20:25 +0000)]
* Makefile.in (XSLTPROC): Remove.
(cygwin-ug-net/cygwin-ug-net.pdf): Build with xmlto pdf.
(cygwin-api/cygwin-api.pdf): Ditto.
(faq/faq.html): Fix extraneous anchor removal.

9 years ago * cygheap.cc (init_cygheap::find_tls): Add comment.
Corinna Vinschen [Fri, 28 Nov 2014 12:10:12 +0000 (12:10 +0000)]
* cygheap.cc (init_cygheap::find_tls): Add comment.
* cygtls.cc (well_known_dlls): Rephrase comment.
(bloda_detect): New function.
(_cygtls::call2): Call init_thread and bloda_detect for non-pthread
threads only.
(_cygtls::remove): Move remove_tls and remove_wq calls up to run first.
* miscfuncs.cc (struct pthread_wrapper_arg): Rename from struct
thread_wrapper_arg.
(pthread_wrapper): Rename from thread_wrapper and drop "static".  Fix
comment.  Drop call to _cygtls::remove.  Call api_fatal rather than
ExitThread.  Explain why.
* miscfuncs.h (pthread_wrapper): Declare pthread_wrapper.
* thread.cc (pthread::exit): Add a FIXME comment.  Call _cygtls::remove
before calling ExitThread.

9 years ago * mips/crt0.S: Configure processor based on .MIPS.abiflags.
Corinna Vinschen [Fri, 28 Nov 2014 08:51:03 +0000 (08:51 +0000)]
* mips/crt0.S: Configure processor based on .MIPS.abiflags.
Remove FPU availability check, just use the pre-processor flags
to indicicate what the user wanted.
* mips/abiflags.S: New file.
* mips/regs.S (SR_MSA): Define macro.
* mips/mti32.ld: Place .MIPS.abiflags and wrap in marker symbols.
* mips/mti64.ld: Likewise.
* mips/mti64_64.ld: Likewise.
* mips/mti64_n32.ld: Likewise.

9 years ago * libc/include/machine/setjmp.h [__mips__]: Remove __mips_fpr == 64
Corinna Vinschen [Fri, 28 Nov 2014 08:47:39 +0000 (08:47 +0000)]
* libc/include/machine/setjmp.h [__mips__]: Remove __mips_fpr == 64
from the 64-bit _JBTYPE definition.
* libc/machine/mips/setjmp.S: Re-work the o32 FP64 support to match
the now one-and-only supported o32 FP64 ABI extension.  Also
support o32 FPXX.

9 years ago * mkgroup.c (main): Call enum_local_groups with offset 0x30000 for local
Corinna Vinschen [Fri, 28 Nov 2014 08:44:39 +0000 (08:44 +0000)]
* mkgroup.c (main): Call enum_local_groups with offset 0x30000 for local
machine, too.

9 years ago * mkgroup.c (main): Call enum_groups with offset 0x30000 for local
Corinna Vinschen [Thu, 27 Nov 2014 19:55:37 +0000 (19:55 +0000)]
* mkgroup.c (main): Call enum_groups with offset 0x30000 for local
machine, same as from DB.
* mkpasswd.c (enum_unix_users): Set pw_passwd field to '*'.
(enum_users): Ditto.
(main): Call enum_users with offset of 0x30000 for local machine,
same as from DB.

9 years ago * mount.cc (mount_info::init): Take bool argument and allow to
Corinna Vinschen [Thu, 27 Nov 2014 16:49:41 +0000 (16:49 +0000)]
* mount.cc (mount_info::init): Take bool argument and allow to
initialize mount table in two steps, system and user, depending on
bool value.
* mount.h (class mount_info): Align declaration of init function to
above change.
* shared.cc (user_info::initialize): Initialize mount table in two
steps to allow internal_getpwsid to create valid POSIX paths from
DOS paths given in AD.  Add comments.
* uinfo.cc (cygheap_pwdgrp::get_home): Allow DOS paths in
NSS_SCHEME_FREEATTR attributes.
(cygheap_pwdgrp::get_shell): Ditto.

9 years ago * cygheap.cc (init_cygheap::find_tls): Allow to keep loop going after
Corinna Vinschen [Thu, 27 Nov 2014 16:20:14 +0000 (16:20 +0000)]
* cygheap.cc (init_cygheap::find_tls): Allow to keep loop going after
access to threadlist[ix] faulted.  In case of an exception, remove
threadlist[ix] from threadlist only.  Add comment.

9 years ago2014-11-26 Matthew Fortune <Matthew.Fortune@imgtec.com>
Jeff Johnston [Thu, 27 Nov 2014 00:28:09 +0000 (00:28 +0000)]
2014-11-26  Matthew Fortune  <Matthew.Fortune@imgtec.com>

        * mips/crt0.S: Remove .set noreorder throughout.
        (zerobss): Open code the bltu macro instruction so that the
        zero-loop does not have a NOP in the branch delay slot.

9 years ago * Makefile.in (install): Add install-ldif target.
Corinna Vinschen [Wed, 26 Nov 2014 19:46:59 +0000 (19:46 +0000)]
* Makefile.in (install): Add install-ldif target.
(install-ldif): New target to install cygwin.ldif.
* cygheap.h (class cygheap_pwdgrp): Rename pfx_t to nss_pfx_t.  Add
PFX to enum value.  Add nss_scheme_method enum and nss_scheme_t
structure.  Add home_scheme, shell_scheme and gecos_scheme members.
(NSS_SCHEME_MAX): Define.
(cygheap_pwdgrp::get_home): Declare.
(cygheap_pwdgrp::get_shell): Declare.
(cygheap_pwdgrp::get_gecos): Declare.
* cygwin.ldif: New file.
* ldap.cc (std_user_attr): New array, just defining the standard
attributes.
(group_attr): Add cygwinUnixGid.
(user_attr): Convert to macro pointing to cygheap->pg.ldap_user_attr.
(cygheap_pwdgrp::init_ldap_user_attr): New method.
(cyg_ldap::fetch_ad_account): Call cygheap_pwdgrp::init_ldap_user_attr
if user_attr initialization is required.  Fix comment.
(cyg_ldap::get_string_attribute): Implement taking attribute name
as argument.
* ldap.h: Drop unused macros.
(cyg_ldap::get_gecos): Remove.
(cyg_ldap::get_home): Remove.
(cyg_ldap::get_shell): Remove.
(cyg_ldap::get_string_attribute): Declare name argument variant public.
* uinfo.cc (cygheap_user::ontherange): Fix indentation.
(cygheap_pwdgrp::init): Initialize new home_scheme, shell_scheme and
gecos_scheme members.  Align comment.
(NSS_NCMP): Define comparison macro.
(NSS_CMP): Ditto.
(cygheap_pwdgrp::nss_init_line): Use aforementioned macros throughout.
Fix comment handling.  Add db_home, db_shell and db_gecos handling.
(fetch_from_description): New function to fetch XML-style attributes
from (description) string.
(fetch_from_path): New function to evaluate path string with wildcards.
(cygheap_pwdgrp::get_home): New methods to fetch pw_dir value.
(cygheap_pwdgrp::get_shell): Ditto for pw_shell.
(cygheap_pwdgrp::get_gecos): Ditto for pw_gecos.
(colon_to_semicolon): Move up.
(pwdgrp::fetch_account_from_windows): Convert home, shell, gecos
variables to char*.  Drop statement breaking extended group info.
Fetch home, shell and gecos values using new methods.  Use
fetch_from_description calls to fetch UNIX id and primary groups from
SAM comment field.  Accommodate uxid being a char* now.  Accommodate
the fact that extended info is malloc'ed, rather then alloca'ed.
Create linebuf content as multibyte string.  Create line buffer by
just calling cstrdup.

9 years ago * libc/machine/arm/strcmp-armv6m.S: New file.
Corinna Vinschen [Wed, 26 Nov 2014 09:47:26 +0000 (09:47 +0000)]
* libc/machine/arm/strcmp-armv6m.S: New file.
* libc/machine/arm/strcmp.S: Add new wrapper.
* libc/machine/arm/Makefile.am: Add dependencies.
* libc/machine/arm/Makefile.in: Regenerated.

9 years ago * libc/include/sys/_default_fcntl.h: Move all Cygwin-specific open
Corinna Vinschen [Tue, 25 Nov 2014 11:53:00 +0000 (11:53 +0000)]
* libc/include/sys/_default_fcntl.h: Move all Cygwin-specific open
flags from Cygwin's fcntl.h here.  Remove check for WIN32.  Remove
Windows-specific macros.

9 years ago * include/fcntl.h: Move all open flags (except O_NDELAY) to newlib's
Corinna Vinschen [Tue, 25 Nov 2014 11:42:20 +0000 (11:42 +0000)]
* include/fcntl.h: Move all open flags (except O_NDELAY) to newlib's
sys/_default_fcntl.h.

9 years ago * binmode.c (cygwin_premain0): Don't use underscore'd variants of the
Corinna Vinschen [Tue, 25 Nov 2014 11:27:12 +0000 (11:27 +0000)]
* binmode.c (cygwin_premain0): Don't use underscore'd variants of the
open flags.
* textmode.c (cygwin_premain0): Ditto.

9 years agomerge from gcc
DJ Delorie [Mon, 24 Nov 2014 20:35:44 +0000 (20:35 +0000)]
merge from gcc

9 years ago2014-11-23 Joel Sherrill <joel.sherrill@oarcorp.com>
Joel Sherrill [Mon, 24 Nov 2014 14:12:32 +0000 (14:12 +0000)]
2014-11-23  Joel Sherrill <joel.sherrill@oarcorp.com>

* libc/include/sys/resource.h: Add prototype for getrusage()
to <sys/resource.h>

9 years ago * utils.xml (passwd): Align to latest changes.
Corinna Vinschen [Mon, 24 Nov 2014 11:21:22 +0000 (11:21 +0000)]
* utils.xml (passwd): Align to latest changes.

9 years ago * passwd.c (GetPW): If server is NULL, and the user is not a local
Corinna Vinschen [Mon, 24 Nov 2014 11:07:32 +0000 (11:07 +0000)]
* passwd.c (GetPW): If server is NULL, and the user is not a local
user, try to fetch the DC to use as server.
(ChangePW): Get Windows username via extra parameter.
(usage): Reduce -d help text to reflect above change.
(main): Fix typo in comment.  Call GetPW and ChangePW as per the
changes above.

9 years ago * init.cc (dll_entry): Revert previous patch. This requires another
Corinna Vinschen [Fri, 21 Nov 2014 21:41:37 +0000 (21:41 +0000)]
* init.cc (dll_entry): Revert previous patch.  This requires another
solution.
* miscfuncs.cc (thread_wrapper): Ditto.
* sigproc.cc (exit_thread): Disable sending a signal for synchronization
with process exit.  Explain why.  Keep code in for later inspection,
should the problem show up again.
(sig_send): Use "tls", rather than "tid" as name for _cygtls arg.

9 years ago PR target/63901
Nick Clifton [Fri, 21 Nov 2014 11:55:39 +0000 (11:55 +0000)]
PR target/63901
* configure.host (msp430): Add -mhwmult=none to newlib_cflags.

9 years ago * init.cc (dll_entry): Call _my_tls.remove with INFINITE wait period
Corinna Vinschen [Thu, 20 Nov 2014 16:23:14 +0000 (16:23 +0000)]
* init.cc (dll_entry): Call _my_tls.remove with INFINITE wait period
to avoid SEGVs and subsequent hangs in _cygtls::find_tls.
* miscfuncs.cc (thread_wrapper): Ditto.

9 years ago * libc/stdio/nano-vfprintf_i.c (_printf_i): Use LONGINT when void* is
Corinna Vinschen [Thu, 20 Nov 2014 14:05:28 +0000 (14:05 +0000)]
* libc/stdio/nano-vfprintf_i.c (_printf_i): Use LONGINT when void* is
larger than an int.

9 years ago * libc/sys/rtems/sys/syslimits.h (NGROUPS_MAX): Adjust value so
Corinna Vinschen [Thu, 20 Nov 2014 14:03:17 +0000 (14:03 +0000)]
* libc/sys/rtems/sys/syslimits.h (NGROUPS_MAX): Adjust value so
that NGROUPS is even.

9 years ago * net.cc (fdsock): Change default values for socket buffers on 32 bit
Corinna Vinschen [Thu, 20 Nov 2014 08:29:31 +0000 (08:29 +0000)]
* net.cc (fdsock): Change default values for socket buffers on 32 bit
to fix performance on 10Gb networks.

9 years ago * uinfo.cc (pwdgrp::fetch_account_from_windows): Allow fetching of
Corinna Vinschen [Mon, 17 Nov 2014 10:09:01 +0000 (10:09 +0000)]
* uinfo.cc (pwdgrp::fetch_account_from_windows): Allow fetching of
NT SERVICE accounts by name.  Always prepend domain to NT SERVICE
accounts.  Add U-domain\username string to pw_gecos for predefined
builtin accounts as well.

9 years ago * fhandler_termios.cc (fhandler_termios::line_edit): Fix fatal typo in
Corinna Vinschen [Fri, 14 Nov 2014 10:57:45 +0000 (10:57 +0000)]
* fhandler_termios.cc (fhandler_termios::line_edit): Fix fatal typo in
bytes_read pointer checks.

9 years ago * fhandler.h (fhandler_termios::line_edit): Add parameter to return
Corinna Vinschen [Thu, 13 Nov 2014 18:37:15 +0000 (18:37 +0000)]
* fhandler.h (fhandler_termios::line_edit): Add parameter to return
written bytes.
* fhandler_termios.cc (fhandler_termios::tcinit): Fix formatting.
(fhandler_termios::line_edit): Return bytes actually written.  Write
in 32 byte chunks in non-canonical mode to reduce number of WriteFile
calls.  Don't just eat unwritten bytes in case of an error condition.
Especially, don't report them back to the caller as written.
* fhandler_tty.cc (fhandler_pty_slave::read): Disable code reducing
the number of bytes read from the pipe to vmin.  Add comment.
(fhandler_pty_master::write): Convert ret to ssize_t type.  Just call
line_edit once, not in a loop once for each byte.  Return bytes written
as returned by line_edit.

9 years ago * include/cygwin/version.h (CYGWIN_VERSION_DLL_MINOR): Bump to 34.
Corinna Vinschen [Thu, 13 Nov 2014 13:10:26 +0000 (13:10 +0000)]
* include/cygwin/version.h (CYGWIN_VERSION_DLL_MINOR): Bump to 34.

* new-features.xml (ov-new1.7.34): Add new section.
(ov-new1.7.33): Reflect intermediate 1.7.33 release.

9 years ago * configure.ac: Convert to new AC_INIT style.
Corinna Vinschen [Thu, 13 Nov 2014 12:12:56 +0000 (12:12 +0000)]
* configure.ac: Convert to new AC_INIT style.
* configure: Regenerate.

9 years ago * msp430/Makefile.in (CRT_OBJS): Add crt_high_bss.o.
Nick Clifton [Thu, 13 Nov 2014 10:18:57 +0000 (10:18 +0000)]
* msp430/Makefile.in (CRT_OBJS): Add crt_high_bss.o.
* msp430/crt0.S (high_bss): Add.
* msp430/msp430-sim.ld: Add error message if .upper sections are
detected.
* msp430/msp430xl-sim.ld (MEMORY): Adjust to better mimic real
life MCUs.  Add support for upper and lower sections.

9 years ago * utils.xml (mkgroup): Align to changed usage.
Corinna Vinschen [Wed, 12 Nov 2014 14:50:56 +0000 (14:50 +0000)]
* utils.xml (mkgroup): Align to changed usage.
(mkpasswd): Ditto.

9 years ago * mkgroup.c (usage): Fix language.
Corinna Vinschen [Wed, 12 Nov 2014 14:22:05 +0000 (14:22 +0000)]
* mkgroup.c (usage): Fix language.
* mkpasswd.c (usage): Ditto.

9 years ago * mkgroup.c (enum_unix_groups): Always print groupname with machine
Corinna Vinschen [Wed, 12 Nov 2014 14:13:56 +0000 (14:13 +0000)]
* mkgroup.c (enum_unix_groups): Always print groupname with machine
prefix.
(usage): Extend help output for -l option.
(main): Drop superfluous goto and label.  Make machine prefixing for
local machine when using -l option dependend on options in
/etc/nsswitch.conf.
* mkpasswd.c: Ditto.

9 years ago * cygheap.h (cygheap_pwdgrp): Remove constants NSS_FILES and NSS_DB.
Corinna Vinschen [Wed, 12 Nov 2014 11:19:08 +0000 (11:19 +0000)]
* cygheap.h (cygheap_pwdgrp): Remove constants NSS_FILES and NSS_DB.
Use NSS_SRC_FILES and NSS_SRC_DB throughout instead.
(cygheap_pwdgrp::nss_pwd_src): New inline method.
(cygheap_pwdgrp::nss_grp_src): Ditto.
* external.cc (cygwin_internal): Add CW_GETNSS_PWD_SRC and
CW_GETNSS_GRP_SRC cases.
* uinfo.cc: Use NSS_SRC_FILES and NSS_SRC_DB throughout.
* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
* include/sys/cygwin.h (cygwin_getinfo_types): Add CW_GETNSS_PWD_SRC
and CW_GETNSS_GRP_SRC.
(NSS_SRC_FILES): Define.
(NSS_SRC_DB): Define.

9 years ago * libc/stdlib/strtod.c (sulp): Cast to int32_t to avoid overflow.
Corinna Vinschen [Wed, 12 Nov 2014 09:10:22 +0000 (09:10 +0000)]
* libc/stdlib/strtod.c (sulp): Cast to int32_t to avoid overflow.
* libc/time/gmtime_r.c (DAYS_PER_*_YEARS): Convert to long constants
to avoid overflow.

9 years agoFix typo
Corinna Vinschen [Mon, 10 Nov 2014 20:27:22 +0000 (20:27 +0000)]
Fix typo

9 years ago * cygcheck.cc (dump_sysinfo): Handle Windows 10/Server 2014(?).
Corinna Vinschen [Mon, 10 Nov 2014 16:21:52 +0000 (16:21 +0000)]
* cygcheck.cc (dump_sysinfo): Handle Windows 10/Server 2014(?).

9 years ago * libc/machine/aarch64/strcpy.S: New file.
Richard Earnshaw [Mon, 10 Nov 2014 14:57:37 +0000 (14:57 +0000)]
* libc/machine/aarch64/strcpy.S: New file.
* libc/machine/aarch64/strcpy-stub.S: New file.
* libc/machine/aarch64/Makefile.am (lib_a_SOURCES): Add new files.
* libc/machine/aarch64/Makefile.in: Regenerate.

9 years ago * utils.xml (mkpasswd): Change /etc/group to /etc/passwd.
Corinna Vinschen [Fri, 7 Nov 2014 13:53:25 +0000 (13:53 +0000)]
* utils.xml (mkpasswd): Change /etc/group to /etc/passwd.

9 years ago * dcrt0.cc (cygwin__cxa_atexit): Fetch correct DSO handle value
Corinna Vinschen [Fri, 7 Nov 2014 08:33:22 +0000 (08:33 +0000)]
* dcrt0.cc (cygwin__cxa_atexit): Fetch correct DSO handle value
by searching dll list.  Explain why.

10 years ago2014-11-06 Joel Sherrill <joel.sherrill@oarcorp.com>
Jeff Johnston [Thu, 6 Nov 2014 17:45:14 +0000 (17:45 +0000)]
2014-11-06  Joel Sherrill <joel.sherrill@oarcorp.com>

        * configure.in: Add autoconf test to determine size of uintptr_t.
        * newlib.hin: Add new autoconf feature variables.
        * libc/include/inttypes.h: Use new feature variables.
        * configure: Regenerate.

10 years ago * cygserver-config: Add -N option to allow different service name.
Corinna Vinschen [Thu, 6 Nov 2014 16:36:42 +0000 (16:36 +0000)]
* cygserver-config: Add -N option to allow different service name.

10 years ago * dcrt0.cc (cygwin_atexit): Change preceeding comment to reflect
Corinna Vinschen [Thu, 6 Nov 2014 15:32:21 +0000 (15:32 +0000)]
* dcrt0.cc (cygwin_atexit): Change preceeding comment to reflect
API version numbers.
* external.cc (cygwin_internal): disable setting cxx_malloc on 64 bit.
Add CW_FIXED_ATEXIT case.
* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
* include/sys/cygwin.h (cygwin_getinfo_types): Add CW_FIXED_ATEXIT.
* lib/atexit.c (atexit): Test running Cygwin version by checking
return value of cygwin_internal (CW_FIXED_ATEXIT).

10 years ago * libc/stdio/nano-vfprintf_i.c (_printf_i): Use Newlib approach to
Corinna Vinschen [Thu, 6 Nov 2014 11:08:14 +0000 (11:08 +0000)]
* libc/stdio/nano-vfprintf_i.c (_printf_i): Use Newlib approach to
handle string that might be not nul-terminated.
* testsuite/newlib.stdio/nulprintf.c: New test.

10 years agomerge from gcc
DJ Delorie [Wed, 5 Nov 2014 18:23:19 +0000 (18:23 +0000)]
merge from gcc

10 years ago * lib/atexit.c (atexit): Check for being linked into the executable.
Corinna Vinschen [Wed, 5 Nov 2014 16:26:18 +0000 (16:26 +0000)]
* lib/atexit.c (atexit): Check for being linked into the executable.
If so, call __cxa_atexit with NULL DSO handle.  Explain why.
* lib/dso_handle.c: New file providing fallback __dso_handle.

10 years ago * new-features.xml (ov-new1.7.33): Document xdr and atexit.
Corinna Vinschen [Wed, 5 Nov 2014 09:56:09 +0000 (09:56 +0000)]
* new-features.xml (ov-new1.7.33): Document xdr and atexit.

10 years ago*** empty log message ***
Corinna Vinschen [Wed, 5 Nov 2014 09:53:50 +0000 (09:53 +0000)]
*** empty log message ***

10 years ago * Makefile.in (NEW_FUNCTIONS): Add atexit to be not exported.
Corinna Vinschen [Wed, 5 Nov 2014 09:48:00 +0000 (09:48 +0000)]
* Makefile.in (NEW_FUNCTIONS): Add atexit to be not exported.
* lib/atexit.c (atexit): New, statically linkable version of atexit.
* dcrt0.cc (cygwin_atexit): Add comment to mark this function as old
entry point.  Indiscriminately check for DSO of function pointer for
all functions, if checking for DSO of return address fails on x86_64.
Change comment accordingly.

10 years ago * Makefile.in (NEW_FUNCTIONS): Define target-independent. Add target
Corinna Vinschen [Wed, 5 Nov 2014 09:28:01 +0000 (09:28 +0000)]
* Makefile.in (NEW_FUNCTIONS): Define target-independent.  Add target
dependent stuff afterwards.  Globally define timezone and all xdr
symbols as non-exported from libcygwin.a.

10 years agoAdd accidentally missing patch
Corinna Vinschen [Mon, 3 Nov 2014 16:29:03 +0000 (16:29 +0000)]
Add accidentally missing patch

10 years ago * cygheap.cc: Fix formatting.
Corinna Vinschen [Mon, 3 Nov 2014 15:30:59 +0000 (15:30 +0000)]
* cygheap.cc: Fix formatting.

10 years ago * mkgroup.c (enum_local_groups): Don't generate leading separator char
Corinna Vinschen [Mon, 3 Nov 2014 14:54:43 +0000 (14:54 +0000)]
* mkgroup.c (enum_local_groups): Don't generate leading separator char
for builtin accounts.

10 years ago * ntsec.xml: Fix typo.
Corinna Vinschen [Thu, 30 Oct 2014 17:22:09 +0000 (17:22 +0000)]
* ntsec.xml: Fix typo.

10 years ago * uinfo.cc (cygheap_user::ontherange): Don't mention /etc/passwd.
Corinna Vinschen [Thu, 30 Oct 2014 16:07:04 +0000 (16:07 +0000)]
* uinfo.cc (cygheap_user::ontherange): Don't mention /etc/passwd.

10 years ago2014-10-29 Jon Turney <jon.turney@dronecode.org.uk>
Jon TURNEY [Thu, 30 Oct 2014 11:25:17 +0000 (11:25 +0000)]
2014-10-29  Jon Turney  <jon.turney@dronecode.org.uk>

        * libc/include/string.h: Correct guard for strcasecmp().

10 years agoRemove accidentally added Change Log entry
Corinna Vinschen [Wed, 29 Oct 2014 15:23:31 +0000 (15:23 +0000)]
Remove accidentally added Change Log entry

10 years agoFix copyright date
Corinna Vinschen [Wed, 29 Oct 2014 11:31:05 +0000 (11:31 +0000)]
Fix copyright date

10 years ago * libc/stdio/vfprintf.c (_VFPRINTF_R): Remove unnecessary comparison.
Corinna Vinschen [Wed, 29 Oct 2014 11:06:42 +0000 (11:06 +0000)]
* libc/stdio/vfprintf.c (_VFPRINTF_R): Remove unnecessary comparison.

10 years ago * cygheap.cc (init_cygheap::init_installation_root): Create content of
Corinna Vinschen [Wed, 29 Oct 2014 10:40:47 +0000 (10:40 +0000)]
* cygheap.cc (init_cygheap::init_installation_root): Create content of
installation_dir as non-prefixed path, if possible.

10 years ago * setfacl.c (setfacl): Fix bracketing in expression.
Corinna Vinschen [Wed, 29 Oct 2014 10:24:49 +0000 (10:24 +0000)]
* setfacl.c (setfacl): Fix bracketing in expression.

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