dded80b377* configure.ac: Add "recommended" version checks for GMP/MPC. Update recommended GMP/MPFR/MPC versions. * configure: Regenerate.
Kaveh Ghazi
2010-01-31 18:40:33 +0000
2d69f00e6e2010-01-29 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2010-01-29 23:04:21 +0000
54c4a92634* sec_auth.cc (lsaauth): Use CYG_LSA_MAGIC as checksum start value to decouple from Cygwin release.
Corinna Vinschen
2010-01-29 19:51:11 +0000
cd5401de59* cyglsa.c: Include lmcons.h instead of lm.h to make newer WinDDK happy. (LsaApLogonUserEx): Use CYG_LSA_MAGIC as checksum start value to decouple from Cygwin release. * make-64bit-version-with-visual-c.bat: Avoid compiler warning. * cyglsa64.dll: New build.
Corinna Vinschen
2010-01-29 19:50:15 +0000
0b189c1ef3* libc/strfmon.c (__setup_vars): Test for an empty string rather than for a NULL pointer.
Corinna Vinschen
2010-01-29 19:38:22 +0000
d5c4cd3f6c* dll_init.cc (remove_dll_atexit): New function. (dll_list::detach): Run any atexit handlers registered in the DLL prior to unloading.
Christopher Faylor
2010-01-29 18:34:09 +0000
2b37c431b1* libc/strfmon.c (__setup_vars): Fix compiler warning about assigning const strings. Compare a pointer to NULL rather than '\0'. * dll_init.cc (dll_dllcrt0_1): Minor comment fix. * pipe.cc (fhandler_pipe::create_selectable): Remove Win9x accommodation.
Christopher Faylor
2010-01-29 17:37:54 +0000
3432d6f1f7Throughout, use FileBothDirectoryInformation info class rather than FileDirectoryInformation info class to avoid problems with incomplete filesystem implementations. Fix comments accordingly. * fhandler_disk_file.cc (fhandler_disk_file::readdir_helper): Set fname->Length to 0 in error case to avoid potential crash in debug output. (fhandler_disk_file::readdir): Try to speed up the working default case. Check for STATUS_INVALID_NETWORK_RESPONSE as potential status value returned by filesystems not implementing FileIdBothDirectoryInformation. * ntdll.h (STATUS_INVALID_NETWORK_RESPONSE): Define. (FILE_BOTH_DIRECTORY_INFORMATION): Rename to official name. * path.cc (symlink_info::check): Don't request FILE_READ_EA access, it's not required for NFS. Try to speed up the working default case. Check for STATUS_INVALID_NETWORK_RESPONSE as potential status value returned by filesystems not supporting non-NULL EA parameters. Fix the way fs.update is called. Improve debug output.
Corinna Vinschen
2010-01-29 11:20:06 +0000
3d635c060e2010-01-26 Chris Sutcliffe <ir0n3h4d@users.sourceforge.net>
Chris Sutcliffe
2010-01-29 00:41:58 +0000
6a697174582010-01-26 Chris Sutcliffe <ir0n3h4d@users.sourceforge.net>
Chris Sutcliffe
2010-01-28 01:16:55 +0000
954515b011* faq-api.xml: d2u/u2d are from cygutils, not util-linux.
Yaakov Selkowitz
2010-01-26 19:26:59 +0000
e9e924bfae* Makefile.in: Skip validation in xmlto step. * overview.sgml: Clarify language in "A brief history of Cygwin".
Christopher Faylor
2010-01-26 16:16:19 +0000
d359eb2e1f2010-01-25 Kai Tietz <kai.tietz@onevision.com>
Chris Sutcliffe
2010-01-25 22:58:03 +0000
8944c6af48* nlsfuncs.cc (__get_lcid_from_locale): Add comments. Fix typos in comments. Make sure to set last_lcid every time. Return locale without territory part as invalid. Handle modern serbian territory names per ISO 3166 on older systems as well. Add appropriate comment. (__set_charset_from_locale): Handle LCID for sr_CS as well to make older systems happy.
Corinna Vinschen
2010-01-25 21:20:31 +0000
bf01561d73gcc PR libstdc++/36101, gcc PR libstdc++/42813 * configure.ac (bootstrap_target_libs): Make inclusion of target-libgomp conditional on libgomb being in target_configdirs. * configure: Regenerate.
Joern Rennecke
2010-01-25 18:06:22 +0000
9a3628f50c* faq-setup.xml: Drop references to non-NT systems. * faq-using.xml: Ditto. (faq.using.sshd-in-domain): New FAQ entry.
Corinna Vinschen
2010-01-25 17:04:29 +0000
0f8df291ac* nlsfuncs.cc (__set_charset_from_locale): Rearrange to set charset more closely aligned to Glibc.
Corinna Vinschen
2010-01-25 11:55:46 +0000
27ac64346f* spawn.cc (spawn_guts): Only try to remove long path prefix from runpath if runpath is not NULL.
Corinna Vinschen
2010-01-25 11:21:56 +0000
4fc8ae4f7b* nlsfuncs.cc (__get_lcid_from_locale): Fix a comment. Handle special language/TERRITORY combinations explicitely. Explain why.
Corinna Vinschen
2010-01-25 10:44:56 +0000
ca2b906d55* getlocale.c (main): Use setlocale and fetch string from Windows using GetLocaleInfoW. Explain why.
Corinna Vinschen
2010-01-25 09:22:12 +0000
af7f57b9fb* new-features.sgml: Rework layout to use itemizedlist. Fix typo. Add two missing entries.
Corinna Vinschen
2010-01-24 15:08:01 +0000
6b121156cd* strfuncs.cc (__sjis_wctomb): Special handling for characters which differ between SJIS and Windows codepage 932, if charset is "SJIS". (__sjis_mbtowc): Ditto. (_jis_wctomb): Remove. (__jis_mbtowc): Remove.
Corinna Vinschen
2010-01-23 16:43:17 +0000
b0466b3702* libc/locale/locale.c (loadlocale): Allow CP932 as alias for SJIS. Add to documentation. Add a few comments to #endif's for Cygwin.
Corinna Vinschen
2010-01-23 16:41:08 +0000
e0c57463f0* setup2.sgml (setup-locale-charsetlist): Add ASCII and TIS-620. Add various aliases and case differences.
Corinna Vinschen
2010-01-23 15:03:06 +0000
c631824a8e* libc/locale/locale.c (loadlocale): Disable JIS entirely on Cygwin. Allow TIS620 and TIS-620 as aliases for CP874 on Cygwin.
Corinna Vinschen
2010-01-23 14:32:25 +0000
e020bfa85b* nlsfuncs.cc (wcsxfrm): Call LCMapStringW with LCMAP_BYTEREV flag to allow correct comparison using wcscmp.
Corinna Vinschen
2010-01-23 10:11:43 +0000
ff0056d45e* new-features.sgml (ov-new1.7.2): Add chapter for news in 1.7.2. * setup2.sgml (setup-locale-ov): Describe how valid locales are determined by Windows locale support. Change description for modifiers in locale environment variables. (setup-locale-how): Describe new charset behaviour. Mention new getlocale tool to fetch valid locale information from Windows. (setup-locale-missing): Drop now implemented LC_foo options. Explain missing LC_MESSAGES in more detail.
Corinna Vinschen
2010-01-22 22:32:42 +0000
be822de2a1* Makefile.in (CYGWIN_BINS): Add getlocale. * getlocale.c: New file. * utils.sgml (getlocale): New section describing new getlocale tool.
Corinna Vinschen
2010-01-22 22:31:50 +0000
326fb376dd* Makefile.in (DLL_OFILES): Add nlsfunc.o and strfmon.o. * autoload.cc (LocaleNameToLCID): Define. * cygwin.din (strfmon): Export. * nlsfuncs.cc: New file. Define a lot of internal functions called from setlocale. (wcscoll): Implement locale-aware here, using CompareStringW function. (strcoll): Ditto. (wcsxfrm): Implement locale-aware here, usingLCMapStringW function. (strxfrm): Ditto. (__set_charset_from_locale): Replace __set_charset_from_codepage. Return Linux-compatible charset. * strfuncs.cc (__set_charset_from_codepage): Remove. * wchar.h (__set_charset_from_codepage): Drop definition. * wincap.h (wincaps::has_localenames): New element. * wincap.cc: Implement above element throughout. * libc/strfmon.c: New file. * libc/strptime.cc: Remove locale constant strings in favor of access to locale-specifc data. (strptime): Point _CurrentTimeLocale to locale-specific data. Throughout use correct locale-specific format fields for all locale-specific formats. * include/monetary.h: New file. * include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
Corinna Vinschen
2010-01-22 22:31:31 +0000
fe57329f99* libc/locale/lmonetary.c (__monetary_load_locale): Take additional parameters for wide char to multibyte conversion. Call __set_lc_monetary_from_win on Cygwin. * libc/locale/lmonetary.h: Make C++-safe. (__monetary_load_locale): Change declaration. * libc/locale/lnumeric.c (__numeric_load_locale): Take additional parameters for wide char to multibyte conversion. Call __set_lc_numeric_from_win on Cygwin. * libc/locale/lnumeric.h: Make C++-safe. (__numeric_load_locale): Change declaration. * libc/locale/locale.c (lconv): De-constify for Cygwin. (__set_charset_from_locale): Rename from __set_charset_from_codepage. Take locale as parameter instead of a codepage. (loadlocale): Allow "EUC-JP" for "EUCJP" and "EUC-KR" for "EUCKR". Change documnetation accordingly. Enable LC_COLLATE, LC_MONETARY, LC_NUMERIC, and LC_TIME handling on Cygwin. (_localeconv_r): On Cygwin, copy values from monetary and numeric domain if change has been noted. * libc/locale/nl_langinfo.c (nl_langinfo): Accommodate change of am/pm layout in struct lc_time_T. * libc/locale/timelocal.c (_C_time_locale): Accommodate redefinition of am/pm members. (__time_load_locale): Take additional parameters for wide char to multibyte conversion. Call __set_lc_time_from_win on Cygwin. * libc/locale/timelocal.h: Make C++-safe. (struct lc_time_T): Convert am and pm to a am_pm array for easier consumption by strftime and strptime. (__time_load_locale): Change declaration. * libc/time/strftime.c: Change documentation to reflect changes to strftime. Remove locale constant strings in favor of access to locale-specifc data. (_ctloc): Define access method for locale-specifc data. (TOLOWER): Define for tolower conversion. (strftime): Throughout, convert locale-specific formats to use locale-specific data. Add GNU-specific "%P" format. * libc/time/strptime.c: Remove locale constant strings in favor of access to locale-specifc data. (_ctloc): Define access method for locale-specifc data. (strptime): Throughout, convert locale-specific formats to use locale-specific data.
Corinna Vinschen
2010-01-22 13:03:42 +0000
2d7f21da1e2010-01-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
Andreas Krebbel
2010-01-21 11:40:28 +0000
514329a7ec* libc/locale/nl_langinfo.c (nl_langinfo): On Cygwin, translate often-used charsets into Linux compatible codesets.
Corinna Vinschen
2010-01-20 13:18:24 +0000
044cd635332010-01-19 Andy Koppe <andy.koppe@gmail.com>
Jeff Johnston
2010-01-19 23:16:45 +0000
8c72ebb7e0* libc/stdlib/wcstombs_r.c (_wcstombs_r): Handle invalid characters correctly also in the s==NULL case.
Corinna Vinschen
2010-01-19 21:14:53 +0000
2a2b1437e7* common.h (PN_XNUM): Define.
Alan Modra
2010-01-19 13:50:25 +0000
da5f018bef* libc/locale/locale.c (loadlocale): Change comments to refer to ISO 639-3 rather than 639-2.
Corinna Vinschen
2010-01-17 14:57:32 +0000
0b8e38dd8b* setup2.sgml (setup-locale): Mention three character codes per ISO 639-3.
Corinna Vinschen
2010-01-17 14:55:57 +0000
d24015235c* libc/locale/locale.c (loadlocale): Allow three character language codes to accommodate ISO 639-2 codes.
Corinna Vinschen
2010-01-17 14:41:58 +0000
62910474ac* syscalls.cc (internal_setlocale): Use UTF-8 internally if external charset is ASCII.
Corinna Vinschen
2010-01-17 09:41:01 +0000
32cb8c8cfe* libc/locale/locale.c (lc_ctype_charset): Disable defaulting to "UTF-8" on Cygwin. (lc_message_charset): Ditto. (loadlocale): Disable setting charset of the "C" locale to "UTF-8" on Cygwin. * libc/stdlib/mbtowc_r.c (__mbtowc): Add Cygwin-specific comment. * libc/stdlib/wctomb_r.c (__wctomb): Ditto.
Corinna Vinschen
2010-01-17 09:39:06 +0000
e6bda02346* setup-net.sgml: Remove obsolete assertion.
Christopher Faylor
2010-01-16 18:06:27 +0000
011560c87d* libc/fnmatch.c: Replace with multibyte capable version from FreeBSD.
Corinna Vinschen
2010-01-16 15:11:56 +0000
1b526b480b* cygpath.cc (get_mixed_name): Drop function. Replace with call to convert_slashes throughout. (do_sysfolders): Free allocated buffer. (do_pathconv): Fix freeing last buffer.
Corinna Vinschen
2010-01-16 10:25:58 +0000
1a8d1e1040* fhandler_socket.cc (fhandler_socket::accept4): Reset async flag on accepted socket.
Corinna Vinschen
2010-01-16 10:22:58 +0000
9d5bf1b13c* fhandler_socket.cc (fhandler_socket::accept4): Set nonblocking flag exactly according to flags, as on Linux. * net.cc (cygwin_accept): Maintain BSD semantics here.
Corinna Vinschen
2010-01-15 21:34:27 +0000
0d6531551b* cygwin.din (accept4): Export. * fhandler.h (fhandler_socket::accept4): Rename from accept. Take additional flag parameter. * fhandler_socket.cc (fhandler_socket::accept4): Ditto. Handle SOCK_NONBLOCK and SOCK_CLOEXEC flags. * net.cc (cygwin_socket): Handle SOCK_NONBLOCK and SOCK_CLOEXEC flags in type. Check for invalid flag values. (socketpair): Ditto. (cygwin_accept): Accommodate renaming of fhandler_socket::accept function to accept4. (accept4): New function. * posix.sgml: Mention accept4 as GNU extensions. * include/cygwin/socket.h (SOCK_NONBLOCK): Define. (SOCK_CLOEXEC): Define. (_SOCK_FLAG_MASK): Define when building Cygwin. * include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump. * include/sys/socket.h (accept4): Declare.
Corinna Vinschen
2010-01-15 15:40:05 +0000
14c800a5ba* posix.sgml: Mention dup3 and pipe2 as GNU extensions.
Corinna Vinschen
2010-01-15 14:22:42 +0000
41d184bb62* dcrt0.cc (dll_crt0_1): Reset locale to "C" at the last moment before calling the application's main. * syscalls.cc (internal_setlocale): Don't reset locale to "C here. Change comment accordingly.
Corinna Vinschen
2010-01-14 18:56:24 +0000
37671b5114* libc/include/sys/_default_fcntl.h (O_CLOEXEC): Define as _FNOINHERIT. (F_DUPFD_CLOEXEC): Define for Cygwin. * libc/include/sys/unistd.h (dup3): Define for Cygwin. (pipe2): Ditto.
Corinna Vinschen
2010-01-14 18:49:13 +0000
e70fdfb99f* cygwin.din (dup3): Export. (pipe2): Export. * dtable.cc (dtable::dup_worker): Take additional flags parameter. Handle O_CLOEXEC flag. (dtable::dup3): Rename from dup2. Take additional flags parameter. Check for valid flags. Drop check for newfd == oldfd. * dtable.h (dtable::dup_worker): Add flags parameter. (dtable::dup3): Rename from dup2. * fcntl.cc (fcntl64): Add F_DUPFD_CLOEXEC case. * fhandler.h (fhandler_mailslot::get_object_attr): Add flags parameter. * fhandler.cc (fhandler_base::open): Use security attribute with inheritance according to setting of O_CLOEXEC flag. * fhandler_console.cc (fhandler_console::open): Ditto. * fhandler_fifo.cc (sec_user_cloexec): New inline function to create security attribute with inheritance according to setting of O_CLOEXEC flag. (fhandler_fifo::open): Call sec_user_cloexec to fetch security attribute. (fhandler_fifo::wait): Ditto. * fhandler_mem.cc (fhandler_dev_mem::open): Ditto. * fhandler_mailslot.cc (fhandler_mailslot::get_object_attr): Take additional flags parameter. Use security attribute with inheritance according to setting of O_CLOEXEC flag. (fhandler_mailslot::open): Call get_object_attr with flags parameter. * fhandler_registry.cc (fhandler_registry::open): Call set_close_on_exec on real handles to accommodate O_CLOEXEC flag. * fhandler_tty.cc (fhandler_tty_slave::open): Ditto. * fhandler_tape.cc: Create mutex with inheritance according to setting of O_CLOEXEC flag. * pipe.cc: Replace usage of O_NOINHERIT with O_CLOEXEC. (fhandler_pipe::init): Simplify setting close_on_exec flag. (fhandler_pipe::open): Remove setting close_on_exec flag. (fhandler_pipe::create): Use security attribute with inheritance according to setting of O_CLOEXEC flag. (pipe2): New exported function. * posix_ipc.cc: Throughout, open backing files with O_CLOEXEC flag to follow POSIX semantics. * security.h (sec_none_cloexec): New define. * syscalls.cc (dup): Add missing extern "C" qualifier. Accommodate renaming of dtable::dup2 to dtable::dup3. (dup2): Ditto. Check newfd == oldfd here. (dup3): New function. Check newfd == oldfd here. (open): Set close_on_exec flag according to O_CLOEXEC flag before calling fhandler->open. * include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
Corinna Vinschen
2010-01-14 18:46:02 +0000
491912bffeRemove argument name.
H.J. Lu
2010-01-14 15:18:42 +0000
2e31b6574aAdd new DW_AT_use_GNAT_descriptive_type CU attribute.
Joel Brobecker
2010-01-13 11:09:31 +0000
c013520152* fhandler_tty.cc (fhandler_tty_master::init): Don't erase all default termios settings of slave console.
Corinna Vinschen
2010-01-13 11:06:21 +0000
4bcdec7276* syscalls.cc (rename): Don't exit prematurely with EROFS when trying to rename an AF_LOCAL socket or when trying to replace an AF_LOCAL socket.
Corinna Vinschen
2010-01-13 09:45:18 +0000
4aab0ed828* cygwinenv.sgml (cygwinenv-implemented-options): Try to make compatibility new symlinks vs. old Cygwin clearer.
Corinna Vinschen
2010-01-12 16:40:53 +0000
c04ed45d82* globals.cc (ro_u_nwfs): New R/O unicode string. * mount.cc (fs_info::update): Check for NWFS filesystem. Set has_buggy_basic_info, if so. Add comment to explain why. (fillout_mntent): Add "nwfs" string to fs_names array. * mount.h (enum fs_info_type): Add nwfs. (class fs_info): Add has_buggy_basic_info status flag. Add accessors for has_buggy_basic_info and is_nwfs. * fhandler_disk_file.cc (fhandler_base::fstat_by_handle): Accommodate filesystems with broken FileBasicInformation handling. * path.cc (symlink_info::check): Ditto. * path.h (path_conv::has_buggy_basic_info): Add method.
Corinna Vinschen
2010-01-12 14:47:46 +0000
4ee93264fd* dtable.cc (build_fh_name_worker): Remove. Move all functionality back into build_fh_name. (build_fh_name): Drop unused HANDLE parameter. Drop call to pc.fillin. Remove disabled build_fh_name with UNICODE_STRING name parameter. * dtable.h (build_fh_name): Drop HANDLE parameter from declaration. Remove declaration for build_fh_name with UNICODE_STRING name parameter. * path.cc (path_conv::fillin): Remove. (symlink_info::check): Fix comment. * path.h (path_conv::fillin): Remove declaration. * dir.cc: Accommodate change in build_fh_name parameters throughout. * sec_acl.cc: Ditto. * syscalls.cc: Ditto.
Corinna Vinschen
2010-01-12 10:14:59 +0000
eeda30d7d52010-01-11 Sebastian Huber <sebastian.huber@embedded-brains.de>
Jeff Johnston
2010-01-11 23:24:47 +0000
d8a439359a2010-01-11 Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
Jeff Johnston
2010-01-11 22:55:47 +0000
ab48bd3b04merge from gcc
DJ Delorie
2010-01-11 19:12:42 +0000
2e74cde7cb* pathnames.sgml (mount-table): Add info that posix=0 is default for the cygdrive prefix.
Corinna Vinschen
2010-01-11 18:00:14 +0000
523a66d91d* fhandler_proc.cc (format_proc_stat): Use new in_buf. (format_proc_cpuinfo): Replace szBuffer with a union in_buf. Use type correct throughout. Add a couple of missing or newer cpu flags. Allow certain AMD flags for intel as well.
Corinna Vinschen
2010-01-11 15:10:21 +0000
781be3b173* overview.sgml: Fix Red Hat brand name.
Corinna Vinschen
2010-01-07 12:18:01 +0000
6004370ba1* cygpath.cc (main): Remove enforcing "en_US.UTF-8" locale. Revert usage of argz functions when reading input from file and simplify option usage. Allow only one option argument and use the rest as filename argument to allow spaces in filenames. Restrict processing special folder type options to one line.
Corinna Vinschen
2010-01-07 12:08:11 +0000
8c7d5f45ee* basic-modes.h (MAKEDI): New macro.
Doug Evans
2010-01-06 05:25:24 +0000
7fce58cbdamerge from gcc
DJ Delorie
2010-01-05 21:10:23 +0000
37f42cc1c8* overview.sgml: Fix Red Hat URL.
Christopher Faylor
2010-01-04 16:24:06 +0000
e1212c436b* dcrt0.cc: Bump copyright. Do the changelog shuffle.
Christopher Faylor
2010-01-01 19:28:15 +0000
1afba8e5f2* dcrt0.cc (dll_crt0_1): Move internal locale setting prior to potential globify to prevent creation of unglobbed filenames in the wrong character set.
Christopher Faylor
2010-01-01 19:15:11 +0000
6684d8814fUpdate copyright notices to add year 2010.
Joel Brobecker
2010-01-01 10:03:25 +0000