Commit Graph

  • 74ea7be8b1 * libc/stdlib/nano-mallocr.c (ALIGN_TO): Do not assume that integers are as big as pointers. DJ Delorie 2014-12-16 20:46:25 +00:00
  • ae4a2bd820 * libc/stdlib/nano-mallocr.c (ALIGN_TO): Do not assume that integers are as big as pointers. DJ Delorie 2014-12-16 20:46:25 +00:00
  • 52edca9f86 * libc/machine/aarch64/strcpy.S: Improve handling of short strings. Richard Earnshaw 2014-12-16 15:48:58 +00:00
  • 5c2a6f37e5 * libc/machine/aarch64/strcpy.S: Improve handling of short strings. rearnsha 2014-12-16 15:48:57 +00:00
  • 32c96ddd14 * libc/include/stdlib.h (__itoa): Declare prototype. (__utoa): Ditto. (itoa): Ditto, non-strict-ANSI only. (utoa): Ditto. * libc/stdlib/Makefile.am: Add itoa.c and utoa.c. * libc/stdlib/Makefile.in: Regenerate. * libc/stdlib/itoa.c: New file. * libc/stdlib/utoa.c: New file. Corinna Vinschen 2014-12-16 10:55:17 +00:00
  • 90a05c5a8b * libc/include/stdlib.h (__itoa): Declare prototype. (__utoa): Ditto. (itoa): Ditto, non-strict-ANSI only. (utoa): Ditto. * libc/stdlib/Makefile.am: Add itoa.c and utoa.c. * libc/stdlib/Makefile.in: Regenerate. * libc/stdlib/itoa.c: New file. * libc/stdlib/utoa.c: New file. Corinna Vinschen 2014-12-16 10:55:15 +00:00
  • 21f22726c7 * path.cc (find_fast_cwd): Point to problem reporting web site rather than to mailing list. Corinna Vinschen 2014-12-16 09:24:40 +00:00
  • 0793492d8f * path.cc (warn_msdos): Slightly reformat. (find_fast_cwd): Change warning message to urge an update before reporting the problem. Corinna Vinschen 2014-12-16 09:16:03 +00:00
  • 705cda717e 2014-12-15 Jonathan Roelofs <jonathan@codesourcery.com> Jeff Johnston 2014-12-15 20:50:23 +00:00
  • a8e288ccf3 2014-12-15 Jonathan Roelofs <jonathan@codesourcery.com> Jeff Johnston 2014-12-15 20:50:22 +00:00
  • f97bf8a679 *** empty log message *** Corinna Vinschen 2014-12-15 20:30:27 +00:00
  • b3d0030d3c * new-features.xml (ov-new1.7.34): Add setfacl -k option. * utils.xml (setfacl): Ditto. Corinna Vinschen 2014-12-15 20:30:15 +00:00
  • e7ead873a8 * setfacl.c (action_t): Add DeleteDef value. (delacl): Take new parameter to differe between DeleteAll and DeleteDef. Extend conditional to handle DefaultDef. Change comment accordingly. (setfacl): Call delacl in DefaultDef case as well. (usage): Add and describe -k option. Add -k to require options. (longopts): Add --remove-default option. (opts): Add -k option. (main): Handle -k option. Corinna Vinschen 2014-12-15 20:29:43 +00:00
  • ab42ec30e6 2014-12-15 Stefan Wallentowitz <stefan.wallentowitz@tum.de> Jeff Johnston 2014-12-15 20:22:28 +00:00
  • b5fc8f47c1 2014-12-15 Stefan Wallentowitz <stefan.wallentowitz@tum.de> Jeff Johnston 2014-12-15 20:22:26 +00:00
  • 68a9101237 2014-12-15 Stefan Wallentowitz <stefan.wallentowitz@tum.de> Jeff Johnston 2014-12-15 20:17:39 +00:00
  • 6e26cd8752 2014-12-15 Stefan Wallentowitz <stefan.wallentowitz@tum.de> Jeff Johnston 2014-12-15 20:17:36 +00:00
  • d1219c0e89 2014-12-15 Stefan Wallentowitz <stefan.wallentowitz@tum.de> Jeff Johnston 2014-12-15 20:09:28 +00:00
  • db67e3a614 2014-12-15 Stefan Wallentowitz <stefan.wallentowitz@tum.de> Jeff Johnston 2014-12-15 20:09:27 +00:00
  • 6485fc66f2 * libc/include/stdio.h (__SNLK): Define. * libc/include/stdio_ext.h (FSETLOCKING_QUERY, FSETLOCKING_INTERNAL, FSETLOCKING_BYCALLER): Define. (__fsetlocking): Declare. * libc/stdio/Makefile.am: Build fsetlocking.c. * libc/stdio/Makefile.in: Regenerate. * libc/stdio/fsetlocking.c: New file. * libc/stdio/local.h (_newlib_flockfile_start): Make _flockfile call dependent on __SNLK flag. (_newlib_flockfile_exit, _newlib_flockfile_end): Ditto for _funlockfile calls. Define all locking macros as empty if __SINGLE_THREAD__. * libc/stdio/stdio.tex: Include fsetlocking.def. Yaakov Selkowitz 2014-12-15 18:22:56 +00:00
  • bc073125ec * libc/include/stdio.h (__SNLK): Define. * libc/include/stdio_ext.h (FSETLOCKING_QUERY, FSETLOCKING_INTERNAL, FSETLOCKING_BYCALLER): Define. (__fsetlocking): Declare. * libc/stdio/Makefile.am: Build fsetlocking.c. * libc/stdio/Makefile.in: Regenerate. * libc/stdio/fsetlocking.c: New file. * libc/stdio/local.h (_newlib_flockfile_start): Make _flockfile call dependent on __SNLK flag. (_newlib_flockfile_exit, _newlib_flockfile_end): Ditto for _funlockfile calls. Define all locking macros as empty if __SINGLE_THREAD__. * libc/stdio/stdio.tex: Include fsetlocking.def. Yaakov Selkowitz 2014-12-15 18:22:55 +00:00
  • f5ce72dffc * newlib/libc/include/machine/setjmp.h: Add FPU support. * newlib/libc/machine/nds32/setjmp.S: Add FPU support. Corinna Vinschen 2014-12-15 13:32:17 +00:00
  • ffd11c1f67 * newlib/libc/include/machine/setjmp.h: Add FPU support. * newlib/libc/machine/nds32/setjmp.S: Add FPU support. Corinna Vinschen 2014-12-15 13:32:16 +00:00
  • d4ef8a6368 * libgloss/nds32/_exit.S: Finish with an infinite loop in _exit. * libgloss/nds32/_getpid.S: Don't issue _getpid system call, it is always successful. * libgloss/nds32/_gettimeofday.S: No error for _gettimeofday is defined in SYS_geterr handler. * libgloss/nds32/_isatty.S: No error for _isatty is defined in SYS_geterr handler. * libgloss/nds32/_kill.S: Alway fail. errno = EINVAL. * libgloss/nds32/_link.S: Alway fail. errno = EMLINK. * libgloss/nds32/_times.S: Alway fail. errno = EACCES. * libgloss/nds32/_unlink.S: fix copy and paste error. * libgloss/nds32/crt0.S: Add pre_c_init, post_c_init, arg_init. * libgloss/nds32/crt1.S: Add pre_c_init, post_c_init, arg_init. * libgloss/nds32/syscall_extra.h: Re-format. * libgloss/nds32/vh.h: Add more virtual hosting number. Corinna Vinschen 2014-12-15 13:30:07 +00:00
  • 9c91102200 * libgloss/nds32/_exit.S: Finish with an infinite loop in _exit. * libgloss/nds32/_getpid.S: Don't issue _getpid system call, it is always successful. * libgloss/nds32/_gettimeofday.S: No error for _gettimeofday is defined in SYS_geterr handler. * libgloss/nds32/_isatty.S: No error for _isatty is defined in SYS_geterr handler. * libgloss/nds32/_kill.S: Alway fail. errno = EINVAL. * libgloss/nds32/_link.S: Alway fail. errno = EMLINK. * libgloss/nds32/_times.S: Alway fail. errno = EACCES. * libgloss/nds32/_unlink.S: fix copy and paste error. * libgloss/nds32/crt0.S: Add pre_c_init, post_c_init, arg_init. * libgloss/nds32/crt1.S: Add pre_c_init, post_c_init, arg_init. * libgloss/nds32/syscall_extra.h: Re-format. * libgloss/nds32/vh.h: Add more virtual hosting number. Corinna Vinschen 2014-12-15 13:30:06 +00:00
  • 0cbcde7bdb * configure.host: Add libm nds32 machine directory. * libm/machine/configure: Regenerated. * libm/machine/configure.in: Add nds32 AC_CONFIG. * libm/machine/nds32/Makefile.am: New file. * libm/machine/nds32/Makefile.in: Generated. * libm/machine/nds32/aclocal.m4: Generated. * libm/machine/nds32/configure: Generated. * libm/machine/nds32/configure.in: New file. * libm/machine/nds32/w_sqrt.S: New file. * libm/machine/nds32/wf_sqrt.S: New file. Corinna Vinschen 2014-12-15 13:27:38 +00:00
  • 61711bf5ed * configure.host: Add libm nds32 machine directory. * libm/machine/configure: Regenerated. * libm/machine/configure.in: Add nds32 AC_CONFIG. * libm/machine/nds32/Makefile.am: New file. * libm/machine/nds32/Makefile.in: Generated. * libm/machine/nds32/aclocal.m4: Generated. * libm/machine/nds32/configure: Generated. * libm/machine/nds32/configure.in: New file. * libm/machine/nds32/w_sqrt.S: New file. * libm/machine/nds32/wf_sqrt.S: New file. Corinna Vinschen 2014-12-15 13:27:37 +00:00
  • 601c50292b * libc/include/stdlib.h: Include sys/cdefs.h to avoid undefined __ASMNAME. Corinna Vinschen 2014-12-15 12:58:19 +00:00
  • d141ff0df5 * libc/include/stdlib.h: Include sys/cdefs.h to avoid undefined __ASMNAME. Corinna Vinschen 2014-12-15 12:58:19 +00:00
  • b536197a75 merge from gcc DJ Delorie 2014-12-15 06:56:39 +00:00
  • f58bc5991f 2014-12-12 Stefan Wallentowitz <stefan.wallentowitz@tum.de> Jeff Johnston 2014-12-12 21:14:06 +00:00
  • 9502c33b61 2014-12-12 Stefan Wallentowitz <stefan.wallentowitz@tum.de> Jeff Johnston 2014-12-12 21:14:05 +00:00
  • 31cf15b180 2014-12-12 Stefan Wallentowitz <stefan.wallentowitz@tum.de> Jeff Johnston 2014-12-12 20:17:26 +00:00
  • c1d1ae33dc 2014-12-12 Stefan Wallentowitz <stefan.wallentowitz@tum.de> Jeff Johnston 2014-12-12 20:17:25 +00:00
  • c6332722d9 * libc/include/stdio.h: Fix type signature of __sfeof and __sferror (and thus feof and ferror) for C++. Corinna Vinschen 2014-12-11 17:42:19 +00:00
  • a5b647a2d9 * libc/include/stdio.h: Fix type signature of __sfeof and __sferror (and thus feof and ferror) for C++. Corinna Vinschen 2014-12-11 17:42:19 +00:00
  • 6f34876e5e * 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. Yaakov Selkowitz 2014-12-11 16:53:32 +00:00
  • 9aca21fcb1 * 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. Yaakov Selkowitz 2014-12-11 16:53:31 +00:00
  • 070d1cee7d Rebuilt moxie/configure Anthony Green 2014-12-11 11:54:44 +00:00
  • fc1fd57978 Rebuilt moxie/configure Stan Cox 2014-12-11 11:54:43 +00:00
  • 4bfa0b5a36 * winver.rc (LegalCopyright): Fix belatedly (uh-oh). Corinna Vinschen 2014-12-10 15:41:49 +00:00
  • 6c5c9bf5ee * ntsec.xml (ntsec-mapping-samba): Clarify Samba file server setup. Corinna Vinschen 2014-12-10 12:35:36 +00:00
  • 869ca0954a * faq-using.xml (faq.using.bloda): Add Lenovo RapidBoot Shield to BLODA list. Corinna Vinschen 2014-12-10 12:33:25 +00:00
  • 2d48118f11 * libc/include/stdio_ext.h: Remove excess "inline". Corinna Vinschen 2014-12-10 09:39:06 +00:00
  • fbda329e6b * libc/include/stdio_ext.h: Remove excess "inline". Corinna Vinschen 2014-12-10 09:39:05 +00:00
  • 8608e14a3b * libc/machine/aarch64/strchrnul.S (vrepmask): Use a call-clobbered register. Richard Earnshaw 2014-12-10 09:35:10 +00:00
  • db0fbcdaaa * libc/machine/aarch64/strchrnul.S (vrepmask): Use a call-clobbered register. rearnsha 2014-12-10 09:35:09 +00:00
  • c53c2915a7 * 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. Richard Earnshaw 2014-12-08 15:21:42 +00:00
  • 1e3bf58dc5 * 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. rearnsha 2014-12-08 15:21:41 +00:00
  • 37152e9703 * 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() Corinna Vinschen 2014-12-08 11:48:31 +00:00
  • feb35f8567 * 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() Corinna Vinschen 2014-12-08 11:48:27 +00:00
  • e20a68a56f * 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. Corinna Vinschen 2014-12-08 11:21:14 +00:00
  • ca1cabfe21 Fix date of latest entry Corinna Vinschen 2014-12-08 10:57:37 +00:00
  • 1391f2b254 * faq-setup.xml (faq.setup.upgrade-mountpoints): Remove. * pathnames.xml (pathnames-mount-ex): Remove note about 1.5->1.7 registry mount point updates. Corinna Vinschen 2014-12-08 10:55:03 +00:00
  • dad2a13870 * posix.xml (std-solaris): Point to libtirpc for xdr functions. Corinna Vinschen 2014-12-06 17:13:00 +00:00
  • b9e2c265d0 * 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. Corinna Vinschen 2014-12-06 16:49:05 +00:00
  • 03ff627e16 * environ.cc (build_env): Remove loquacious debug statements. Corinna Vinschen 2014-12-06 09:54:28 +00:00
  • 5acd9c007f * 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. Yaakov Selkowitz 2014-12-05 16:33:02 +00:00
  • 0548dda67f * common.din (__bsd_qsort_r): Add. (qsort_r): Add. * include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump. Yaakov Selkowitz 2014-12-05 16:31:36 +00:00
  • bf9897549d * 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. Yaakov Selkowitz 2014-12-05 16:21:04 +00:00
  • d9bf2986f5 * 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. Yaakov Selkowitz 2014-12-05 16:21:03 +00:00
  • ce6c6a4d82 * tzmap-from-unicode.org: Create tzmap as const. * tzmap.h: Regenerate. Corinna Vinschen 2014-12-05 14:39:04 +00:00
  • 4c2380d396 * 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. Corinna Vinschen 2014-12-05 13:41:52 +00:00
  • 5469c45a9e * libc/include/sys/signal.h [__SPU__] (kill): Declare. Corinna Vinschen 2014-12-04 09:15:50 +00:00
  • a800b3ae9c * libc/include/sys/signal.h [__SPU__] (kill): Declare. Corinna Vinschen 2014-12-04 09:15:50 +00:00
  • 8c049028d9 2014-12-03 Jeff Johnston <jjohnstn@redhat.com> Jeff Johnston 2014-12-03 20:25:09 +00:00
  • 3de9bb2ec8 2014-12-03 Jeff Johnston <jjohnstn@redhat.com> Jeff Johnston 2014-12-03 20:25:08 +00:00
  • c9cfd71d8c * new-features.xml (ov-new1.7.34): Add latest changes. Corinna Vinschen 2014-12-03 16:35:02 +00:00
  • df0b29e2dc *** empty log message *** Corinna Vinschen 2014-12-03 16:32:05 +00:00
  • f2b106b2df Revert accidental checkin Corinna Vinschen 2014-12-02 15:41:13 +00:00
  • df386ddac8 * 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. Corinna Vinschen 2014-12-02 15:39:57 +00:00
  • 44cacc7f44 * 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. Corinna Vinschen 2014-12-02 11:30:04 +00:00
  • 4fe712cd80 * uinfo.cc (cygheap_user::ontherange): Fix order of fallbacks creating HOMEDRIVE/HOMEPATH values to be Windows-compliant. Add comments. Corinna Vinschen 2014-12-02 11:26:22 +00:00
  • 41f77e25f1 * 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. Corinna Vinschen 2014-12-02 10:49:47 +00:00
  • 195a9205e5 * uinfo.cc (fetch_from_description): Make static. (fetch_from_path): Ditto. Corinna Vinschen 2014-12-02 10:28:42 +00:00
  • 9119d13db8 * 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. Corinna Vinschen 2014-12-02 10:16:03 +00:00
  • 0c326d84b5 * spawn.cc (child_info_spawn::worker): Fix formatting. Corinna Vinschen 2014-12-02 10:09:13 +00:00
  • adc07b999f * sec_auth.cc (str2lsa): Remove. (str2buf2lsa): Remove. (lsaauth): Call RtlInitAnsiString instead of str2lsa and str2buf2lsa. Corinna Vinschen 2014-12-02 10:04:53 +00:00
  • f5dc13757f * cygheap.cc (init_cygheap::init_installation_root): Fix typo in comment. Corinna Vinschen 2014-12-02 09:59:53 +00:00
  • 79a6cc4d49 * autoload.cc (IdnToAscii): Use simpler, equivalent LoadDLLfuncEx. (IdnToUnicode): Ditto. Corinna Vinschen 2014-12-02 09:59:01 +00:00
  • 9e9d7a8ce1 * 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. Corinna Vinschen 2014-12-01 14:02:55 +00:00
  • 26158dc3e9 * 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. Corinna Vinschen 2014-11-28 20:46:13 +00:00
  • c2f50c4099 * 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. Yaakov Selkowitz 2014-11-28 20:25:24 +00:00
  • 9d2eff6684 * 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. Corinna Vinschen 2014-11-28 12:10:12 +00:00
  • b3281dd194 * 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. Corinna Vinschen 2014-11-28 08:51:03 +00:00
  • db59ff392e * 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. Corinna Vinschen 2014-11-28 08:51:02 +00:00
  • d37bfe1da2 * 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. Corinna Vinschen 2014-11-28 08:47:39 +00:00
  • 29c8aed71f * 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. Corinna Vinschen 2014-11-28 08:47:39 +00:00
  • 3bde24b892 * mkgroup.c (main): Call enum_local_groups with offset 0x30000 for local machine, too. Corinna Vinschen 2014-11-28 08:44:39 +00:00
  • f3939c059c * 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. Corinna Vinschen 2014-11-27 19:55:37 +00:00
  • e7d7418270 * 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. Corinna Vinschen 2014-11-27 16:49:41 +00:00
  • db880b5642 * 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. Corinna Vinschen 2014-11-27 16:20:14 +00:00
  • a7ec2c7cea 2014-11-26 Matthew Fortune <Matthew.Fortune@imgtec.com> Jeff Johnston 2014-11-27 00:28:09 +00:00
  • 84b2a020da 2014-11-26 Matthew Fortune <Matthew.Fortune@imgtec.com> Jeff Johnston 2014-11-27 00:28:09 +00:00
  • 93d15b36ef * 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. Corinna Vinschen 2014-11-26 19:46:59 +00:00
  • 7ed88fa910 * 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. Corinna Vinschen 2014-11-26 09:47:26 +00:00
  • 8a2ab1aea1 * 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. Corinna Vinschen 2014-11-26 09:47:26 +00:00
  • 75e2565a57 * 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. Corinna Vinschen 2014-11-25 11:53:00 +00:00
  • add7ac5b42 * 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. Corinna Vinschen 2014-11-25 11:52:59 +00:00
  • cda7e6ca20 * include/fcntl.h: Move all open flags (except O_NDELAY) to newlib's sys/_default_fcntl.h. Corinna Vinschen 2014-11-25 11:42:20 +00:00