1d95e198c1* dll_init.h (struct dll): Set size of name element to ANYSIZE_ARRAY. * dll_init.cc: Fix formatting. (dll_list::alloc): Only allocate as much memory for struct dll as necessary for given DLL name. (dll_list::load_after_fork): Only read a single page of parent memory. Only read more if namelen indicates that it's necessary.
Corinna Vinschen
2009-06-06 11:47:29 +0000
397775c6f6* strfuncs.cc (sys_cp_wcstombs): Implement reverse functionality of the change to sys_cp_mbstowcs from 2009-05-30. (sys_cp_mbstowcs): Slightly reformat. Fix comment to accommodate change to sys_cp_wcstombs. Don't write to *ptr if dst is NULL.
Corinna Vinschen
2009-06-03 17:23:39 +0000
c48a1e46bf* fhandler_console.cc (fhandler_console::read): Convert Alt-Backspace to \033\177 or to \377 dependent on the setting of dev_state->metabit.
Corinna Vinschen
2009-06-03 11:07:38 +0000
ec8224bad1* config.sub, config.guess: Update from upstream sources.
Ben Elliston
2009-06-02 23:00:59 +0000
9b09fb22e22009-06-02 Richard Earnshaw <rearnsha@arm.com>
Jeff Johnston
2009-06-02 20:39:17 +0000
fa986bf9cd* path.cc (path_conv::check): Don't call set_exec for files on "noacl" mount points.
Corinna Vinschen
2009-06-02 13:29:30 +0000
e17c0a23e3* libc/ctype/jp2uc.c: Skip all definition if defined __CYGWIN__. (__jp2uc): Change the scope to static function. * libc/ctype/local.h (_jp2uc): Define as macro if defined __CYGWIN__. * libc/string/local.h (_jp2uc): Include ../ctype/local.h.
Corinna Vinschen
2009-06-02 09:41:06 +0000
6f15a1a0f5* Makefile.tpl ([+compare-target+]): Compare all stage directories, rather than just gcc. * Makefile.in: Rebuilt.
Alexandre Oliva
2009-06-02 08:23:45 +0000
e941ee1180merge from gcc
DJ Delorie
2009-06-01 19:40:32 +0000
e44b9069cd* strfuncs.cc (sys_cp_mbstowcs): Treat src as unsigned char *. Convert failure of f_mbtowc into a single malformed utf-16 value.
Christopher Faylor
2009-05-31 03:59:38 +0000
025e4859af* cygwin/include/sys/termios.h: Make default erase character "^?".
Christopher Faylor
2009-05-30 17:21:22 +0000
bfa7707bce* fhandler_console.cc (fhandler_console::read): Convert backspace key to DEL.
Christopher Faylor
2009-05-30 05:51:41 +0000
992ddba949* path.cc (cwdstuff::set): Rewrite previous change to properly test the end of the buffer.
Christopher Faylor
2009-05-29 20:18:50 +0000
9971adf5aa* path.cc (cwdstuff::set): Avoid removing a nonexistent trailing slash.
Christopher Faylor
2009-05-28 05:10:03 +0000
0072a411292009-05-27 Neal H. Walfield <neal@gnu.org>
Jeff Johnston
2009-05-27 18:54:58 +0000
c6e85c0de42009-05-27 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu
2009-05-27 17:05:53 +0000
c0cf44eadc* plugins.m4: New.
Nick Clifton
2009-05-27 16:29:54 +0000
5cf384df95* Makefile.tpl (all): Avoid harmless warning in make all when gcc-bootstrap is enabled but stage_last does not exist. * Makefile.in: Rebuilt.
Alexandre Oliva
2009-05-27 07:30:42 +0000
1ccd407d79Change explicitely to explicitly throughout.
Christopher Faylor
2009-05-27 02:30:42 +0000
6b4d6adebd* mount.cc (mount_info::add_item): Avoid using any-old '/' as indicating root.
Christopher Faylor
2009-05-19 00:42:35 +0000
1a7613f0b8PR other/40159 * Makefile.tpl (all): Don't end with unconditional success. * Makefile.in: Rebuilt.
Alexandre Oliva
2009-05-19 00:01:50 +0000
027b9857b3gdb/ 2009-05-18 Jon Beniston <jon@beniston.com>
Jon Beniston
2009-05-18 13:25:34 +0000
3fdcac0b1c* mount.cc (mount_info::got_usr_bin): Mark as NO_COPY. (mount_info::got_usr_lib): Ditto. (mount_info::root_idx): Ditto.
Christopher Faylor
2009-05-18 04:58:21 +0000
0a23799aee* cygpath.cc (codepage): New variable. (long_options): Add --codepage option. (options): Add -C option. (usage): Add -C/--codepage description. (my_wcstombs): New function. Use througout instead of wcstombs. (do_options): Handle -C/--codepage option. * utils.sgml (cygpath): Add description for new -C/--codepage option.
Corinna Vinschen
2009-05-17 11:16:12 +0000
48829c1d86* Makefile.in (cygpath.exe): Link against cygwin.a before linking against ntdll.dll to avoid linking symbols defined in both DLLs from ntdll. (ps.exe): Ditto.
Corinna Vinschen
2009-05-16 15:46:42 +0000
de8a5b78102009-05-15 Craig Howland <howland@LGSInnovations.com>
Jeff Johnston
2009-05-15 16:15:57 +0000
098a75dc51* libc/string/local.h: New file. * libc/string/wcswidth.c (wcswidth): Convert japanese wide characters to Unicode here. Handle surrogate pairs for UTF-16 systems. Call __wcwidth rather than wcwidth. * libc/string/wcwidth.c: New implementation using Markus Kuhn's wcwidth implementation for Unicode. (bisearch): New static function. (__wcwidth): New function. Take wint_t rather than wchar_t as parameter to allow full Unicode handling on UTF-16 systems. Move old wcwidth implementation here for non-multibyte aware systems. (wcwidth): Convert japanese wide characters to Unicode here. Call __wcwidth rather than using iswprint/iswcntrl.
Corinna Vinschen
2009-05-15 11:40:28 +0000
73535010d7* cygpath.cc (main): Only setlocale for LC_CTYPE category. Fallback to UTF-8 if locale is "C". * ldd.cc (main): Ditto. * mkgroup.c (main): Ditto. * mkpasswd.c (main): Ditto. * passwd.c (main): Ditto.
Corinna Vinschen
2009-05-15 11:30:18 +0000
6f401eccfb* cygheap.cc (cygheap_init): Set Cygwin default locale values. * cygheap.h (struct cygheap_locale): New structure. (struct user_heap_info): Add cygheap_locale member locale. * dcrt0.cc (dll_crt0_1): Revert to calling _setlocale_r so that only the applications locale is reverted to "C". * environ.cc (environ_init): Remove unused got_lc variable. * fhandler.h (class dev_console): Remove now unsed locale variables. * fhandler_console.cc (fhandler_console::get_tty_stuff): Remove setting dev_console's locale members. (dev_console::con_to_str): Use internal locale settings. Default to __ascii_wctomb if charset is "ASCII". (fhandler_console::write_normal): Ditto. * strfuncs.cc (__ascii_wctomb): Drop declaration. (__db_wctomb): Use fixed value 2 instead of not necessarily matching MB_CUR_MAX. (__eucjp_wctomb): Use 3 instead of MB_CUR_MAX. (sys_cp_wcstombs): Remove special case for "C" locale. (sys_wcstombs): Implement here. Use internal locale data stored on cygheap. (sys_cp_mbstowcs): Remove special case for "C" locale. (sys_mbstowcs): Implement here. Use internal locale data stored on cygheap. * syscalls.cc (internal_setlocale): New function to set cygheap locale data and to reset CWD posix path. (setlocale): Just call internal_setlocale from here if necessary. * wchar.h (__ascii_wctomb): Declare. (sys_wcstombs): Don't define inline, just declare. (sys_mbstowcs): Ditto.
Corinna Vinschen
2009-05-14 19:49:37 +0000
ef5da523a9* mount.cc (mount_info::init): Remove MOUNT_CYGWIN_EXEC setting when auto-mounting /usr/bin.
Christopher Faylor
2009-05-14 14:44:31 +0000
e8d534d51a* faq-setup.xml (faq.setup.upgrade-mountpoints): New entry. * faq-using.xml (faq.using.directory-structure): Align example to latest mount output. * pathnames.sgml (mount-table): Add note about upgrade helper scripts to create /etc/fstab and /etc/fstab.f/${USER}.
Corinna Vinschen
2009-05-14 11:03:43 +0000
3106abf042* new-features.sgml: Add automounting of /, /usr/bin, and /usr/lib. * pathnames.sgml (pathnames-intro): Be more verbose about POSIX and Win32 paths. (mount-table): Add "auto" flag. Add a paragraph about /usr/bin and /usr/lib. (pathnames-mount-ex): Enhance flags output.
Corinna Vinschen
2009-05-14 10:03:25 +0000
f7c246620d* mount.cc (oopts): Add a no-op "auto" option. (mount_info::create_root_entry): Set root dir to MOUNT_IMMUTABLE rather than to MOUNT_OVERRIDE.
Corinna Vinschen
2009-05-14 09:56:45 +0000
e951743709cygwin ChangeLog 2009-05-13 Corinna Vinschen <corinna@vinschen.de> Christopher Faylor <me+cygwin@cgf.cx>
Christopher Faylor
2009-05-14 03:25:45 +0000
9708e8cde22009-05-13 Ken Werner <ken.werner@de.ibm.com>
Jeff Johnston
2009-05-13 21:38:25 +0000
0d1c7d281c2009-05-13 Ulrich Weigand <uweigand@de.ibm.com>
Jeff Johnston
2009-05-13 21:31:06 +0000
5900080d7d2009-05-13 Paul Brook <paul@codesourcery.com>
Jeff Johnston
2009-05-13 18:31:55 +0000
eba36c51fa2009-05-13 Paul Brook <paul@codesourcery.com>
Jeff Johnston
2009-05-13 18:28:49 +0000
40c66067fb* pathnames.sgml (pathnames-unusual): Talk about using UTF-8 in C locale. * setup2.sgml (setup-locale-problems): Ditto.
Corinna Vinschen
2009-05-13 15:11:39 +0000
b6c6ea43f3* cygheap.h (cwdstuff): Convert to class. Make posix and dir private. (cwdstuff::get_posix): New method. (cwdstuff::reset_posix): New method. * dcrt0.cc (dll_crt0_1): Call setlocale rather than _setlocale_r. * environ.cc (environ_init): Ditto. Prefer "C" locale over current codepage default locale. * path.cc (chdir): Use cwdstuff::get_posix method instead of accessing cwdstuff::posix directly. (cwdstuff::set): Defer creating posix path to first usage. (cwdstuff::get_posix): Create posix path if it's empty, and return it. (cwdstuff::get): Create posix path if it's empty. * strfuncs.cc (sys_cp_wcstombs): Use UTF-8 conversion in the "C" locale. (sys_cp_mbstowcs): Ditto. * syscalls.cc (gen_full_path_at): Fetch CWD posix path locked. (setlocale): Implement here. Reset CWD posix path.
Corinna Vinschen
2009-05-13 15:00:06 +0000
c91ae28fd2ChangeLog: PR target/37137 * Makefile.def (flags_to_pass): Remove redundant and incomplete STAGE1_CFLAGS, STAGE2_CFLAGS, STAGE3_CFLAGS, and STAGE4_CFLAGS. Add FLAGS_FOR_TARGET and BUILD_CONFIG. (bootstrap_stage): Remove bootstrap-debug custom stages. Turn stage_configureflags, stage_cflags and stage_libcflags into explicit Makefile macros. * Makefile.tpl (HOST_EXPORTS, EXTRA_HOST_FLAGS): Pass GCJ and GFORTRAN. (POSTSTAGE1_HOST_EXPORTS): Add XGCC_FLAGS_FOR_TARGET and TFLAGS to CC. Set CC_FOR_BUILD from CC. (BASE_TARGET_EXPORTS, RAW_CXX_TARGET_EXPORTS, NORMAL_TARGET_EXPORTS): Move SYSROOT_CFLAGS_FOR_TARGET and DEBUG_PREFIX_CFLAGS_FOR_TARGET from CFLAGS and CXXFLAGS to XGCC_FLAGS_FOR_TARGET. Add it along with TFLAGS to CC, CXX, GCJ, and GFORTRAN. (TFLAGS, STAGE_CFLAGS, STAGE_TFLAGS, STAGE_CONFIGURE_FLAGS): New. (_LIBCFLAGS): Renamed to _TFLAGS. (do-compare-debug, do-compare3-debug): Drop. (CC, GCC_FOR_TARGET, CXX_FOR_TARGET, RAW_CXX_FOR_TARGET, GCJ_FOR_TARGET, GFORTRAN_FOR_TARGET): Remove FLAGS_FOR_TARGET. (FLAGS_FOR_TARGET, SYSROOT_CFLAGS_FOR_TARGET, DEBUG_PREFIX_CFLAGS_FOR_TARGET): Move down. (XGCC_FLAGS_FOR_TARGET): New. (BASE_FLAGS_TO_PASS): Pass STAGEid_CFLAGS, STAGEid_TFLAGS and TFLAGS. (EXTRA_HOST_FLAGS): Pass GCJ and GFORTRAN. (POSTSTAGE1_FLAGS_TO_PASS): Move SYSROOT_CFLAGS_FOR_TARGET and DEBUG_PREFIX_CFLAGS_FOR_TARGET from CFLAGS, CXXFLAGS, LIBCFLAGS, LIBCXXFLAGS to XGCC_FLAGS_FOR_TARGET. Add it along with TFLAGS to CC, CXX, GCJ, and GFORTRAN. Pass XGCC_FLAGS_FOR_TARGET and TFLAGS. (BUILD_CONFIG): Include if requested. (all): Set TFLAGS on bootstrap. (configure-stageid-prefixmodule): Pass TFLAGS, adjust FLAGS. (all-stageid-prefixmodule): Likewise. (do-clean, distclean-stageid): Set TFLAGS. (restrap): Fix whitespace. * Makefile.in: Rebuilt. config/ChangeLog: * multi.m4: Save CXX, GFORTRAN and GCJ in config.status. * mt-gnu (CXXFLAGS_FOR_TARGET): Adjust. * bootstrap-O1.mk: New. * bootstrap-O3.mk: New. * bootstrap-debug.mk: New.
Alexandre Oliva
2009-05-12 18:16:01 +0000
ca3a040abf2009-05-11 Craig Howland <howland@LGSInnovations.com>
Jeff Johnston
2009-05-11 21:58:05 +0000
46777e0a3d* Makefile.in: Link ps.exe agains ntdll.dll. * ps.cc (main): Enable SE_DEBUG_NAME privilege if Windows processes have to be enumerated. Workaround EnumProcessModules problem when running under WOW64 and use NtQueryInformationProcess to fetch process image name.
Corinna Vinschen
2009-05-11 14:01:17 +0000
5aaaadc0e5* cygwin/version.h (CYGWIN_VERSION_CYGWIN_CONV): New define.
Christopher Faylor
2009-05-09 20:16:06 +0000
9b98d6a8fb* dtable.cc (dtable::init_std_file_from_handle): Add workaround for Windows 7 64 bit issue. Add lengthy comment to explain what happens. * wincap.h (wincaps::has_console_handle_problem): New element. * wincap.cc: Implement above element throughout. (wincap_7): New wincaps structure for NT 6.1 kernels. (wincapc::init): Set has_console_handle_problem to false for 32 bit systems.
Corinna Vinschen
2009-05-09 15:56:37 +0000
a22af4a956* sec_auth.cc (str2uni_cat): Move from here... * path.cc (str2uni_cat): ...to here. Simplify. Make static inline. (get_nt_native_path): Use RtlAppendUnicodeToString rather than str2uni_cat for constant strings for speed. * security.h (str2uni_cat): Drop declaration.
Corinna Vinschen
2009-05-09 15:08:16 +0000
4dff3fed7d* strfuncs.cc (sys_cp_wcstombs): save and restore previous errno value. (sys_cp_mbstowcs): Ditto.
Corinna Vinschen
2009-05-08 20:28:20 +0000
0e6edb13c6* strfuncs.cc (sys_cp_wcstombs): Set errno to 0 before converting wide char to SO/UTF-8 sequence.
Corinna Vinschen
2009-05-08 19:38:33 +0000
415867c378* include/sys/select.h: Guard definitions with __USE_W32_SOCKETS as the accompanying fd_set definitions in newlib's sys/types.h.
Corinna Vinschen
2009-05-08 10:54:58 +0000
5796080933* MAINTAINERS: Add myself as a maintainer for the MN10300 and to the write-after-approval list.
Nick Clifton
2009-05-08 10:00:25 +0000
797c4b998f* mn10300/sim.ld: Add missing section names such as .bss.* .text.*, etc. General tidy up.
Nick Clifton
2009-05-08 09:59:56 +0000
debb2e3e772009-05-07 Ken Werner <ken.werner@de.ibm.com>
Jeff Johnston
2009-05-07 18:07:35 +0000
6f5b891b7b* fhandler_console.cc (fhandler_console::ioctl): Properly treat TIOCLINUX argument as a char. * fhandler_tty.cc (fhandler_tty_slave::ioctl): Use coercion to properly set char value.
Christopher Faylor
2009-05-06 17:16:33 +0000
eed691a929* libc/minires.c (scanline): Fix type in calls to ctype functions to stay in unsigned char range for char values >= 0x80. * regex/regcomp.c: Ditto, throughout. * regex/regex2.h (ISWORD): Ditto.
Corinna Vinschen
2009-05-06 12:03:34 +0000
e1de7bfabd* faq-setup.xml: Fix entry explaing how the homedir is evaluated according to recent change.
Corinna Vinschen
2009-05-06 12:02:51 +0000
05e6f7b2b9* mkpasswd.c (current_user): Don't use HOMEDRIVE/HOMEPATH to generate user's homedir.
Corinna Vinschen
2009-05-06 11:54:24 +0000
764d88e4a7* cygheap.cc (cygheap_init): Set umask to a sane default. * uinfo.cc (cygheap_user::ontherange): Don't use HOMEDRIVE/HOMEPATH to set HOME. Default to /home/USERNAME.
Corinna Vinschen
2009-05-06 11:52:20 +0000
3227665e19* cygcheck.cc (find_app_on_path): Avoid using NULL pointer if find_on_path doesn't find the app on the path.
Christopher Faylor
2009-05-04 18:51:08 +0000
143cb0bed5* cygcheck.cc (usage): Fix option order and print.
Corinna Vinschen
2009-05-04 10:15:48 +0000
9d86c13dbb* security.cc (set_file_sd): Drop using FILE_OPEN_FOR_RECOVERY flag in call to NtOpenFile. * exceptions.cc (open_stackdumpfile): Ditto in call to NtCreateFile. * fhandler.cc (fhandler_base::open): Ditto. Simplify setting create_options.
Corinna Vinschen
2009-05-04 09:16:42 +0000
b7a1552440* libc/minires.c (scanline): Accommodate ctype changes which disallow use of an unadorned char argument to is* macros. * regex/regcomp.c: Ditto, throughout. * regex/regex2.h (ISWORD): Ditto.
Christopher Faylor
2009-05-04 04:30:37 +0000
b65ec404a7* fhandler.h (fhandler_console::MAX_WRITE_CHARS): Declare. (fhandler_console::write_replacement_char): Declare as inline. (fhandler_console::write_console): Declare new function. * fhandler_console.cc (fhandler_console::MAX_WRITE_CHARS): Define. (handler_console::write_console): Define. (fhandler_console::write_replacement_char): Define as inline. (fhandler_console::write_normal): Use write_console when writing buffers of unknown length.
Christopher Faylor
2009-05-04 03:51:16 +0000
1f5ea7a0db2009-05-01 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe
2009-05-02 01:46:36 +0000
2585eb1832Add self to MAINTAINERS file. Tweak moxie stack position.
Anthony Green
2009-05-01 02:53:25 +0000
82b77480f7Allow gcc warning for toupper even with extended charsets.
Eric Blake
2009-04-30 22:53:00 +0000
de72e93ad9include/elf 2009-04-30 Nick Clifton <nickc@redhat.com>
Nick Clifton
2009-04-30 15:47:11 +0000
a8fdf91d85* include/cygwin/socket.h: Define SOL_IPV6.
Christopher Faylor
2009-04-27 04:31:22 +0000
2addcd0830* Makefile.tpl (POSTSTAGE1_HOST_EXPORTS): Add GNATBIND. (POSTSTAGE1_FLAGS_TO_PASS): Pick up exported value for GNATBIND. * Makefile.in: Regenerate.
Eric Botcazou
2009-04-25 12:25:01 +0000
bcde1294002009-04-24 Jeff johnston <jjohnstn@redhat.com>
Jeff Johnston
2009-04-24 22:52:52 +0000
35f31b6a982009-04-24 Jeff johnston <jjohnstn@redhat.com>
Jeff Johnston
2009-04-24 22:49:55 +0000
de194872242009-04-24 Joseph Myers <joseph@codesourcery.com>
Jeff Johnston
2009-04-24 21:55:07 +0000
fc49eaf437Update ChangeLog entries.
H.J. Lu
2009-04-24 16:57:08 +0000
1f445b924b*** empty log message ***
Eli Zaretskii
2009-04-24 14:28:17 +0000
e05488489f* config.guess (pc:*:*:*): Return i586-pc-msdosdjgpp, for consistency with config.sub. (Update from upstream sources.)
Eli Zaretskii
2009-04-24 14:27:20 +0000