aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-04-15 * cygpath.cc (do_pathconv): Only skip \\?\ prefix if it's reallyCorinna Vinschen2-9/+18
given. Do backslash to slash conversion for mixed paths after handling \\?\ prefix.
2009-04-15 * path.cc (path_conv::get_wide_win32_path): Allow relative paths.Corinna Vinschen2-6/+24
(cygwin_conv_path): In case of CCP_POSIX_TO_WIN_W, convert relative paths to absolute paths if the relative pathname length exceeds MAX_PATH.
2009-04-15 * libc/bsdlib.cc: Align copyright with upstream.Corinna Vinschen8-27/+10
* libc/fnmatch.c: Ditto. * libc/fts.c: Ditto. * libc/inet_addr.c: Ditto. * libc/inet_network.c: Ditto. * libc/rcmd.cc: Ditto. * libc/rexec.cc: Ditto.
2009-04-14* speclib: Really revert to using tempdir.Christopher Faylor2-2/+6
2009-04-14* speclib: Revert to using tempdir.Christopher Faylor2-1/+5
2009-04-14 * localtime.cc (tzload): Implement setting __tzrule's offset memberCorinna Vinschen2-0/+10
using newlib's __gettzinfo () interface also when tzload returns successfully.
2009-04-13 * include/stdint.h (intptr_t): Remove long from type.Dave Korn2-5/+12
(uintptr_t): Likewise. (INTPTR_MIN): Remove 'L' suffix. (INTPTR_MAX, UINTPTR_MAX): Likewise.
2009-04-13 * Makefile.in (dumper.exe): Add -lz to ALL_LDFLAGS.Dave Korn2-1/+5
2009-04-12* speclib: Initial stab at cleaning up temp files. More work needed.Christopher Faylor3-4/+14
* mkimport: Ditto.
2009-04-12* Makefile.in (clean): Clean globals.h.Christopher Faylor2-2/+7
(LIBCOS): Depend on globals.h.
2009-04-12* mkimport: New script to perform all operations necessary to createChristopher Faylor6-139/+188
libcygwin.a. * rmsym: Delete. * newsym: Delete. * Makefile.in (toolopts): New variable which holds options relating to binutils/gcc tools. (speclib): Use toolopts. Add symbols to avoid copying to special libraries. (OBSOLETE_FUNCTIONS): Delete. (NEW_FUNCTIONS): Change to represent an argument to new mkimport script. (libcygwin.a): Use only new mkimport script to create libcygwin.a. Only rely on ${LIBCOS}. (*/lib*.a): Simplify speclib dependencies. (speclib): Accept toolchain options. Convert every argument to absolute path. Simplify parsing of nm output. Accommodate new exclude option.
2009-04-112009-04-11 Danny Smith <dannsymith@users.sourceforge.net>Chris Sutcliffe2-7/+13
* include/stdint.h (int_fast8_t): Specify as signed char. (INT8_C, UINT8_C, INT16_C, UINT16_C): Simplify: just allow promotion to int. (INT32_C, UINT32_C): Remove 'L' type specifier on constant.
2009-04-11 * include/stdint.h (INTPTR_MIN, INTPTR_MAX): Add 'L' suffix.Corinna Vinschen2-4/+9
(WINT_MAX): Add 'U' suffix.
2009-04-10* speclib: Use a more robust method to derive full file path.Christopher Faylor2-3/+7
2009-04-09* speclib: Semi-revert to previous version but don't try to generateChristopher Faylor4-52/+64
well-formed import library. Instead, just extract appropriate symbols and let later libcygwin.a on link line fill in the rest of the import stuff. * gendef: Hopefully no-op modification to allow easier post-processing on symbol values.
2009-04-09 * syscalls.cc (try_to_bin): Use tmp_pathbuf buffer to allocate infobufCorinna Vinschen2-10/+13
rather than using the stack.
2009-04-09 * syscalls.cc (try_to_bin): Fix alignment of infobuf.Corinna Vinschen2-1/+7
2009-04-092009-04-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>H.J. Lu3-8/+13
* configure.ac: Bump minimum GMP/MPFR versions to 4.2 and 2.3.1. * configure: Regenerate.
2009-04-092009-04-09 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu3-4/+10
PR gas/10039 * configure.ac: Require texinfo 4.7. * configure: Regenerated.
2009-04-092009-04-09 Steve Ellcey <sje@cup.hp.com>H.J. Lu4-24/+83
* Makefil.def (languages): New entries. * Makefile.tpl (check-gcc-*): New generic target. * Makefile.in: Regenerate.
2009-04-09 * libc/ctype/ctype_.c (_CTYPE_DATA_0_127): Remove _B flag from TAB.Corinna Vinschen8-92/+110
* libc/ctype/ctype_cp.h: Mark non-cased letters in tables for codepages 720, 862, 874, 1255, and 1256 to _U|_L. Fix a couple of incorrect class mappings. * libc/ctype/ctype_iso.h: Mark non-cased letters in ISO-8859 tables 6, 8, and 11 to _U|_L. Fix a couple of incorrect class mappings. * libc/ctype/isblank.c (isblank): Special case TAB. * libc/ctype/islower.c (islower): Check explicitely for _L flag only in (_U|_L). * libc/ctype/isupper.c (isupper): Ditto, but check for _U flag. * libc/include/ctype.h (islower): Same in macro. (isupper): Ditto. (isblank): Special case TAB. Redefine macro for GCC only.
2009-04-09 * fhandler_disk_file.cc (fhandler_disk_file::fchown): Catch anCorinna Vinschen6-8/+56
error when changing the user account on a standalone Samba server. Explain why. * sec_acl.cc (setacl): Accommodate additional parameter to set_file_sd. * sec_helper.cc (SECURITY_SAMBA_UNIX_AUTHORITY): Define. (well_known_samba_unix_user_fake_sid): Define. * security.cc (set_file_sd): Take additional parameter if ownership should be changed. Restrict requested permissions accordingly. (set_file_attribute): Accommodate additional parameter to set_file_sd. * security.h (well_known_samba_unix_user_fake_sid): Declare. (set_file_sd): Align declaration to above change.
2009-04-09 * libc/stdlib/local.h (__mbtowc): Declare extern.Corinna Vinschen2-3/+19
(__wctomb): Ditto.
2009-04-09 * libc/stdlib/mbctype.h (_iseucjp1): Like _iseucjp, but alsoCorinna Vinschen3-5/+39
recognizes 0x8e and 0x8f lead bytes. (_iseucjp2): Rename from _iseucjp. * libc/stdlib/mbtowc_r.c (__eucjp_mbtowc): Convert JIS-X-0212 triplebyte sequences as well. * libc/stdlib/wctomb_r.c (__eucjp_wctomb): Convert to JIS-X-0212 triplebyte sequences as well.
2009-04-082009-04-08 Ken Werner <ken.werner@de.ibm.com>Jeff Johnston3-4/+9
* configure.in: Add square brackets for the array aliasing conftest. * configure: Regenerate.
2009-04-08bfd/H.J. Lu2-0/+7
2009-04-08 H.J. Lu <hongjiu.lu@intel.com> * elflink.c (elf_link_add_object_symbols): Warn alternate ELF machine code. include/ 2009-04-08 H.J. Lu <hongjiu.lu@intel.com> * bfdlink.h (bfd_link_info): Add warn_alternate_em. ld/ 2009-04-08 H.J. Lu <hongjiu.lu@intel.com> * lexsup.c (option_values): Add OPTION_WARN_ALTERNATE_EM. (ld_options): Likewise. (parse_args): Likewise. * ld.texinfo: Document --warn-alternate-em. * NEWS: Mention --warn-alternate-em.
2009-04-08[include/elf]DJ Delorie2-0/+6
* mep.h (EF_MEP_CPU_C5): New. [bfd] * archures.c: Add bfd_mach_mep_c5. * bfd-in2.h: Likewise. * cpu-mep.c: Add bfd_c5_arch. * elf32-mep.c: Support it. [gas] * config/tc-mep.c: Add UCI/DSP instruction support. Add C5 support. (md_show_usage): Change default endian to little. * config/tc-mep.h (TARGET_BYTES_BIG_ENDIAN): Change default to little. [ld] * emulparams/elf32mep.sh: Change default endian to little.
2009-04-07[bfd]DJ Delorie2-62/+66
* elf32-h8300.c (elf32_h8_relax_section): Relax MOVA opcodes. [gas] * tc-h8300.c (do_a_fix_imm): Pass the insn, force relocs for MOVA immediates. (build_bytes): Pass insn to do_a_fix_imm. [include/opcode] * h8300.h: Add relaxation attributes to MOVA opcodes.
2009-04-07 * include/stdint.h (int_least32_t): Define as int.Corinna Vinschen2-12/+27
(uint_least32_t): Ditto, unsigned. (int_fast16_t): Define as int. (int_fast32_t): Ditto. (uint_fast16_t): Ditto, unsigned. (uint_fast32_t): Ditto. (UINT32_MAX): Remove `L' long marker. (UINT_LEAST32_MAX): Ditto. (UINT_FAST16_MAX): Ditto. (UINT_FAST32_MAX): Ditto. (INT32_C): Ditto. (UINT32_C): Ditto.
2009-04-07 * path.cc (readlink): Accommodate new UTF-16 symlinks.Corinna Vinschen2-5/+27
2009-04-07 * strfuncs.cc: Change WCHAR to wchar_t in multibyte<->widecharCorinna Vinschen3-13/+22
conversion functions throughout. * wchar.h: Ditto in declarations. Guard them __INSIDE_CYGWIN__.
2009-04-07 * setup2.sgml (setup-locale-console): New section to explainCorinna Vinschen7-19/+85
console character set setting. * faq: Throughout, change references to User's Guide to references to 1.7 User's Guide temporarily. * faq-setup.html (faq.using.unicode): Rephrase slightly. (faq.using.weirdchars): New FAQ entry for console charset problems.
2009-04-07 * fhandler.h (class dev_console): Add members con_mbtowc, con_wctomb,Corinna Vinschen6-50/+123
and con_charset. (dev_console::str_to_con): Take mbtowc function pointer and charset as additional parameters. * fhandler_console.cc (fhandler_console::get_tty_stuff): Initialize aforementioned new members. Explain why. (dev_console::con_to_str): Remove useless comment. Call new sys_cp_wcstombs function rather than sys_wcstombs. (dev_console::str_to_con): Take mbtowc function pointer and charset as additional parameters. Call sys_cp_mbstowcs accordingly. (fhandler_console::write_normal): Only initialize f_mbtowc and charset once. Accommodate changed str_to_con. * strfuncs.cc (sys_cp_wcstombs): Renamed from sys_wcstombs. Take wctomb function pointer and charset as parameters. Use throughout. (sys_cp_mbstowcs): Take wctomb function pointer and charset as parameters instead of codepage. Remove matching local variables and their initialization. * wchar.h (ENCODING_LEN): Define as in newlib. (__mbtowc): Use mbtowc_p typedef for declaration. (wctomb_f): New type. (wctomb_p): New type. (__wctomb): Declare. (__utf8_wctomb): Use wctomb_f typedef for declaration. (sys_cp_wcstombs): Move declaration from winsup.h here. (sys_wcstombs): Ditto. (sys_wcstombs_alloc): Ditto. (sys_cp_mbstowcs): Ditto. (sys_mbstowcs): Ditto. (sys_mbstowcs_alloc): Ditto. * winsup.h: Move declaration of sys_FOO functions to wchar.h. Include wchar.h instead.
2009-04-062009-04-06 Mike Burgess <wizardsguild@earthlink.net>Jeff Johnston2-10/+13
* libc/string/strncasecmp.c: Optimized rewrite.
2009-04-062009-04-06 Ken Werner <ken.werner@de.ibm.com>Jeff Johnston3-5/+10
* libc/include/sys/features.h: Undefine _POSIX_TIMERS for spu. * libc/include/machine/time.h (nanosleep): Declare.
2009-04-06 * libc/rexec.cc (ruserpass): Use fstat64 instead of fstat.Corinna Vinschen2-3/+7
2009-04-06 * strfuncs.cc: Add comment to explain why we can't support JISCorinna Vinschen2-40/+169
for now. (__db_wctomb): Alwaus use WC_NO_BEST_FIT_CHARS. (__jis_wctomb): Just call __ascii_wctomb from here. (__eucjp_wctomb): Convert to standalone implementation to fix up the difference between eucJP and CP 20932 affecting JIS-X-0212 characters. Explain. (__kr_wctomb): Use codepage 949. (__db_mbtowc): Reorder code slightly. Always use MB_ERR_INVALID_CHARS in call to MultiByteToWideChar. Fix a problem with singlebyte sequences. Fix a bug in '\0' handling. Reset state->__count on successful return from non-zero state. (__jis_mbtowc): Just call __ascii_mbtowc from here. (__eucjp_mbtowc): Convert to standalone implementation to fix up the difference between eucJP and CP 20932 affecting JIS-X-0212 characters. (__kr_mbtowc): Use codepage 949. (__set_charset_from_codepage): Handle codepage 20932 as eucJP.
2009-04-06 * libc/locale/locale.c (loadlocale): Set mbc_max to 3 for EUCJP.Corinna Vinschen2-1/+5
2009-04-06 * new-features.sgml (ov-new1.7-posix): Remove JIS from supportedCorinna Vinschen3-4/+9
charsets. * setup2.sgml (setup-locale-charsetlist): Ditto.
2009-04-06 * setup2.sgml (setup-locale-problems): Change title to be more clearCorinna Vinschen2-1/+6
when referencing this section.
2009-04-05* Makefile.in: Use all compile options when calculating magic values.Christopher Faylor5-6/+15
* shared_info.h (CURR_SHARED_MAGIC): Revert erroneous value. * child_info.h (CURR_CHILD_INFO_MAGIC): Update. * fhandler.h (acquire_output_mutex): Remove unneeded ';'. (release_output_mutex): Ditto.
2009-04-05* net.cc: Undefine NOERROR and DELETE to avoid compiler warnings.Christopher Faylor4-2/+18
* shared_info.h (CURR_SHARED_MAGIC): Update. * spawn.cc (spawn_guts): Avoid copying one line command line argument if it hasn't been filled out.
2009-04-04 * libc/stdlib/wcstombs.c: Fix datatypes in documentation.Corinna Vinschen2-3/+7
2009-04-04 * include/asm/byteorder.h (__ntohl): Prototype before define to avoidCorinna Vinschen2-8/+14
a warning with -Wmissing-prototypes. Use _ELIDABLE_INLINE macro from _ansi.h. (__ntohs): Ditto.
2009-04-04 * libc/include/stdio.h (_ELIDABLE_INLINE): Move definition from here...Corinna Vinschen3-22/+27
* libc/include/_ansi.h (_ELIDABLE_INLINE): ..to here.
2009-04-032009-04-03 Yaakov Selkowitz <yselkowitz@users.sourceforge.net>Jeff Johnston2-0/+7
* libc/include/stdio.h [__SCLE] (__sgetc_r): Prototype before define to avoid a warning with -Wmissing-prototypes.
2009-04-032009-04-03 Ken Werner <ken.werner@de.ibm.com>Jeff Johnston2-2/+11
* libc/machine/spu/mmap_ea.c (mmap_ea): Check length argument.
2009-04-032009-04-03 Ken Werner <ken.werner@de.ibm.com>Jeff Johnston5-2/+145
* spu/Makefile.in: Add new files. * spu/times.c: New File. * spu/getitimer.c: Likewise. * spu/setitimer.c: Likewise.
2009-04-032009-04-03 Ken Werner <ken.werner@de.ibm.com>Jeff Johnston2-3/+15
* libc/machine/spu/sys/linux_syscalls.h: include <sys/types.h> (linux_getpid, linux_gettid): Declare.
2009-04-032009-04-03 Ken Werner <ken.werner@de.ibm.com>Jeff Johnston4-1/+107
* spu/Makefile.in: Add linux_getpid.o and linux_gettid.o. * spu/linux_getpid.c: New file. * spu/linux_getpid.c: New file.