Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-11-232013-11-22 Chirayu Desai <chirayudesai1@gmail.com>Joel Sherrill
* libc/include/sys/unistd.h (readlink): Add restrict keyword. (readlinkat): Ditto. (swab): Ditto. * libc/sys/rdos/readlink.c (readlink): Ditto. * libc/string/swab.c (swab): Ditto.
2013-11-222013-11-21 Daniel Ramirez <javamonn@gmail.com>Joel Sherrill
* libc/sys/linux/statvfs.c (statvfs): Added restrict keyword.
2013-11-212013-11-21 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill
* libc/sys/rdos/chown.c, libc/sys/rdos/close.c, libc/sys/rdos/execve.c, libc/sys/rdos/fork.c, libc/sys/rdos/fstat.c, libc/sys/rdos/getpid.c, libc/sys/rdos/gettod.c, libc/sys/rdos/isatty.c, libc/sys/rdos/kill.c, libc/sys/rdos/link.c, libc/sys/rdos/lseek.c, libc/sys/rdos/open.c, libc/sys/rdos/rdos.h, libc/sys/rdos/read.c, libc/sys/rdos/readlink.c, libc/sys/rdos/sbrk.c, libc/sys/rdos/stat.c, libc/sys/rdos/symlink.c, libc/sys/rdos/times.c, libc/sys/rdos/unlink.c, libc/sys/rdos/wait.c, libc/sys/rdos/write.c: Convert from DOS to UNIX CRLF.
2013-11-212013-11-21 Julio Gutierrez <jgutleyva@gmail.com>Joel Sherrill
* libc/include/glob.h (glob): Add restrict keyword. * libc/posix/glob.c (glob): Ditto.
2013-11-212013-11-21 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill
* libc/posix/readdir_r.c: Add restrict keyword. * libc/machine/spu/sys/dirent.h, libc/sys/decstation/sys/dirent.h, libc/sys/linux/sys/dirent.h, libc/sys/rtems/sys/dirent.h, libc/sys/sparc64/sys/dirent.h, libc/sys/sun4/sys/dirent.h, libc/sys/sysvi386/sys/dirent.h: Add readdir_r() prototype.
2013-11-212013-11-21 Daniel Ramirez <javamonn@gmail.com>Joel Sherrill
* d30v/syscalls.c, i960/mon960.c, m68k/io-stat.c, mt/stat.c, spu/lstat.c, spu/stat.c: Add restrict keyword.
2013-11-212013-11-21 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill
* libc/sys/rdos/stat.c: Remove stray +.
2013-11-212013-11-21 Daniel Ramirez <javamonn@gmail.com>Joel Sherrill
* libc/include/sys/stat.h, libc/sys/linux/sys/stat.h, libc/sys/m88kbug/syscalls.c, libc/sys/rdos/stat.c, libc/sys/sparc64/sys/stat.h: Add restrict keyword.
2013-11-21[AArch64] Set errno in ftruncate() and truncate().Marcus Shawcroft
2013-11-21[ARM] set errno in ftruncate and truncate stubs.Marcus Shawcroft
2013-11-202013-11-20 Daniel Ramirez <javamonn@gmail.com>Joel Sherrill
* libc/include/search.h, libc/search/tdelete.c: Add restrict keyword.
2013-11-202013-11-20 Chirayu Desai <chirayudesai1@gmail.com>Joel Sherrill
* libc/include/regex.h, libc/posix/regcomp.c, libc/posix/regerror.c, libc/posix/regex.3 libc/posix/regexec.c: Add restrict keyword.
2013-11-202013-11-20 Daniel Ramirez <javamonn@gmail.com>Joel Sherrill
* libc/iconv/lib/iconv.c, libc/include/iconv.h, libc/sys/linux/iconv/iconv.c: Add restrict keyword.
2013-11-20 * include/cygwin/stdlib.h (realpath): Drop declaration. It's declaredCorinna Vinschen
in newlib's stdlib.h now.
2013-11-20 * libc/include/stdlib.h: Declare realpath only if !__STRICT_ANSI__.Corinna Vinschen
2013-11-20 * cygcheck.cc (RtlGetVersion): Declare.Corinna Vinschen
(dump_sysinfo): Call RtlGetVersion rather than GetVersionEx to get correct OS info even on Windows 8.1. Don't check return value since RtlGetVersion never fails per MSDN. Move fetching kernel32 module handle where it's really needed. Drop temporary comment added by previous checkin.
2013-11-20 * ntdll.h (RtlGetVersion): Declare.Corinna Vinschen
* wincap.cc (wincapc::init): Rather than GetVersionEx, call RtlGetVersion which is not crippled by missing Windows 8.1 manifest. * wincap.h (wincapc): Change type of version to RTL_OSVERSIONINFOEXW. Align formatting of all class members.
2013-11-20 * cygcheck.cc (dump_sysinfo): Revert Windows 8.1 hack. It's notCorinna Vinschen
working. Add a (hopefully temporary) comment.
2013-11-20 * wincap.cc (wincapc::init): Revert previous change. It's not working.Corinna Vinschen
2013-11-193013-11-19 Jennifer Averett <jennifer.averett@oarcorp.com>Joel Sherrill
* libc/sys/rtems/sys/cpuset.h: New file.
2013-11-19*** empty log message ***Corinna Vinschen
2013-11-19 * net.cc (cygwin_getaddrinfo): Fix a comment. Only memset whints ifCorinna Vinschen
hints is NULL. Add a comment and set whints.ai_family explicitely to AF_UNSPEC to follow glibc man page closely. Check flags against whints for locality.
2013-11-19 * wincap.cc (wincapc::init): Fix dwMinorVersion for Windows 8.1 andCorinna Vinschen
Server 2012. Explain why this is necessary.
2013-11-19Add missing entryCorinna Vinschen
2013-11-19 * cygcheck.cc (dump_sysinfo): Drop code trying to fetch OSVERSIONINFOCorinna Vinschen
if fetching OSVERSIONINFOEX failed. Drop code handling unsupported platform IDs. Add code to tweak dwMinorVersion on Windows 8.1 if no manifest is present.
2013-11-19Fix dateJoel Sherrill
2013-11-192013-11-18 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill
* libc/include/stdlib.h: Add prototype of realpath(). * libc/sys/linux/realpath.c: Add restrict keyword.
2013-11-192013-11-19 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill
* libm/common/modfl.c: Add cast to remove compiler warning.
2013-11-19 * autoload.cc (IdnToAscii): Define.Corinna Vinschen
(IdnToUnicode): Define. (FreeAddrInfoW): Define. (GetAddrInfoW): Define. (GetNameInfoW): Define. * net.cc: Drop W. Richard STEVENS libgai implementation. (cygwin_freeaddrinfo): Move code from ipv4_freeaddrinfo here. Move definition up in file to avoid forward declaration in ga_duplist. (ga_dup): Take addrinfoW as input. Add parameters to get IDN flags and to set error value. Handle IDN flags and especially AI_CANONIDN. Convert input wchar_t ai_canonname string to multibyte for output. (ga_duplist): Add parameters to get IDN flags and to set error value and propagate to ga_dup. Call cygwin_freeaddrinfo. (gai_errmap): Add comments. Align error strings to GLibc. Add EAI_IDN_ENCODE entry. (get_ipv6_funcs): Remove. (load_ipv6_guard): Remove. (ipv6_inited): Remove. (load_ipv6): Remove. (load_ipv6_funcs): Remove. (cygwin_getaddrinfo): Drop calling load_ipv6. Handle AI_IDN* flags. Convert input strings to wchar_t and call GetAddrInfoW/FreeAddrInfoW. In case hints is NULL, set default ai_flags explicitely to AI_V4MAPPED | AI_ADDRCONFIG, as documented for Glibc. Only add AI_ALL if AI_ADDRCONFIG is not given. Unconditionally add Windows-specific AI_DISABLE_IDN_ENCODING to ai_flags to make IDN behaviour compatible to Glibc even on Windows 8 and later. (cygwin_getnameinfo): Drop calling load_ipv6. Handle NI_IDN* flags. Call GetNameInfoW and convert returned strings from wchar_t to multibyte. * include/netdb.h: Add comments to describe flags and error values. (AI_*): Define all flags using hex values for clearness. (AI_IDN): Define. (AI_CANONIDN): Define. (AI_IDN_ALLOW_UNASSIGNED): Define. (AI_IDN_USE_STD3_ASCII_RULES): Define. (NI_*): Define all flags using hex values for clearness. (NI_IDN): Define. (NI_IDN_ALLOW_UNASSIGNED): Define. (NI_IDN_USE_STD3_ASCII_RULES): Define. (EAI_IDN_ENCODE): Define.
2013-11-19 * libc/posix/closedir.c: Fix use after free.Corinna Vinschen
Remove useless test dd_fd != -1 * libc/posix/readdir.c: Remove useless test dd_fd == -1 * libc/posix/readdir_r.c: Ditto.
2013-11-19 * Makefile.in (cygcheck.exe): Link against wininet.dll.Corinna Vinschen
(dumper.exe): Link against psapi.dll. * cygcheck.cc (_WIN32_WINNT): Define as 0x0602. (pInternetCloseHandle): Drop pointer. (PRODUCT_UNLICENSED): Drop definition. (PRODUCT_PROFESSIONAL_WMC): Ditto. (package_grep): Delete code loading wininet functions dynamically, just call functions directly.
2013-11-19*** empty log message ***Corinna Vinschen
2013-11-19 * cygcheck.cc (dump_sysinfo): Distinguish Windows 8 and 8.1, as wellCorinna Vinschen
as Windows Server 2012 and 2012 R2. Add missing commas in products array to avoid crashes. Drop Windows NT4 and 2000 printouts. Just call IsWow64Process, GetNativeSystemInfo, and GetDiskFreeSpaceEx directly, rather than loading them dynamically, since they are exported by all supported OS versions. Fix questionable type usage in call to GetDiskFreeSpaceEx.
2013-11-182013-11-18 Sahil Patnayakuni <sahilp@oarcorp.com>Joel Sherrill
* libc/include/stdio.h, libc/machine/powerpc/vfscanf.c, libc/machine/spu/fgetpos.c, libc/machine/spu/fgets.c, libc/machine/spu/fopen.c, libc/machine/spu/fputs.c, libc/machine/spu/fread.c, libc/machine/spu/freopen.c, libc/machine/spu/fwrite.c, libc/machine/spu/setbuf.c, libc/machine/spu/vfprintf.c, libc/machine/spu/vfscanf.c, libc/machine/spu/vsnprintf.c, libc/machine/spu/vsprintf.c, libc/machine/spu/vsscanf.c, libc/stdio/asnprintf.c, libc/stdio/asprintf.c, libc/stdio/dprintf.c, libc/stdio/fgetpos.c, libc/stdio/fgets.c, libc/stdio/fmemopen.c, libc/stdio/fopen.c, libc/stdio/fprintf.c, libc/stdio/fputs.c, libc/stdio/fread.c, libc/stdio/freopen.c, libc/stdio/fscanf.c, libc/stdio/fwrite.c, libc/stdio/printf.c, libc/stdio/scanf.c, libc/stdio/setbuf.c, libc/stdio/snprintf.c, libc/stdio/sprintf.c, libc/stdio/sscanf.c, libc/stdio/vdprintf.c, libc/stdio/vprintf.c, libc/stdio/vscanf.c, libc/stdio/vsnprintf.c, libc/stdio/vsprintf.c, libc/stdio/vsscanf.c: Add restrict keyword.
2013-11-182013-11-18 Sahil Patnayakuni <sahilp@oarcorp.com>Joel Sherrill
* libc/include/stdlib.h, libc/stdlib/mbstowcs.c, libc/stdlib/mbstowcs_r.c, libc/stdlib/mbtowc.c, libc/stdlib/mbtowc_r.c, libc/stdlib/strtod.c, libc/stdlib/strtol.c, libc/stdlib/strtold.c, libc/stdlib/strtoll.c, libc/stdlib/strtoll_r.c, libc/stdlib/strtoul.c, libc/stdlib/strtoull.c, libc/stdlib/strtoull_r.c, libc/stdlib/wcstombs.c, libc/stdlib/wcstombs_r.c: Add restrict keyword.
2013-11-18[AArch64] Provide ftruncate() and truncate() stubs.Marcus Shawcroft
2013-11-18[ARM] Provide ftruncate() and truncate() stubs.Marcus Shawcroft
2013-11-14 * newlib/libc/stdlib/getopt.c (getopt_internal): Add missing braces.Corinna Vinschen
2013-11-13 * newlib/libc/include/getopt.h (struct option): name field should beCorinna Vinschen
"const char *". * newlib/libc/stdlib/getopt.c (getopt_internal): Use fputs()/fputc() instead of fprintf() to save code space. Fix signed/unsigned comparison.
2013-11-13 * faq-setup.xml (faq.setup.uninstall-service): Describe how to unhookCorinna Vinschen
cyglsa DLL from OS before uninstalling.
2013-11-12 * libc/libc/stdlib/getopt.c (getopt_internal): Fix NULL pointer access.Corinna Vinschen
2013-11-11 * faq-setup.xml: Throughout remove setup.exe, use setup or setup-x86...Corinna Vinschen
instead. (faq.setup.cli): Reproduce latest --help output. (faq.setup.noroot): New section. (faq.setup.setup-fails-on-ts): Remove section. * setup-net.xml (internet-setup): Mention setup-x86{_64} in first paragraph. Add note to allow using setup.exe in subsequent paragraphs. Add paragraph to introduce --no-admin option.
2013-11-08 * libm/libm.texinfo: Rename node Index to Document Index.Corinna Vinschen
* libc/libc.texinfo: Rename node Library Index to Document Index.
2013-11-07* Makefile.in: Properly cd to directory sans install_ prefix. Report on errorsChristopher Faylor
on doc install. Only 'all' is special.
2013-11-07winsup/ChangeLog:Christopher Faylor
2013-11-06 Christopher Faylor <me.cygwin2013@cgf.cx> * configure.ac: Detect windows headers/libs after we've figured out the C compiler. * configure: Regenerate. * aclocal.m4: Regenerate. * configure.cygwin: Default to '.' if can't find a winsup directory. winsup/cygserver/ChangeLog: 2013-11-06 Christopher Faylor <me.cygwin2013@cgf.cx> * configure.ac: Detect windows headers/libs after we've figured out the C compiler. * configure: Regenerate. * aclocal.m4: Regenerate. winsup/cygwin/ChangeLog: 2013-11-06 Christopher Faylor <me.cygwin2013@cgf.cx> * configure.ac: Detect windows headers/libs after we've figured out the C compiler. * configure: Regenerate. * aclocal.m4: Regenerate. winsup/utils/ChangeLog: 2013-11-06 Christopher Faylor <me.cygwin2013@cgf.cx> * configure.ac: Detect windows headers/libs after we've figured out the C compiler. * configure: Regenerate. * aclocal.m4: Regenerate.
2013-11-07* Makefile.in: Reinstate ignoring of errors for doc target.Christopher Faylor
2013-11-04 * libc/stdio/fvwrite.c: Allow writing in larger chunks for fullyCorinna Vinschen
buffered and unbuffered files, to improve write performance.
2013-10-31 * devices.in (dev_cygdrive_storage): Revert mapping to \Device\Null.Corinna Vinschen
(dev_storage): Ditto for /dev. * devices.cc: Regenerate. * fhandler.cc (fhandler_base::open_null): New method to open a fake \Device\Null handler. (fhandler_base::open): Fix formatting. Change O_ACCMODE test to a switch statement. Simplify a test which still tested for a now unused create_disposition. * fhandler.h (fhandler_base::open_null): Declare. (fhandler_netdrive::close): Declare. * fhandler_dev.cc (fhandler_dev::open): Open fake \Device\Null handle by just calling new open_null method. * fhandler_disk_file.cc (fhandler_cygdrive::open): Ditto. * fhandler_netdrive.cc (fhandler_netdrive::open): Call open_null rather than setting nohandle. (fhandler_netdrive::close): New method. * fhandler_registry.cc (fetch_hkey): Fix token in RegOpenUserClassesRoot call. Create valid key for HKEY_CURRENT_CONFIG by mapping to real key HKEY_LOCAL_MACHINE\System\CurrentControlSet\Hardware Profiles\Current. (fhandler_registry::open): Set nohandle only when using pseudo registry handle. * fhandler_virtual.cc (fhandler_virtual::opendir): Call open rather than just setting nohandle here. * fhandler_virtual::fstatvfs): Set ST_RDONLY fs flag. * globals.cc (ro_u_null): New readonly UNICODE_STRING for \Device\Null. * path.h (path_conv::set_path): Revert previous change caring for wide_path.
2013-10-31 * libc/stdio/fvwrite.h: change type of uio_resid from int to size_t toCorinna Vinschen
fix fwrite() of > 2GByte buffers.
2013-10-30 Implement malloc_stats for nano.Corinna Vinschen
* libc/stdlib/nano-mallocr.c (RONECALL): New parameter macro. (sbrk_start): New variable. (current_mallinfo, free_list): Forward declaration of data. (chunk): Define size as long type. (mallinfo): Synchronize with latest malloc.h. (nano_*): Forward declaration of functions. (get_chunk_from_ptr): Defined to static inline. (nano_mallinfo): Implement this function. (nano_malloc_stats): Implement this function.