summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * syscalls.cc (try_to_bin): Drop fh_dup, reuse tmp_fh instead.Corinna Vinschen2013-11-272-3/+6
|
* * syscalls.cc (try_to_bin): Take additional parameter to get file openCorinna Vinschen2013-11-273-5/+43
| | | | | | | flags. If the file to move to the bin has been opened casesensitive, reopen it caseinsensitive. Explain why. Revert the default name of the Vista-and-later recycler to mixed case for readability. (unlink_nt): Call try_to_bin with file open flags as evaluated.
* * libc/machine/mips/setjmp.S: Fix definition of macro FPR_LAYOUTCorinna Vinschen2013-11-272-0/+6
| | | | for ABI == N32.
* 2013-11-26 Matheus Almeida <Matheus.Almeida@imgtec.com>Jeff Johnston2013-11-263-12/+44
| | | | | | | * libc/include/machine/setjmp.h: Add support for __mips_fpr being 64 and treat it the same as if __mips64 is set. * libc/machine/mips/setjmp.S: Ditto, plus add checks for _MIPS_SIM being _ABIN32 and _ABI64.
* * nlsfuncs.cc (wcscoll): Add "__restrict" to definition.Corinna Vinschen2013-11-262-2/+7
| | | | (wcsxfrm): Ditto.
* Correct for missing entries for wchar.h changes and white space changesJoel Sherrill2013-11-261-0/+11
|
* 2013-11-26 Julio Gutierrez <jgutleyva@gmail.com>Joel Sherrill2013-11-2639-218/+316
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | *libc/include/wchar.h: Add restrict keyword. *libc/stdio/fgetws.c (fgetws): ditto. *libc/stdio/fputws.c (fputws): ditto. *libc/stdio/fwprintf.c (fwprintf): ditto. *libc/stdio/fwscanf.c (fwscanf): ditto. *libc/stdio/swprintf.c (swprintf): ditto. *libc/stdio/swscanf.c (swscanf): ditto. *libc/stdio/vfwprintf.c (vfwprintf): ditto. *libc/stdio/vfwscanf.c (vfwscanf): ditto. *libc/stdio/vswprintf.c (vswprintf): ditto. *libc/stdio/vswscanf.c (vswscanf): ditto. *libc/stdio/vwprintf.c (vwprintf): ditto. *libc/stdio/vwscanf.c (vwscanf): ditto. *libc/stdio/wprintf.c (wprintf): ditto. *libc/stdio/wscanf.c (wscanf): ditto. *libc/stdlib/mbrlen.c (mbrlen): ditto. *libc/stdlib/mbrtowc.c (mbrtowc): ditto. *libc/stdlib/mbsnrtowcs.c (mbsnrtowcs): ditto. *libc/stdlib/mbsrtowcs.c (mbsrtowcs): ditto. *libc/stdlib/wcrtomb.c (wcrtomb): ditto. *libc/stdlib/wcsnrtombs.c (wcsnrtombs): ditto. *libc/stdlib/wcsrtombs.c (wcsrtombs): ditto. *libc/stdlib/wcstod.c (wcstod): ditto. *libc/stdlib/wcstol.c (wcstol): ditto. *libc/stdlib/wcstold.c (wcstold): ditto. *libc/stdlib/wcstoll.c (wcstoll): ditto. *libc/stdlib/wcstoul.c (wcstoul): ditto. *libc/stdlib/wcstoull.c (cstoull): ditto. *libc/string/wcpcpy.c (wcpcpy): ditto. *libc/string/wcpncpy.c (wcpncpy): ditto. *libc/string/wcscat.c (wcscat): ditto. *libc/string/wcscpy.c (wcscpy): ditto. *libc/string/wcsncat.c (wcsncat): ditto. *libc/string/wcsncpy.c (wcsncpy): ditto. *libc/string/wcsstr.c (wcsstr): ditto. *libc/string/wcstok.c (wcstok): ditto. *libc/string/wcsxfrm.c (wcsxfrm): ditto. *libc/string/wmemcpy.c (wmemcpy): ditto.
* * common.din: Export posix_spawn[...] functions.Corinna Vinschen2013-11-266-2/+56
| | | | | | | * exec.cc (execve): Add EXPORT_ALIAS _execve. * include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump. * posix.sgml (std-susv4): Add posix_spawn[...] here. (std-notimpl): Drop here.
* * nlsfuncs.cc (strcoll): Add "__restrict" to definition.Corinna Vinschen2013-11-262-2/+7
| | | | (strxfrm): Ditto.
* 2013-11-25 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2013-11-262-5/+5
| | | | | * libc/iconv/lib/iconv.c, libc/time/strftime.c: Change "restrict<" to "restrict <" to fix formatting.
* * libc/posix/posix_spawn.c: Drop using namespace.h.Corinna Vinschen2013-11-262-2/+4
|
* * libc/posix/posix_spawn.c: Eliminate OS function calls not presentCorinna Vinschen2013-11-262-9/+19
| | | | | | | | | in newlib or Cygwin. (process_spawnattr): Use sigprocmask rather than _sigprocmask. Use sigaction rather than _sigaction. (process_file_actions_entry): Use dup2 rather than _dup2. (do_posix_spawn): Use execvpe rather than _execvpe. Use waitpid rather than _waitpid.
* 2013-11-25 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2013-11-253-5/+10
| | | | | * libc/iconv/lib/iconv.c, libc/time/strftime.c: Change "restrict<" to "restrict <" to fix formatting.
* * libc/include/spawn.h (posix_spawn_file_actions_destroy): Fix typoCorinna Vinschen2013-11-253-2/+8
| | | | | in function name. * libc/posix/posix_spawn.c (posix_spawn_file_actions_destroy): Ditto.
* 2013-11-25 Sahil Patnayakuni <sahil.patnayakuni@gmail.com>Joel Sherrill2013-11-2510-30/+53
| | | | | | | | | | | | * libc/include/time.h (time): Add restrict keyword. * libc/include/wchar.h (wcsftime): Add restrict keyword. * libc/time/asctime_r.c (asctime_r): Same. * libc/time/gmtime_r.c (gmtime_r): Same. * libc/time/lcltime_r.c (lcltime_r): Same. * libc/time/strftime.c (strftime): Same. * libc/time/strptime.c (strptime): Same. * libc/sys/linux/linuxthreads/timer_create.c (timer_create): Same. * libc/sys/linux/linuxthreads/timer_settime.c (timer_settime): Same.
* Throughout, keep function definitions and declarations in sync withCorinna Vinschen2013-11-2515-30/+47
| | | | newlib in terms of C99 "restrict" keyword.
* * dtable.cc: Include sys/param.h for MAX definition.Corinna Vinschen2013-11-242-0/+5
|
* Throughout, drop unnecessary explicit includes of windows header filesCorinna Vinschen2013-11-2421-49/+23
| | | | | | | | | | | | included by default. * winlean.h: Add long comment to explain why we have to define certain symbols. (_NORMALIZE_): Define. (_WINNLS_): Drop definition and subsequent undef. (_WINNETWK_): Ditto. (_WINSVC_): Ditto. 2013-11-23 Eric Blake <eblake@redhat.com>
* *** empty log message ***Corinna Vinschen2013-11-241-0/+2
|
* 2013-11-23 Bryan Dunsmore <dunsmoreb@gmail.com>Joel Sherrill2013-11-233-2/+7
| | | | | * libc/include/wordexp.h (wordexp): Add restrict keyword. * libc/posix/wordexp.c (wordexp): Ditto.
* dup2: fix off-by-one crashEric Blake2013-11-233-2/+15
| | | | | | * dtable.cc (dup3): Fix off-by-one. (find_unused_handle): Reduce time spent expanding during dup. * syscalls.cc (setdtablesize): Report error on invalid value.
* * new-features.xml (ov-new1.7.26): Add new section.Corinna Vinschen2013-11-232-0/+39
|
* 2013-11-22 Bryan Dunsmore <dunsmoreb@gmail.com>Joel Sherrill2013-11-233-4/+12
| | | | | | | * libc/include/sys/time.h (gettimeofday): Add restrict keyword. (setitimer): Likewise. * libc/sys/rdos/gettod.c (gettimeofday): Likewise. * libc/sys/rtems/crt0.c (gettimeofday): Likewise.
* 2013-11-22 Chirayu Desai <chirayudesai1@gmail.com>Joel Sherrill2013-11-223-4/+14
| | | | | | | | * 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-21 Daniel Ramirez <javamonn@gmail.com>Joel Sherrill2013-11-222-1/+5
| | | | * libc/sys/linux/statvfs.c (statvfs): Added restrict keyword.
* 2013-11-21 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2013-11-2123-795/+806
| | | | | | | | | | | * 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-21 Julio Gutierrez <jgutleyva@gmail.com>Joel Sherrill2013-11-213-3/+9
| | | | | * libc/include/glob.h (glob): Add restrict keyword. * libc/posix/glob.c (glob): Ditto.
* 2013-11-21 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2013-11-219-3/+25
| | | | | | | | * 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-21 Daniel Ramirez <javamonn@gmail.com>Joel Sherrill2013-11-216-5/+10
| | | | | * d30v/syscalls.c, i960/mon960.c, m68k/io-stat.c, mt/stat.c, spu/lstat.c, spu/stat.c: Add restrict keyword.
* 2013-11-21 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2013-11-212-1/+5
| | | | * libc/sys/rdos/stat.c: Remove stray +.
* 2013-11-21 Daniel Ramirez <javamonn@gmail.com>Joel Sherrill2013-11-216-12/+18
| | | | | | * 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.
* [AArch64] Set errno in ftruncate() and truncate().Marcus Shawcroft2013-11-213-0/+11
|
* [ARM] set errno in ftruncate and truncate stubs.Marcus Shawcroft2013-11-213-0/+11
|
* 2013-11-20 Daniel Ramirez <javamonn@gmail.com>Joel Sherrill2013-11-203-3/+7
| | | | * libc/include/search.h, libc/search/tdelete.c: Add restrict keyword.
* 2013-11-20 Chirayu Desai <chirayudesai1@gmail.com>Joel Sherrill2013-11-206-19/+27
| | | | | | * 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-20 Daniel Ramirez <javamonn@gmail.com>Joel Sherrill2013-11-204-10/+19
| | | | | * libc/iconv/lib/iconv.c, libc/include/iconv.h, libc/sys/linux/iconv/iconv.c: Add restrict keyword.
* * include/cygwin/stdlib.h (realpath): Drop declaration. It's declaredCorinna Vinschen2013-11-202-1/+5
| | | | in newlib's stdlib.h now.
* * libc/include/stdlib.h: Declare realpath only if !__STRICT_ANSI__.Corinna Vinschen2013-11-202-2/+6
|
* * cygcheck.cc (RtlGetVersion): Declare.Corinna Vinschen2013-11-192-9/+18
| | | | | | | | (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.
* * ntdll.h (RtlGetVersion): Declare.Corinna Vinschen2013-11-195-7/+20
| | | | | | | * 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.
* * cygcheck.cc (dump_sysinfo): Revert Windows 8.1 hack. It's notCorinna Vinschen2013-11-192-11/+9
| | | | working. Add a (hopefully temporary) comment.
* * wincap.cc (wincapc::init): Revert previous change. It's not working.Corinna Vinschen2013-11-193-13/+4
|
* 3013-11-19 Jennifer Averett <jennifer.averett@oarcorp.com>Joel Sherrill2013-11-192-0/+211
| | | | * libc/sys/rtems/sys/cpuset.h: New file.
* *** empty log message ***Corinna Vinschen2013-11-191-0/+4
|
* * net.cc (cygwin_getaddrinfo): Fix a comment. Only memset whints ifCorinna Vinschen2013-11-192-7/+17
| | | | | | 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.
* * wincap.cc (wincapc::init): Fix dwMinorVersion for Windows 8.1 andCorinna Vinschen2013-11-192-0/+14
| | | | Server 2012. Explain why this is necessary.
* Add missing entryCorinna Vinschen2013-11-191-0/+3
|
* * cygcheck.cc (dump_sysinfo): Drop code trying to fetch OSVERSIONINFOCorinna Vinschen2013-11-192-21/+22
| | | | | | if fetching OSVERSIONINFOEX failed. Drop code handling unsupported platform IDs. Add code to tweak dwMinorVersion on Windows 8.1 if no manifest is present.
* Fix dateJoel Sherrill2013-11-191-1/+1
|
* 2013-11-18 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2013-11-193-1/+7
| | | | | * libc/include/stdlib.h: Add prototype of realpath(). * libc/sys/linux/realpath.c: Add restrict keyword.