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-11-28* Makefile.in (XSLTPROC): Remove.Yaakov Selkowitz
(cygwin-ug-net/cygwin-ug-net.pdf): Build with xmlto pdf. (cygwin-api/cygwin-api.pdf): Ditto. (faq/faq.html): Fix extraneous anchor removal.
2014-11-28 * cygheap.cc (init_cygheap::find_tls): Add comment.Corinna Vinschen
* 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.
2014-11-28 * mips/crt0.S: Configure processor based on .MIPS.abiflags.Corinna Vinschen
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.
2014-11-28 * libc/include/machine/setjmp.h [__mips__]: Remove __mips_fpr == 64Corinna Vinschen
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.
2014-11-28 * mkgroup.c (main): Call enum_local_groups with offset 0x30000 for localCorinna Vinschen
machine, too.
2014-11-27 * mkgroup.c (main): Call enum_groups with offset 0x30000 for localCorinna Vinschen
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.
2014-11-27 * mount.cc (mount_info::init): Take bool argument and allow toCorinna Vinschen
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.
2014-11-27 * cygheap.cc (init_cygheap::find_tls): Allow to keep loop going afterCorinna Vinschen
access to threadlist[ix] faulted. In case of an exception, remove threadlist[ix] from threadlist only. Add comment.
2014-11-272014-11-26 Matthew Fortune <Matthew.Fortune@imgtec.com>Jeff Johnston
* 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.
2014-11-26 * Makefile.in (install): Add install-ldif target.Corinna Vinschen
(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.
2014-11-26 * libc/machine/arm/strcmp-armv6m.S: New file.Corinna Vinschen
* libc/machine/arm/strcmp.S: Add new wrapper. * libc/machine/arm/Makefile.am: Add dependencies. * libc/machine/arm/Makefile.in: Regenerated.
2014-11-25 * libc/include/sys/_default_fcntl.h: Move all Cygwin-specific openCorinna Vinschen
flags from Cygwin's fcntl.h here. Remove check for WIN32. Remove Windows-specific macros.
2014-11-25 * include/fcntl.h: Move all open flags (except O_NDELAY) to newlib'sCorinna Vinschen
sys/_default_fcntl.h.
2014-11-25 * binmode.c (cygwin_premain0): Don't use underscore'd variants of theCorinna Vinschen
open flags. * textmode.c (cygwin_premain0): Ditto.
2014-11-24merge from gccDJ Delorie
2014-11-242014-11-23 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill
* libc/include/sys/resource.h: Add prototype for getrusage() to <sys/resource.h>
2014-11-24 * utils.xml (passwd): Align to latest changes.Corinna Vinschen
2014-11-24 * passwd.c (GetPW): If server is NULL, and the user is not a localCorinna Vinschen
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.
2014-11-22 * init.cc (dll_entry): Revert previous patch. This requires anotherCorinna Vinschen
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.
2014-11-21 PR target/63901Nick Clifton
* configure.host (msp430): Add -mhwmult=none to newlib_cflags.
2014-11-20 * init.cc (dll_entry): Call _my_tls.remove with INFINITE wait periodCorinna Vinschen
to avoid SEGVs and subsequent hangs in _cygtls::find_tls. * miscfuncs.cc (thread_wrapper): Ditto.
2014-11-20 * libc/stdio/nano-vfprintf_i.c (_printf_i): Use LONGINT when void* isCorinna Vinschen
larger than an int.
2014-11-20 * libc/sys/rtems/sys/syslimits.h (NGROUPS_MAX): Adjust value soCorinna Vinschen
that NGROUPS is even.
2014-11-20 * net.cc (fdsock): Change default values for socket buffers on 32 bitCorinna Vinschen
to fix performance on 10Gb networks.
2014-11-17 * uinfo.cc (pwdgrp::fetch_account_from_windows): Allow fetching ofCorinna Vinschen
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.
2014-11-14 * fhandler_termios.cc (fhandler_termios::line_edit): Fix fatal typo inCorinna Vinschen
bytes_read pointer checks.
2014-11-13 * fhandler.h (fhandler_termios::line_edit): Add parameter to returnCorinna Vinschen
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.
2014-11-13 * include/cygwin/version.h (CYGWIN_VERSION_DLL_MINOR): Bump to 34.Corinna Vinschen
* new-features.xml (ov-new1.7.34): Add new section. (ov-new1.7.33): Reflect intermediate 1.7.33 release.
2014-11-13 * configure.ac: Convert to new AC_INIT style.Corinna Vinschen
* configure: Regenerate.
2014-11-13 * msp430/Makefile.in (CRT_OBJS): Add crt_high_bss.o.Nick Clifton
* 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.
2014-11-12 * utils.xml (mkgroup): Align to changed usage.Corinna Vinschen
(mkpasswd): Ditto.
2014-11-12 * mkgroup.c (usage): Fix language.Corinna Vinschen
* mkpasswd.c (usage): Ditto.
2014-11-12 * mkgroup.c (enum_unix_groups): Always print groupname with machineCorinna Vinschen
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.
2014-11-12 * cygheap.h (cygheap_pwdgrp): Remove constants NSS_FILES and NSS_DB.Corinna Vinschen
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.
2014-11-12 * libc/stdlib/strtod.c (sulp): Cast to int32_t to avoid overflow.Corinna Vinschen
* libc/time/gmtime_r.c (DAYS_PER_*_YEARS): Convert to long constants to avoid overflow.
2014-11-10Fix typoCorinna Vinschen
2014-11-10 * cygcheck.cc (dump_sysinfo): Handle Windows 10/Server 2014(?).Corinna Vinschen
2014-11-10 * libc/machine/aarch64/strcpy.S: New file.Richard Earnshaw
* 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.
2014-11-07 * utils.xml (mkpasswd): Change /etc/group to /etc/passwd.Corinna Vinschen
2014-11-07 * dcrt0.cc (cygwin__cxa_atexit): Fetch correct DSO handle valueCorinna Vinschen
by searching dll list. Explain why.
2014-11-062014-11-06 Joel Sherrill <joel.sherrill@oarcorp.com>Jeff Johnston
* 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.
2014-11-06 * cygserver-config: Add -N option to allow different service name.Corinna Vinschen
2014-11-06 * dcrt0.cc (cygwin_atexit): Change preceeding comment to reflectCorinna Vinschen
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).
2014-11-06 * libc/stdio/nano-vfprintf_i.c (_printf_i): Use Newlib approach toCorinna Vinschen
handle string that might be not nul-terminated. * testsuite/newlib.stdio/nulprintf.c: New test.
2014-11-05merge from gccDJ Delorie
2014-11-05 * lib/atexit.c (atexit): Check for being linked into the executable.Corinna Vinschen
If so, call __cxa_atexit with NULL DSO handle. Explain why. * lib/dso_handle.c: New file providing fallback __dso_handle.
2014-11-05 * new-features.xml (ov-new1.7.33): Document xdr and atexit.Corinna Vinschen
2014-11-05*** empty log message ***Corinna Vinschen
2014-11-05 * Makefile.in (NEW_FUNCTIONS): Add atexit to be not exported.Corinna Vinschen
* 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.
2014-11-05 * Makefile.in (NEW_FUNCTIONS): Define target-independent. Add targetCorinna Vinschen
dependent stuff afterwards. Globally define timezone and all xdr symbols as non-exported from libcygwin.a.