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
path: root/newlib
AgeCommit message (Collapse)Author
2000-09-072000-09-06 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* libc/include/sys/types.h (FD_ZERO): Remove call to bzero and inline code to prevent having to include another header file.
2000-09-07* Makefile.am: Fix space vs. tab problem in install-data-local.Christopher Faylor
* Makefile.in: Regenerate. * libc/include/_ansi.h (_EXFUN): Define specially for __CYGWIN__. (_EXPARM): New macro for defining a function parameter. * libc/include/stdlib.h: Use _EXPARM. * libc/stdlib/mallocr.c: Don't build cfree for Cygwin.
2000-09-052000-08-31 Manfred Hollstein <manfredh@redhat.com>Jeff Johnston
* Makefile.am (install-data-local): Use optional $(DESTDIR) where required, as documented in the gnu coding standards. * Makefile.in: Regenerate.
2000-09-052000-09-05 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* libc/include/fcntl.h (_FNDELAY): Changed to be _FNONBLOCK to make O_NDELAY and O_NONBLOCK have the same value.
2000-08-312000-08-30 Kazu Hirata <kazu@hxi.com>Jeff Johnston
* libc/sys/h8300hms/crt0.S: Optimize for both speed and code size.
2000-08-302000-08-30 Werner Almesberger <Werner.Almesberger@epfl.ch>Jeff Johnston
* libc/posix/execve.c: included unistd.h for "_execve" prototype. * libc/misc/unctrl.c libc/sys/sysvi386/crt0.c (sccsid): changed "#ifndef lint" to "#if defined(LIBC_SCCS) && !defined(lint)" like everywhere else.
2000-08-30Correct for missing patchGeoffrey Keating
2000-08-30 * libc/string/swab.c: Specify that it's defined in <unistd.h>.Geoffrey Keating
* libc/include/string.h: Don't include <sys/types.h>, as it causes really bad namespace pollution. Don't declare swab(), it is properly declared in unistd.h.
2000-08-292000-08-29 Werner Almesberger <Werner.Almesberger@epfl.ch>Jeff Johnston
* libc/unix/getpwent.c (getpwnam, getpwuid, getpwent): removed (broken) support for non-existent /etc/passwd field "comment".
2000-08-292000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>Jeff Johnston
* libc/posix/scandir.c (DIRSIZ, scandir): use struct dirent.d_namlen only if _DIRENT_HAVE_D_NAMLEN is defined. (alphasort): aligned prototype with libc/sys/cygwin/sys/dirent.h and simplified function body. * libc/posix/telldir.c (telldir): changed "telldir" prototype to long telldir (DIR *) as mentioned in annex B of POSIX.1
2000-08-282000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>Jeff Johnston
* libc/machine/i386/i386mach.h: added SOTYPE_FUNCTION to set type of global entry points if _I386MACH_NEED_SOTYPE_FUNCTION is defined; Added __CLI and __STI macros (controlled via _I386MACH_ALLOW_HW_INTERRUPTS macro). * libc/machine/i386/f_atan2.S libc/machine/i386/f_atan2f.S libc/machine/i386/f_frexp.S libc/machine/i386/f_frexpf.S libc/machine/i386/f_ldexp.S libc/machine/i386/f_ldexpf.S libc/machine/i386/f_log.S libc/machine/i386/f_log10.S libc/machine/i386/f_log10f.S libc/machine/i386/f_logf.S libc/machine/i386/f_tan.S libc/machine/i386/f_tanf.S libc/machine/i386/memchr.S libc/machine/i386/memcmp.S libc/machine/i386/memcpy.S libc/machine/i386/memmove.S libc/machine/i386/memset.S libc/machine/i386/setjmp.S libc/machine/i386/strchr.S libc/machine/i386/strlen.S: (that's libc/machine/i386/*.S) added SOTYPE_FUNCTION(symbol) for all global entry points. * libc/machine/i386/setjmp.S: removed code replicated in libc/machine/i386/i386mach.h and included i386mach.h instead; Use __CLI and __STI instead of cli and sti.
2000-08-282000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>Jeff Johnston
* libc/stdlib/mprec.c (ulp, b2d, d2b): changed a few expressions like x << y-z to the equivalent x << (y-z). (d2b): changed if statements with assignment to perform the assignment prior to the if check. * libc/reent/reent.c: included stdlib.h for "_free_r" prototype. * libc/unix/getpass.c (getpass): moved "echo" assignment out of if. * libc/unix/ttyname.c: included string.h for "strcpy" prototype. * libc/unix/getcwd.c (ISDOT): added parentheses to clarify && and || precedence. * libc/include/sys/unistd.h: added "vfork" prototype (for popen.c). Added "_execve" prototype (for execl.c, execle.c, execv.c, and execve.c). * libc/posix/popen.c (popen): added parentheses to clarify && and || precedence. * libm/math/e_cosh.c (__ieee754_cosh): changed parentheses to clarify && and || precendence (and to remove pascalism). * libm/math/e_sinh.c (__ieee754_sinh): Ditto. * libm/math/s_infconst.c: added another pair of braces to all initializers for __infinity (need three: for __infinity[1] array, for union __dmath, and for i[2]).
2000-08-26* libc/include/sys/unistd.h (environ): this one isn't from theDJ Delorie
DLL, no __IMPORT
2000-08-25* libc/stdlib/system.c (do_system): Eliminate explicit declaration of environChristopher Faylor
when compiling under cygwin since it is already declared in unistd.h.
2000-08-252000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>Jeff Johnston
* libc/stdlib/mprec.c (ulp, b2d, d2b): changed a few expressions like x << y-z to the equivalent x << (y-z). (d2b): changed if statements with assignment to perform the assignment prior to the if check. * libc/reent/reent.c: included stdlib.h for "_free_r" prototype. * libc/unix/getpass.c (getpass): moved "echo" assignment out of if. * libc/unix/ttyname.c: included string.h for "strcpy" prototype. * libc/unix/getcwd.c (ISDOT): added parentheses to clarify && and || precedence. * libc/include/sys/unistd.h: added "vfork" prototype (for popen.c). Added "_execve" prototype (for execl.c, execle.c, execv.c, and execve.c). * libc/posix/popen.c (popen): added parentheses to clarify && and || precedence. * libm/math/e_cosh.c (__ieee754_cosh): changed parentheses to clarify && and || precendence (and to remove pascalism). * libm/math/e_sinh.c (__ieee754_sinh): Ditto. * libm/math/s_infconst.c: added another pair of braces to all initializers for __infinity (need three: for __infinity[1] array, for union __dmath, and for i[2]).
2000-08-242000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>Jeff Johnston
* libc/stdlib/abort.c: changed description: uses "raise" instead of "getpid" and "kill"; added: uses "write" and "_exit". Also included unistd.h for "_exit" prototype. * libc/stdlib/system.c: included unistd.h for "execve" prototype, reent.h for "_fork_r" and "_wait_r" prototypes. (do_system): changed extern char *environ[] to POSIX-friendly extern char **environ. * libc/stdlib/wctomb_r.c: included string.h for "strlen" and "strcmp" prototypes. * libc/stdlib/remove.c: included reent.h for "_unlink_r" prototype. * libc/reent/execr.c: included sys/wait.h for "wait" prototype. * libc/reent/fstatr.c: included sys/stat.h for "fstat" prototype. * libc/reent/openr.c: included fcntl.h for "open" prototype. * libc/reent/signalr.c: included signal.h for "kill" prototype, unistd.h for "getpid" prototype. * libc/reent/statr.c: included sys/stat.h for "stat" prototype. * libc/reent/timer.c: included sys/time.h for "gettimeofday" prototype. * libc/unix/getut.c (utmpname): removed local, incorrect "strdup" prototype. Also included stdlib.h for "abort", string.h for "strdup" and "strncmp" prototypes. * libc/unix/getlogin.c: included string.h for "strncmp", "memset", and "strncpy", unistd.h for "read" and "close" prototypes. * libc/posix/execvp.c: included string.h for "strchr", "strlen", and "strcat" prototypes.
2000-08-242000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>Jeff Johnston
* libc/stdio/stdio.c (__swrite): declare "oldmode" only if it's used later (ifdef __SCLE) * libc/stdio/vfscanf.c (__svfscanf): declare "state" only if it's used later (ifdef MB_CAPABLE) * libc/string/memset.c (memset): removed unused variables "count" and "unaligned_addr" * libc/locale/locale.c (_setlocale_r): declare "lc_ctype" and "last_lc_ctype" only of they're used later (ifdef MB_CAPABLE) * libc/unix/getpwent.c (getpwnam): removed unused variables "uid" and "gid"
2000-08-242000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>Jeff Johnston
* libc/stdlib/envlock.c: changed documented "__env_lock" and "__env_unlock" prototype from "void *" or "char *" to "struct _reent *" to match real function. Also added include of envlock.h. * libc/stdlib/mlock.c: changed documented "__malloc_lock" and "__malloc_unlock" prototype from "void *" or "char *" to "struct _reent *" to match real function. * libc/stdlib/envlock.h: added "__env_lock" and "__env_unlock" prototypes (for getenv_r.c and setenv_r.c).
2000-08-22* libc/unix/getut.c (utmpname): added _CONST to reflect common useDJ Delorie
and prototype in cygwin's utmp.h
2000-08-162000-08-16 Eric Fifer <efifer@sanwaint.com>Jeff Johnston
* libc/stdio/vfprintf.c (_vfprintf_r): suppress . with "%.0f", 0.1
2000-08-10Recode to clean up function prologues and epilogue and to allow the functionsNick Clifton
to be used in a Thumb based toolchain.
2000-08-082000-08-08 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* libc/stdio/snprintf.c (snprintf, _snprintf_r): Fixed code so size of 0 results in nothing being written to string. Also fixed code so that when size is non-zero, there is only a maximum of size - 1 characters written to the array and a nul terminator is appended at the end. * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
2000-08-02* libc/include/sys/config.h: define __IMPORT appropriatelyDJ Delorie
* libc/include/ctype.h (_ctype_): use __IMPORT * libc/include/math.h (__infinity, signam, _LIB_VERSION): ditto * libc/include/math.h (__mb_cur_max): ditto * libc/include/time.h (_timezone, _daylight, _tzname): ditto * libc/include/unctrl.h (__unctrl, __unctrllen): ditto * libc/include/errno.h (_sys_errlist, _sys_nerr): ditto * libc/include/unistd.h (environ): ditto
2000-07-28Declare __infinity as an array to work around problems with small data supportMichael Meissner
2000-07-27* libc/include/math.h: Use appropriate dll import linkage for Cygwin.Christopher Faylor
2000-07-13* libc/stdio/vfprintf.c: pad 0.0 correctly with %eDJ Delorie
2000-06-28Wed Jun 28 14:08:00 2000 Keith Walker <keith.walker@arm.com>Jeff Johnston
* libc/sys/arm/crt0.S (.LC30): Added missing length parameter to argument list for AngelSWI_Reason_GetCmdLine.
2000-06-27Tue Jun 27 15:49:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>Jeff Johnston
* configure.host: Add support for AVR target. * libc/include/machine/ieeefp.h: Likewise. * libc/include/sys/config.h: Likewise.
2000-06-23Thu Jun 22 18:35:00 2000 Ranjith Kumaran <ranjith@cygnus.com>Ranjith Kumaran
* README: Newlib 1.8.2 must be built in a separate directory than the sources.
2000-06-20Tue Jun 20 14:30:00 2000 Jeff Johnston <jjohnstn@cygnus.com>Jeff Johnston
* libc/include/sys/reent.h (_rand_next): Added __extension__ qualifier as long long type is not strict ANSI. * libc/stdlib/rand.c (rand): Added __extension__ qualifier to long long constant.
2000-06-17 * libc/include/sys/unistd.h: Add prototypes for `seteuid' andCorinna Vinschen
`setegid' provided by Cygwin.
2000-06-16New file. A brief list of who maintains newlib.Ranjith Kumaran
2000-06-15 * libc/stdio/fdopen.c (_fdopen_r): Take explicit givenCorinna Vinschen
bin/textmode into account for Cygwin.
2000-06-09Fri Jun 9 14:28:00 2000 Jeff Johnston <jjohnstn@cygnus.com>Jeff Johnston
* libc/include/sys/reent.h (_rand_next): Changed to unsigned long long and moved to end of _reent struct in _new union. (_REENT_INIT): Changed to move _rand_next initialization. * libc/stdlib/rand.c (rand): Changed to use unsigned long long linear congruential algorithm that is used by DJGPP.
2000-06-09Thu Jun 8 21:18:00 2000 Ranjith Kumaran <ranjith@cygnus.com>Ranjith Kumaran
* libc/include/stdlib.h: Set RAND_MAX to __RAND_MAX. * libc/include/sys/config.h: Define __RAND_MAX.
2000-06-09Thu Jun 8 17:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>Jeff Johnston
* libc/stdlib/rand_r.c: New algorithm that meets minimal standard.
2000-06-03* libc/include/string.h: Work around problem with strsignal and gdb.Christopher Faylor
2000-05-30* libc/include/ctype.h: __CYGWIN32__ -> __CYGWIN__Christopher Faylor
* libc/include/malloc.h: Ditto. * libc/include/process.h: Ditto. * libc/include/stdio.h: Ditto. * libc/include/stdlib.h: Ditto. * libc/include/time.h: Ditto. * libc/include/machine/setjmp.h: Ditto. * libc/include/sys/errno.h: Ditto. * libc/include/sys/signal.h: Ditto. * libc/include/sys/stat.h: Ditto. * libc/include/sys/time.h: Ditto. * libc/include/sys/unistd.h: Ditto. * libc/include/string.h: Ditto. strsignal should return a const char *.
2000-05-272000-05-26 Marek Michalkiewicz <marekm@linux.org.pl>Jeff Johnston
* libm/common/s_expm1.c (expm1): Add curly braces, avoid warnings. * libm/common/s_log1p.c (log1p): Likewise. * libm/common/s_scalbn.c (scalbn): Likewise. * libm/math/e_log.c: Likewise. * libm/math/e_asin.c: Likewise. * libm/math/ef_asin.c: Likewise. * libm/math/e_j0.c (pzero, qzero): Remove redundant test. * libm/math/e_j1.c (pone, qone): Likewise. * libm/math/ef_j0.c (pzerof, qzerof): Likewise. * libm/math/ef_j1.c (ponef, qonef): Likewise. * libm/mathfp/e_j0.c (pzero, qzero): Likewise. * libm/mathfp/e_j1.c (pone, qone): Likewise. * libm/mathfp/ef_j0.c (pzerof, qzerof): Likewise. * libm/mathfp/ef_j1.c (ponef, qonef): Likewise.
2000-05-24* libc/stdio/stdio.c (__stextmode): new, see if file is text modeDJ Delorie
(__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
2000-05-18* libc/stdio/fgets.c (fgets): perform CRLF conversions if __SCLEDJ Delorie
2000-05-16Mon May 15 18:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>Jeff Johnston
* libc/include/ctype.h: Changed tolower and toupper macros to use __extension__ to prevent pedantic warnings.
2000-05-15Mon May 15 14:26:00 2000 Joel Sherrill <joel@oarcorp.com>Ranjith Kumaran
* libc/sys/rtems/sys/time.h: Add macros for manipulating timeval structures.
2000-05-11Add minimal ia64 support.Jim Wilson
* libc/include/machine/ieeefp.h: Add ia64 support. * configure.host: Likewise.
2000-05-10Wed May 10 13:52:24 2000 Egor Duda <deo@logos-m.ru>Jeff Johnston
* libc/time/asctime_r.c (asctime_r): Change output format. Day of month is now padded with space, not zero. This now conforms to ANSI standard.
2000-05-03 * libc/include/sys/errno.h: Add define for ENOSHARE ("No suchCorinna Vinschen
host or network path") used by cygwin. Add some comments.
2000-05-03Tue May 02 23:45:48 2000 DJ Delorie <dj@cygnus.com>Jeff Johnston
* 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
2000-04-27* libc/machine/mn10300/setjmp.S (setjmp, longjmp): UseAlexandre Oliva
post-increment when it is worth it, spacewise.
2000-04-17Mon Apr 17 12:46:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>Jeff Johnston
* libc/signal/signal.c (_signal_r) : Removed unused local variable temp. * libc/stdio/findfp.c (std): Added declaration of flags and file. * libc/stdio/mktemp.c (_gettemp, _mkstemp_r, mkstemp): Added int return type. * libc/stdio/putchar.c (putchar): Added return statement. * libc/stdio/refill.c (lflush): Added correct parentheses. * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto. * libc/stdio/vfscanf.c (__svfscanf): Changed sprintf call which prints long value to use l qualifier. * libc/stdlib/dtoa.c (_dtoa_r): Added parentheses to remove warning messages and initialized local values: ilim, ilim1, and spec_case. * libc/stdlib/ecvtbuf.c (print_e): Removed unused variable dp. * libc/stdlib/mbctype.h (_issjis1, _issjis2): Added parentheses. * libc/stdlib/mprec.c: Ditto. * libc/stdlib/setenv_r.c: Ditto. * libc/stdlib/strtod.c: Ditto. * libc/stdlib/strtol.c: Ditto. * libc/stdlib/strtoul.c: Ditto. * libm/common/sf_expm1.c: Added curly braces to if else clauses. * libm/common/sf_log1p.c: Ditto. * libm/common/sf_scalbn.c: Ditto. * libm/math/ef_log.c: Ditto.
2000-04-16 * libc/posix/execvp.c (execvp): Check path forCorinna Vinschen
trailing slash.