summaryrefslogtreecommitdiffstats
path: root/newlib/libc/include
Commit message (Collapse)AuthorAgeFilesLines
* * libc/stdio/stdio.c (__stextmode): new, see if file is text modeDJ Delorie2000-05-231-0/+2
| | | | | | | | | | | | (__sread): always read in binary mode (__swrite): always write in binary mode * libc/include/stdio.h: no getc/putc macros for cygwin; causes compatibility issues with different dll versions * libc/stdio/fopen.c: use __stextmode * libc/stdio/fdopen.c: ditto * libc/stdio/freopen.c: ditto * libc/stdio/findfp.c: set up __SCLE for std{in,out,err} * libc/stdio/local.h: declare __stextmode
* Mon May 15 18:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>Jeff Johnston2000-05-151-2/+2
| | | | | * libc/include/ctype.h: Changed tolower and toupper macros to use __extension__ to prevent pedantic warnings.
* Add minimal ia64 support.Jim Wilson2000-05-111-1/+7
| | | | | * libc/include/machine/ieeefp.h: Add ia64 support. * configure.host: Likewise.
* * libc/include/sys/errno.h: Add define for ENOSHARE ("No suchCorinna Vinschen2000-05-031-1/+2
| | | | host or network path") used by cygwin. Add some comments.
* Tue May 02 23:45:48 2000 DJ Delorie <dj@cygnus.com>Jeff Johnston2000-05-031-2/+32
| | | | | | | | | | | | * libc/include/stdio.h (FILE): define __SCLE for "convert line endings" for Cygwin. (__sgetc): convert line endings if needed (__sputc): ditto * libc/stdio/fdopen.c (_fdopen_r): Remember if we opened in text mode * libc/stdio/fopen.c (_fopen_r): ditto * libc/stdio/freopen.c (freopen): ditto * libc/stdio/fread.c (fread): perform CRLF conversions if __SCLE * libc/stdio/fvwrite.c (__sfvwrite): ditto
* * newlib/libc/include/sys/unistd.h: Add prototypes forCorinna Vinschen2000-04-021-0/+3
| | | | | | | | | | | | | | fchmod, fchown, lchown. * winsup/cygwin/syscalls.cc (chown_worker): Use previous uid/gid if new uid/gid is -1. New static function with chown functionality. (chown): Call chown_worker with SYMLINK_FOLLOW. (fchown): New function. Call chown_worker with SYMLINK_FOLLOW. (lchown): New function. Call chown_worker with SYMLINK_IGNORE. * cygwin.din: Add symbols for fchown, lchown. * path.cc (symlink): Call `set_file_attribute()' and `SetFileAttributeA()' instead of `chmod()' to set uid/gid correct.
* Fri Mar 10 16:09:20 2000 Jeff Johnston <jjohnstn@cygnus.com>Jeff Johnston2000-03-101-0/+1
| | | | * libc/include/string.h: Include <sys/types.h>.
* Thu Mar 9 17:20:41 2000 Jeff Johnston <jjohnstn@cygnus.com>Jeff Johnston2000-03-091-1/+1
| | | | | | | | * libc/include/string.h: Changed last argument back to ssize_t to make it compatible with XPG4 definition which is defined in <unistd.h>. There is a conflict in the SVID 3 and XPG4 definitions and newlib will settle with XPG4. * libc/string/swab.c: Ditto.
* Wed Mar 8 17:11:41 2000 Jeff Johnston <jjohnstn@cygnus.com>Jeff Johnston2000-03-081-1/+1
| | | | | * libc/include/string.h: Changed last argument to size_t. * libc/string/swab.c: Changed last argument to size_t.
* * libc/string/Makefile.am (lib_a_SOURCES): Added swab.c.Alexandre Oliva2000-03-081-0/+1
| | | | | | | | (CHEWOUT_FILES): Added swab.def. * libc/string/Makefile.in: Rebuilt. * libc/string/string.tex: Include swab.def. * libc/include/string.h (swab): Declare. * libc/string/swab.c: New file.
* Thu Feb 24 11:43:00 2000 Ran Cabell <rcabell@norfolk.infi.net>Ranjith Kumaran2000-02-241-0/+1
| | | | | | | | | * libm/mathfp/sf_atan2.c: Fix atan2 typo for _DOUBLE_IS_32_BITS. * libm/mathfp/sf_atan.c: Ditto. Thu Feb 24 11:39:00 2000 Joel Sherrill <joel@OARcorp.com> * libc/include/sys/stat.h: Add RTEMS prototype for lstat.
* import newlib-2000-02-17 snapshotChristopher Faylor2000-02-1755-0/+4215