summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * libc/rexec.cc (ruserpass): Use fstat64 instead of fstat.Corinna Vinschen2009-04-062-3/+7
|
* * strfuncs.cc: Add comment to explain why we can't support JISCorinna Vinschen2009-04-062-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.
* * libc/locale/locale.c (loadlocale): Set mbc_max to 3 for EUCJP.Corinna Vinschen2009-04-062-1/+5
|
* * new-features.sgml (ov-new1.7-posix): Remove JIS from supportedCorinna Vinschen2009-04-063-4/+9
| | | | | charsets. * setup2.sgml (setup-locale-charsetlist): Ditto.
* * setup2.sgml (setup-locale-problems): Change title to be more clearCorinna Vinschen2009-04-062-1/+6
| | | | when referencing this section.
* * Makefile.in: Use all compile options when calculating magic values.Christopher Faylor2009-04-055-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.
* * net.cc: Undefine NOERROR and DELETE to avoid compiler warnings.Christopher Faylor2009-04-054-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.
* * libc/stdlib/wcstombs.c: Fix datatypes in documentation.Corinna Vinschen2009-04-042-3/+7
|
* * include/asm/byteorder.h (__ntohl): Prototype before define to avoidCorinna Vinschen2009-04-042-8/+14
| | | | | | a warning with -Wmissing-prototypes. Use _ELIDABLE_INLINE macro from _ansi.h. (__ntohs): Ditto.
* * libc/include/stdio.h (_ELIDABLE_INLINE): Move definition from here...Corinna Vinschen2009-04-043-22/+27
| | | | * libc/include/_ansi.h (_ELIDABLE_INLINE): ..to here.
* 2009-04-03 Yaakov Selkowitz <yselkowitz@users.sourceforge.net>Jeff Johnston2009-04-032-0/+7
| | | | | * libc/include/stdio.h [__SCLE] (__sgetc_r): Prototype before define to avoid a warning with -Wmissing-prototypes.
* 2009-04-03 Ken Werner <ken.werner@de.ibm.com>Jeff Johnston2009-04-032-2/+11
| | | | * libc/machine/spu/mmap_ea.c (mmap_ea): Check length argument.
* 2009-04-03 Ken Werner <ken.werner@de.ibm.com>Jeff Johnston2009-04-035-2/+145
| | | | | | | * spu/Makefile.in: Add new files. * spu/times.c: New File. * spu/getitimer.c: Likewise. * spu/setitimer.c: Likewise.
* 2009-04-03 Ken Werner <ken.werner@de.ibm.com>Jeff Johnston2009-04-032-3/+15
| | | | | * libc/machine/spu/sys/linux_syscalls.h: include <sys/types.h> (linux_getpid, linux_gettid): Declare.
* 2009-04-03 Ken Werner <ken.werner@de.ibm.com>Jeff Johnston2009-04-034-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.
* 2009-04-03 Ken Werner <ken.werner@de.ibm.com>Jeff Johnston2009-04-032-8/+34
| | | | | * libc/machine/spu/spu-gmon.c: Tweaks to support simultaneous SPU profiling.
* 2009-04-03 Ken Werner <ken.werner@de.ibm.com>Jeff Johnston2009-04-032-1/+9
| | | | * spu/crt0.S (_start): Place spu_id in the first agument register.
* 2009-04-03 Ken Werner <ken.werner@de.ibm.com>Jeff Johnston2009-04-032-3/+8
| | | | | * libc/include/math.h: Remove duplicate copysign prototype. Fix __math_68881 define typo. Guard functions of the rint family.
* 2009-04-03 Craig Howland <howland@LGSInnovations.com>Jeff Johnston2009-04-035-18/+250
| | | | | | | * libm/common/s_llrint.c: New file, implementing llrint(). * libm/common/sf_llrint.c: New file, implementing llrintf(). * libm/common/Makefile.am: Add s_llrint.c (src); sf_llrint.c (fsrc). * libm/common/Makefile.in: Regenerate.
* * Various syntactical and semantical fixes throughout.Corinna Vinschen2009-04-0310-179/+193
|
* * utils.sgml: Various syntactical and semantical fixes.Corinna Vinschen2009-04-033-25/+30
| | | | * cygcheck.cc (usage): Fix --find-package explanation.
* * environ.cc (build_env): Fix length calculation of resultingCorinna Vinschen2009-04-022-2/+7
| | | | wide char environment string.
* * include/netdb.h: #include <inttypes.h>, <netinet/in.h>,Corinna Vinschen2009-04-022-2/+10
| | | | and <sys/socket.h> per SUSv3.
* * libc/ctype/ctype_c.c: Move inclusion of ctype_iso.h andCorinna Vinschen2009-04-023-11/+45
| | | | | | | | | ctype_cp.h out of ALLOW_NEGATIVE_CTYPE_INDEX case. (__ctype_ptr__): Constify in !_MB_CAPABLE case. Otherwise, de-constify in !ALLOW_NEGATIVE_CTYPE_INDEX case, too. Add comment. (__set_ctype): Set __ctype_ptr__ pointer according to definition of ALLOW_NEGATIVE_CTYPE_INDEX. * libc/include/ctype.h (__ctype_ptr__): Constify in !_MB_CAPABLE case.
* include/coff/Richard Sandiford2009-04-012-61/+4
| | | | | | | * xcoff.h (xcoff_link_hash_table): Move to bfd/xcofflink.c. bfd/ * xcofflink.c (xcoff_link_hash_table): Moved from include/coff/xcoff.h.
* 2009-04-01 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2009-04-012-2/+13
| | | | | | | | | * common.h (EM_INTEL178): Removed. (EM_INTEL179): Likewise. (EM_ETPU): New. (EM_SLE9X): Likewise. (EM_INTEL181): Likewise. (EM_INTEL182): Likewise.
* * faq-using.xml (faq.using.symlinkstoppedworking): Rename.Corinna Vinschen2009-04-013-11/+37
| | | | | (faq.using.ipv6): New IPv6 FAQ. * gdb.sgml: Remove incorrect statement about Insight.
* * strfuncs.cc (sys_cp_mbstowcs): Check if ASCII SO is followed by atCorinna Vinschen2009-04-012-2/+12
| | | | | least two chars and the next byte is a valid UTF-8 start byte before trying to convert the followup bytes as UTF-8 sequence.
* 2009-03-31 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2009-03-312-0/+9
| | | | | | * common.h (EM_INTEL178): New. (EM_INTEL179): Likewise. (EM_INTEL180): Likewise.
* * shm.cc (struct shm_attached_list): Convert access type to ULONG.Corinna Vinschen2009-03-312-13/+30
| | | | | | | | (fixup_shms_after_fork): Fix comment. Use NtMapViewOfSection rather than MapViewOfFileEx to recreate shared memory regions. Add function name to api_fatal output. (shmat): Use NtMapViewOfSection to create shared memory region top-down.
* * setup2.sgml (setup-locale-problems): Fix an incomplete sentence.Corinna Vinschen2009-03-312-3/+8
|
* * faq-using.xml (faq.using.unicode): Modernize.Corinna Vinschen2009-03-313-38/+35
| | | | (faq.api.symlinkstoppedworking): Move here from faq-api.xml.
* * ctype.cc: Remove implementation of ctype functions in favor ofCorinna Vinschen2009-03-316-822/+48
| | | | | | | | | | | | | | | pointer-based newlib implementation. (_ctype_b): Declare. (__ctype_cp): Move to newlib. Declare. (__ctype_iso): Ditto. (__set_ctype): Implement changing __ctype_ptr__. Only copy character class data in applications built under older Cygwin. * cygwin.din (__ctype_ptr__): Export. * include/ctype.h: Remove in favor of newlib implementation. * include/cygwin/config.h (__EXPORT): Define alongside __IMPORT. * include/cygwin/version.h (CYGWIN_VERSION_CHECK_FOR_OLD_CTYPE): Define check for old vs. new ctype implementation. Bump API minor number.
* * libc/ctype/Makefile.am: Remove _tolower.c and _toupper.cCorinna Vinschen2009-03-3113-91/+1141
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | source files. Add a dependency rule for ctype_o to note changes in ctype_iso.h and ctype_cp.h. * libc/ctype/Makefile.in: Regenerate. * libc/ctype/_tolower.c: Remove file. * libc/ctype/_toupper.c: Remove file. * libc/ctype/ctype_.c: Make sure ALLOW_NEGATIVE_CTYPE_INDEX is always defined on Cygwin. (_ctype_b): Don't make `static const' on Cygwin. (ctype_iso.h): Include if _MB_EXTENDED_CHARSETS_ISO is set. (ctype_cp.h): Include if _MB_EXTENDED_CHARSETS_WINDOWS is set. (__ctype_ptr): Drop definition. (__ctype_ptr__): De-constify. Mark as __EXPORT symbol. (_ctype_): Add Cygwin-specifc asm define. (__set_ctype): New function to set __ctype_ptr__ according to current charset. * libc/ctype/ctype_cp.h: New file containing Windows codepage specific character class tables. * libc/ctype/ctype_iso.h: New file containing ISO-8859-x specific character class tables. * libc/ctype/tolower.c (tolower): Reimplement to support any singlebyte charset if one of the extended charsets is enabled. * libc/ctype/toupper.c (toupper): Ditto. * libc/include/ctype.h (_tolower): Define as macro per POSIX. (_toupper): Ditto. (__ctype_ptr__): De-constify. (toupper): Disable macro on systems supporting extended charsets. (tolower): Ditto. * libc/include/sys/config.h (__EXPORT): Define empty if not defined. * libc/locale/locale.c (__mb_cur_max): Mark as __EXPORT symbol. (__set_ctype): Declare unconditionally. (loadlocale): Remove __CYGWIN__ guard around __set_ctype call.
* * faq-using.xml (faq.using.bloda): Update with new entries.Dave Korn2009-03-302-2/+20
|
* * Makefile.in: Perform some minor cleanup. Revamp speclib handling.Christopher Faylor2009-03-283-97/+60
| | | | | * speclib: Rewrite to create libraries with dlltool rather than attempting surgery on libcygwin.a.
* * net.cc (inet_ntop6): Convert to lowercase hex digits on the fly.Corinna Vinschen2009-03-272-1/+10
|
* * net.cc (cygwin_getaddrinfo): Check hints for non-NULL beforeCorinna Vinschen2009-03-272-0/+6
| | | | checking its content.
* * fhandler.h (class fhandler_fifo): Rename read/write methods toCorinna Vinschen2009-03-273-4/+10
| | | | | raw_read/raw_write. * fhandler_fifo.cc: Ditto.
* * djunpack.bat: Use ".." quoting in Sed command, for the sake ofEli Zaretskii2009-03-272-1/+6
| | | | Windows builds of Sed.
* * syscalls.cc (pathconf): Fix memory leak.Corinna Vinschen2009-03-272-5/+11
|
* * README: Remove "How to use" section, as CYGWIN="server" isCorinna Vinschen2009-03-272-32/+5
| | | | no longer required.
* * utils.sgml (passwd -R): Remove references to CYGWIN="server".Corinna Vinschen2009-03-272-7/+7
|
* * cygwinenv.sgml: Add text to explain new UTF-16 symlinks.Corinna Vinschen2009-03-267-17/+67
| | | | | | | | | | * faq-api.xml: Add FAQ entry "Why do some of my old symlinks don't work anymore?" * new-features.sgml: Fix symlink text. Add new UTF-16 symlinks. * overview2.sgml: Add text about new UTF-16 symlinks and potential problems with old symlinks. * pathnames.sgml: Fix typo. * setup2.sgml: Extend text about problems with symlinks.
* * path.cc (symlink_worker): Write target filename as UTF-16 stringCorinna Vinschen2009-03-262-10/+46
| | | | | | | with leading BOM marker. (symlink_info::check_shortcut): If check for leading BOM marker succeeds, read filename as UTF-16 string. (symlink_info::check_sysfile): Ditto.
* * include/asm/byteorder.h (__ntohl): Align definition to ISO C99.Corinna Vinschen2009-03-262-5/+13
| | | | (__ntohs): Ditto.
* * new-features.sgml: Replace GB2312 with GBK.Corinna Vinschen2009-03-263-2/+7
| | | | * setup2.sgml: Ditto.
* * strfuncs.cc (__set_charset_from_codepage): Revert to translatingCorinna Vinschen2009-03-262-2/+7
| | | | codepage 936 to "GBK".
* * libc/locale/locale.c (loadlocale): Revert to charset "GBK" insteadCorinna Vinschen2009-03-262-2/+7
| | | | of "GB2312". Fix documentation accordingly.
* Revert erroneously checked in files.Corinna Vinschen2009-03-263-36/+23
|