Commit Graph

425 Commits

Author SHA1 Message Date
Jeff Johnston b3a9676ba0 2002-08-12 Jeff Johnston <jjohnstn@redhat.com>
* libc/sys/linux/machine/i386/crt0.c (__bss_start,_end):
        Declare as extern chars and use the address operator to
        properly use values set in linker script.
2002-08-13 00:11:51 +00:00
Jeff Johnston 659e70628e 2002-08-09 Jason Tishler <jason@tishler.net>
* libc/stdlib/mallocr.c: Include <limits.h>.
        (request2size): Change macro to do
        unsigned long comparisons and avoid signed overflow.
        (mALLOc): Add overflow check for the number of bytes to allocate.
        (rEALLOc): Ditto.
2002-08-09 21:33:29 +00:00
Jeff Johnston 037240a242 2002-08-09 Jeff Johnston <jjohnstn@redhat.com>
* configure.host: Add check for --enable-newlib-io-pos-args
        and define WANT_IO_POS_ARGS flag if enabled.  Define
        the flag by default for x86-linux configurations.
        * configure.in: Add support for --enable-newlib-io-pos-args.
        * libc/configure.in: Ditto.
        * configure: Regenerated.
        * libc/configure: Ditto.
        * libc/stdio/Makefile.am: Specify -fshort-enums for compiling
        vfprintf.c and vfiprintf.c.
        * libc/stdio/Makefile.in: Regenerated.
        * libc/stdio/vfprintf.c: Add positional argument support that
        is enabled by compiling with -DWANT_IO_POS_ARGS.
2002-08-09 21:12:09 +00:00
Richard Sandiford 172fda76d4 * libc/include/machine/setjmp.h: For mips, define _JBLEN based
based on __mips_soft_float rather than __mips64.
	* libc/machine/mips/setjmp.S: Provide hard and soft float versions
	of both 32-bit and 64-bit code.
2002-08-07 17:07:42 +00:00
Christopher Faylor 4866247e29 * libc/stdio/popen.c (popen): Allow "rb", "rt", "wb", and "wt" arguments for
popen to match similar functionality in fopen.
2002-08-04 19:01:56 +00:00
Corinna Vinschen b96332ce3c * libc/include/sys/unistd.h: Add setgroups prototype for Cygwin. 2002-07-30 11:35:03 +00:00
Jeff Johnston 60d99bce80 2002-07-29 Jeff Johnston <jjohnstn@redhat.com>
* libc/sys/linux/Makefile.am: Add aio64.c.
        * libc/sys/linux/Makefile.in: Regenerated.
        * libc/sys/linux/aio.c (aio_init): ENOSYS stub added.
        * libc/sys/linux/aio64.c: New file.
2002-07-29 17:40:10 +00:00
Jeff Johnston 80a21be075 2002-07-26 Jeff Johnston <jjohnstn@redhat.com>
*  libc/include/sys/param.h (MAX, MIN): Added macros.
        *  libc/sys/linux/Makefile.am: Add new files.
        *  libc/sys/linux/Makefile.in: Regenerated.
        *  libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
        *  libc/sys/linux/inode.c (fchdir): Added syscall.
        *  libc/sys/linux/ftw.c: New file.
        *  libc/sys/linux/ftw64.c: Ditto.
        *  libc/sys/linux/getwd.c: Ditto.
        *  libc/sys/linux/scandir64.c: Ditto.
        *  libc/sys/linux/strverscmp.c: Ditto.
        *  libc/sys/linux/versionsort.c: Ditto.
        *  libc/sys/linux/versionsort64.c: Ditto.
2002-07-26 21:44:34 +00:00
Jeff Johnston 6b6425cb53 2002-07-26 Jeff Johnston <jjohnstn@redhat.com>
* libc/string/strings.tex: Fix typo for memccpy.
2002-07-26 15:26:42 +00:00
Jeff Johnston dc8ac8e650 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
* libc/sys/linux/io64.c (truncate64, ftruncate64): Added.
        * libc/sys/linux/sys/types.h (off64_t): Definition added.
2002-07-25 21:07:08 +00:00
Jeff Johnston aa0ca6fd29 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
* libc/sys/linux/Makefile.am: Add fclean.c.
        * libc/sys/linux/Makefile.in: Regenerated.
        * libc/sys/linux/fclean.c: New file.
2002-07-25 20:09:20 +00:00
Jeff Johnston 61921945b6 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
* libc/sys/linux/Makefile.am: Add confstr.c.
        * libc/sys/linux/Makefile.in: Regenerated.
        * libc/sys/linux/confstr.c: New file.
        * libc/sys/linux/confstr.h: Ditto.
        * libc/sys/linux/sys/unistd.h: Include <features.h> and
        <bits/environments.h>.
2002-07-25 18:41:15 +00:00
Jeff Johnston 3d966a92d3 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
* libc/sys/linux/config.h (__set_errno): Macro definition removed.
        * libc/sys/linux/fpathconf.c (__set_errno): Ditto.
        * libc/sys/linux/libc-internal.h (__set_errno): Ditto.
        * libc/sys/linux/pathconf.c (__set_errno): Ditto.
        * libc/sys/linux/ttyname_r.c (__set_errno): Ditto.
        * libc/sys/linux/sys/errno.h (__set_errno): Macro definition added.
2002-07-25 17:59:48 +00:00
Jeff Johnston 53b5bff780 2002-07-24 Jeff Johnston <jjohnstn@redhat.com>
* libc/sys/linux/Makefile.am: Add new files.
        * libc/sys/linux/Makefile.in: Regenerated.
        * libc/sys/linux/fstab.c: New file.
        * libc/sys/linux/fstatvfs.c: Ditto.
        * libc/sys/linux/fstatvfs64.c: Ditto.
        * libc/sys/linux/internal_statvfs.c: Ditto.
        * libc/sys/linux/mntent.c: Ditto.
        * libc/sys/linux/mntent_r.c: Ditto.
        * libc/sys/linux/statvfs.c: Ditto.
        * libc/sys/linux/statvfs64.c: Ditto.
        * libc/sys/linux/include/paths.h: Ditto.
        * libc/sys/linux/inode.c (statfs, fstatfs): New syscalls
        with double-underscore weak-aliases.
        * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
2002-07-24 20:38:32 +00:00
Jeff Johnston 9cef8ef52b 2002-07-24 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/signal.h (SIG_IGN, SIG_DFL, SIG_ERR): Change
        to use _sig_func_ptr type casted constants.
        (_sig_func_ptr): Typedef moved to sys/signal.h.
        * libc/include/sys/signal.h (_sig_func_ptr): Typedef added.
        For __rtems, use POSIX definition, otherwise default to ANSI.
        * libc/sys/linux/sys/signal.h (_sig_func_ptr): Typedef added.
2002-07-24 18:18:07 +00:00
Jeff Johnston a703e0f2ee 2002-07-24 Stephane Carrez <stcarrez@nerim.fr>
* configure.host: Recognize m6811-elf and m6812-elf targets.
        * libc/include/machine/setjmp.h (_JBLEN): Define for 68hc11/68hc12.
        * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Define for 68HC11.
        (_DOUBLE_IS_32BITS): Define when compiling with -fshort-double.
        * libc/include/sys/config.h (INT_MAX, UINT_MAX): Define
        according to __INT_MAX__.
        (_POINTER_INT): Define to short.
        * libc/machine/m68hc11/Makefile.am: New file.
        * libc/machine/m68hc11/Makefile.in: New file.
        * libc/machine/m68hc11/configure.in: New file.
        * libc/machine/m68hc11/configure: New file.
        * libc/machine/m68hc11/aclocal.m4: New file.
        * libc/machine/m68hc11/setjmp.S: New file.
2002-07-24 15:44:24 +00:00
Jeff Johnston d254189b38 2002-07-23 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/string.h: Add mempcpy, strndup, and _strndup_r
        prototypes.
        * libc/stdlib/Makefile.am: Remove strdup.c and strdup_r.c.
        * libc/stdlib/Makefile.in: Regenerated.
        * libc/stdlib/strdup.c: Removed.
        * libc/stdlib/strdup_r.c: Removed.
        * libc/string/Makefile.am: Add strdup.c, strdup_r.c, memccpy.c,
        mempcpy.c, strndup.c, and strndup_r.c.
        * libc/string/Makefile.in: Regenerated.
        * libc/string/memccpy.c: New file.
        * libc/string/mempcpy.c: Ditto.
        * libc/string/strndup.c: Ditto.
        * libc/string/strndup_r.c: Ditto.
        * libc/string/strdup.c: New file moved from stdlib.
        * libc/string/strdup_r.c: Ditto.
        * libc/string/strings.tex: Add memccpy and mempcpy documentation.
2002-07-23 21:38:00 +00:00
Jeff Johnston bc10065533 2002-07-23 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/stdio.h: Move fcloseall prototype within
        #ifndef _REENT_ONLY section.
        * libc/sys/linux/Makefile.am: Add new files.
        * libc/sys/linux/Makefile.in: Regenerated.
        * libc/sys/linux/sys/stdio.h: Add ctermid prototype.
        * libc/sys/linux/sys/unistd.h: Add ttyname_r prototype.
        * libc/sys/linux/sys/types.h: Add ino64_t type.
        * libc/sys/linux/ctermid.c: New file.
        * libc/sys/linux/ttyname_r.c: Ditto.
        * libc/sys/linux/readdir64.c: Ditto.
2002-07-23 19:40:45 +00:00
Jeff Johnston f5f27f0778 2002-07-22 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/stdio.h (fcloseall, _fcloseall_r): Added prototypes.
        * libc/stdio/Makefile.am: Added fcloseall.c support.
        * libc/stdio/Makefile.in: Regenerated.
        * libc/stdio/fcloseall.c: New file.
        * libc/stdio64/Makefile.am: Remove missing .def references.
        * libc/stdio64/Makefile.in: Regenerated.
2002-07-22 23:53:50 +00:00
Jeff Johnston d541ba3ec0 2002-07-22 Jeff Johnston <jjohnstn@redhat.com>
* libc/machine/powerpc/time.c: Removed..renamed to times.c.
        * libc/machine/powerpc/times.c: New file.
        * libc/machine/powerpc/Makefile.am: Change time.c to times.c.
        * libc/machine/powerpc/Makefile.in: Regenerated.
2002-07-22 20:26:51 +00:00
Jeff Johnston e964bca8a8 2002-07-19 Aldy Hernandez <aldyh@redhat.com>
* libc/machine/powerpc/time.c: New file.
        * libc/machine/powerpc/Makefile.am (lib_a_SOURCES): Add
        time.c.
        * libc/machine/powerpc/Makefile.in: Regenerated.
2002-07-22 19:24:53 +00:00
Thomas Fitzsimmons 5e7d0a5510 * libc/libc.texinfo: Change copyright notices to Red Hat from
Cygnus.
	* libm/libm.texinfo: Likewise.
	* README: Change docs URL to
	http://sources.redhat.com/newlib/docs.html.
2002-07-22 16:40:48 +00:00
Jeff Johnston 504628e782 2002-07-19 Jeff Johnston <jjohnstn@redhat.com>
* libc/sys/linux/Makefile.am: Add pathconf.c and fpathconf.c.
        * libc/sys/linux/Makefile.in: Regenerated.
        * libc/sys/linux/inode.c: Add chmod, fchmod, and chown syscalls.
        * libc/sys/linux/io.c: Add ftruncate syscall.
        * libc/sys/linux/fpathconf.c: New file.
        * libc/sys/linux/pathconf.c: Ditto.
        * libc/sys/linux/linux_fsinfo.h: Ditto.
        * libc/sys/linux/sys/unistd.h: Ditto.
2002-07-20 01:03:08 +00:00
Jeff Johnston b155ad9f64 2002-07-19 Jeff Johnston <jjohnstn@redhat.com>
* libc/stdio64/Makefile.am: Remove missing files.
        * libc/stdio64/Makefile.in: Regenerated.
2002-07-19 23:27:05 +00:00
Jeff Johnston c119e0ab7a 2002-07-19 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/sys/config.h[__i386__][__linux__]: Define
        _LARGE64FILE_SOURCE to 1.
        * libc/sys/linux/Makefile.am: Add getrlimit64.c and setrlimit64.c.
        * libc/sys/linux/Makefile.in: Regenerated.
        * libc/sys/linux/resource.c: Add __getrlimit and __setrlimit aliases.
        * libc/sys/linux/sys/linux_time.h: Protect struct timeval definition.
        * libc/sys/linux/sys/resource.h: Include <bits/resource.h> instead
        of <linux/resource.h>.
        * libc/sys/linux/getrlimit64.c: New file.
        * libc/sys/linux/setrlimit64.c: Ditto.
2002-07-19 23:21:43 +00:00
Thomas Fitzsimmons 9b022d6db8 * libc/argz/argz_replace.c: Include buf_findstr.h.
* libc/argz/buf_findstr.c: Likewise.
	* libc/argz/envz_entry.c: Include buf_findstr.h.  Cast return
	value to (char *).
	* libc/argz/envz_get.c: Likewise.
	* libc/include/sys/unistd.h: Add getopt and getsubopt declarations.
	* libc/stdlib/Makefile.am (LIB_SOURCES): Add getsubopt.c.
	* libc/stdlib/getsubopt.3: New file.
	* libc/stdlib/getsubopt.c: New file.
	* libc/sys/linux/machine/i386/socketcall.h (__sockcall_base):
	Change esp to ebp.
2002-07-19 20:36:09 +00:00
Jeff Johnston dee5139131 2002-07-17 Jeff Johnston <jjohnstn@redhat.com>
* configure.host(stdio64_dir): New setting that is used to
        enable building of new stdio64 directory.
        * libc/Makefile.am[HAVE_STDIO64_DIR]: Add support for
        large files.
        (stmp-stdio64,stdio64.texi): New targets to optionally add in
        stdio64 info to info files.
        * libc/Makefile.in: Regenerated.
        * libc/configure: Ditto.
        * libc/configure.in: Add configuration variables that are set
        when stdio64 is selected as subdir in configure.host.
        * libc/libc.texinfo: Add optional menu item for Stdio64, based
        on whether STDIO64 flag is set or not.
        * libc/sys.tex: Add optional stdio64 syscalls based on whether
        STDIO64 flag is set or not.
        * libc/include/reent.h[__LARGE64_FILES]: Add new stdio64
        _r sycall routines.
        * libc/include/stdio.h[__LARGE64_FILES]: Add new stdio64 prototypes.
        (FILE): Typedef'd to __FILE instead of struct __sFILE directly.
        (__SL64): New file flag indicating file is opened via fopen64.
        * libc/include/sys/_types.h(_off64_t): Added.
        * libc/include/sys/config.h: For x86-linux, define __LARGE64_FILES.
        * libc/include/sys/reent.h(struct __sFILE64): New file structure
        for 64-bit offset large file support.
        (__FILE): New intermediate type either set to struct __sFILE64 or
        struct __sFILE, depending on whether __LARGE64_FILES is set or not.
        * libc/reent/Makefile.am[HAVE_STDIO64_DIR]: Add new files.
        * libc/reent/Makefile.in: Regenerated.
        * libc/reent/fstat64r.c: New file.
        * libc/reent/lseek64r.c: Ditto.
        * libc/reent/open64r.c: Ditto.
        * libc/reent/reent.tex: Optionally add stdio64 reentrant syscalls
        based on whether STDIO64 flag is set.
        * libc/stdio/stdio.tex: Add blank line.
        * libc/stdio64/Makefile.am: New file.
        * libc/stdio64/Makefile.in: Ditto.
        * libc/stdio64/fgetpos64.c: Ditto.
        * libc/stdio64/fopen64.: Ditto.
        * libc/stdio64/freopen64.c: Ditto.
        * libc/stdio64/fseeko64.c: Ditto.
        * libc/stdio64/fsetpos64.c: Ditto.
        * libc/stdio64/ftello64.c: Ditto.
        * libc/stdio64/local64.h: Ditto.
        * libc/stdio64/stdio64.c: Ditto.
        * libc/stdio64/stdio64.tex: Ditto.
        * libc/stdio64/tmpfile64.c: Ditto.
        * libc/sys/linux/io64.c: Add weak aliases for lseek64, fstat64, and
        open64.
2002-07-17 23:25:44 +00:00
Thomas Fitzsimmons 190b468725 * README: Add Running the Testsuite section. 2002-07-17 00:58:59 +00:00
Jeff Johnston 778876f6ce 2002-07-16 Jeff Johnston <jjohnstn@redhat.com>
* libc/Makefile.am (stmp-extra): New target to set makeinfo flag
        if LIBC_EXTRA_LIB is present.
        * libc/Makefile.in: Regenerated.
        * libc/libc.texinfo: Add blank line.
        * libc/argz/Makefile.am: Add doc support.
        * libc/search/Makefile.am: Ditto.
        * libc/argz/Makefile.in: Regenerated.
        * libc/search/Makefile.in: Ditto.
        * libc/misc/misc.tex: Add ffs function.
        * libc/stdio/ftell.c: Fix missing doc delimeter in description.
2002-07-16 15:30:32 +00:00
Jeff Johnston ce979f3b97 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/sys/config.h[__H8300__]: Replace __SMALL_BITFIELDS
        definition that was removed in error.

Move definition before comment regarding H8300 macro definition.
2002-07-15 22:25:52 +00:00
Jeff Johnston 379811450f 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/sys/config.h[__H8300__]: Replace __SMALL_BITFIELDS
        definition that was removed in error.
2002-07-15 22:17:02 +00:00
Jeff Johnston 38b5dc59ab 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/machine/ieeefp.h: Change to only define
        floating point defines (e.g one of __IEEE_BIG_ENDIAN or
        __IEEE_LITTLE_ENDIAN must be defined for each platform).
        * libc/include/sys/config.h: Include <machine/ieeefp.h> and
        remove redundant floating point definitions.
2002-07-15 21:35:44 +00:00
Jeff Johnston 8cb61a96e6 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
* libc/sys/linux/callocr.c: Fix so code references
        calloc.
2002-07-15 21:13:32 +00:00
Jeff Johnston edba3282e8 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
* libc/sys/linux/Makefile.am: Add new files.
        * libc/sys/linux/Makefile.in: Regenerated.
        * libc/sys/linux/bp-sym.h: Moved to include directory.
        * libc/sys/linux/mmap.c: Add weak aliases: __mmap, __munmap, __mremap.
        * libc/sys/linux/inode.c: Set _LIBC to 1.
        * libc/sys/linux/mq_close.c: Ditto.
        * libc/sys/linux/mq_getattr.c: Ditto.
        * libc/sys/linux/mq_open.c: Ditto.
        * libc/sys/linux/mq_receive.c: Ditto.
        * libc/sys/linux/mq_send.c: Ditto.
        * libc/sys/linux/mq_setattr.c: Ditto.
        * libc/sys/linux/mq_unlink.c: Ditto.
        * libc/sys/linux/calloc.c: New file.
        * libc/sys/linux/callocr.c: Ditto.
        * libc/sys/linux/cfreer.c: Ditto.
        * libc/sys/linux/config.h: Ditto.
        * libc/sys/linux/free.c: Ditto.
        * libc/sys/linux/freer.c: Ditto.
        * libc/sys/linux/msize.c: Ditto.
        * libc/sys/linux/msizer.c: Ditto.
        * libc/sys/linux/mstats.c: Ditto.
        * libc/sys/linux/mtrim.c: Ditto.
        * libc/sys/linux/mtrimr.c: Ditto.
        * libc/sys/linux/pvallocr.c: Ditto.
        * libc/sys/linux/realloc.c: Ditto.
        * libc/sys/linux/reallocr.c: Ditto.
        * libc/sys/linux/thread-m.h: Ditto.
        * libc/sys/linux/vallocr.c: Ditto.
        * libc/sys/linux/bp-checks.h: Ditto.
        * libc/sys/linux/libc-symbols.h: Ditto.
        * libc/sys/linux/libc-tsd.h: Ditto.
        * libc/sys/linux/libintl.h: Ditto.
        * libc/sys/linux/malign.c: Ditto.
        * libc/sys/linux/malignr.c: Ditto.
        * libc/sys/linux/mallinfor.c: Ditto.
        * libc/sys/linux/malloc.c: Ditto.
        * libc/sys/linux/mallocr.c: Ditto.
        * libc/sys/linux/malloptr.c: Ditto.
        * libc/sys/linux/mallstatsr.c: Ditto.
        * libc/sys/linux/mcheck.c: Ditto.
        * libc/sys/linux/mhooks.h: Ditto.
        * libc/sys/linux/include/bp-sym.h: Ditto.
        * libc/sys/linux/include/malloc.h: Ditto.
        * libc/sys/linux/include/mcheck.h: Ditto.
        * libc/sys/linux/machine/i386/getpagesize.c: New file.
        * libc/sys/linux/machine/i386/Makefile.am: Add getpagesize.c.
        * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
        * libc/sys/linux/machine/i386/sysdep.h: New file.
        * libc/sys/linux/machine/i386/weakalias.h: Add weak_function support.
        * libc/sys/linux/sys/dirent.h: Set _LIBC to 1.
	* libc/sys/linux/sys/types.h: Add new types.
2002-07-15 20:16:32 +00:00
Jeff Johnston ea20b60a96 2002-07-12 Jeff Johnston <jjohnstn@redhat.com>
* libc/sys/linux/include/mqueue.h: Change to use <bits/siginfo.h>
        instead of <asm/siginfo.h>.
        * libc/sys/linux/sys/signal.h: Change to include various linux
        <bits/xxx.h> header files, rather than <linux/signal.h> so as
        to work with multiple releases of glibc header files.
2002-07-12 22:42:48 +00:00
Jeff Johnston 2fc8291218 2002-07-11 Chris Demetriou <cgd@broadcom.com>
* testsuite/newlib.search/hsearchtest.c: New file to test
        newlib/libc/search.
        * testsuite/newlib.search/hsearchtest.exp: Likewise.
2002-07-11 14:59:24 +00:00
Jeff Johnston 4a404e9728 Fix name typo. 2002-07-10 22:18:31 +00:00
Jeff Johnston 2a8b4ea32b 2002-07-10 Florian Shrack <florian.schrack@freenet.de>
* libc/sys/mmixware/read.c: Use SYS_Fgets syscall if dealing with
        a terminal.
        * libc/sys/mmixware/sys/syscall.h (SYS_Fgets): Definition added.
2002-07-10 22:15:49 +00:00
Jeff Johnston 6aec558e30 2002-07-08 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/math.h (MAXFLOAT): Added.
2002-07-08 18:05:58 +00:00
Joern Rennecke e47e6f0e30 Some small speedups. 2002-07-08 12:56:32 +00:00
Joern Rennecke a31df30347 * libc/machine/sh/Makefile.am (lib_a_SOURCES):
Make strcmp.S unconditional.
	* libc/machine/sh/Makefile.in: Regenerate.
	* libc/machine/sh/asm.h (DELAYED_BRANCHES, SL): Also for __SH5__ .
	* strcmp.S (strcmp): Add SHmedia variant.  Use different registers
	for SHcompact.
2002-07-07 00:27:20 +00:00
Jeff Johnston 89ffbd66e7 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
* libc/sys/linux/inode.c: Fix utime prototype and add _LIBC
        define before including <sys/lock.h>.
2002-07-04 23:25:06 +00:00
Jeff Johnston ae6c4c8421 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/utime.h: Add include of <_ansi.h>.
        * libc/sys/linux/Makefile.am: Add utimes.c.
        * libc/sys/linux/Makefile.in: Regenerated.
        * libc/sys/linux/inode.c(__umask): New static routine.
        (umask): Written to use __umask and attempt to thread lock.
        (getumask): New function written to use __umask and thread lock.
        * libc/sys/linux/utimes.c: New file.
        * libc/sys/linux/sys/time.h: Fix utimes prototype.
        * libc/sys/linux/sys/utime.h: New file.
2002-07-04 22:51:08 +00:00
Thomas Fitzsimmons 3e35e424d7 * Remove files (should have been done on 2002-06-20). 2002-07-04 20:22:35 +00:00
Thomas Fitzsimmons b18291deb4 * process.c: Add comment. 2002-07-04 20:00:49 +00:00
Thomas Fitzsimmons a6cac46c17 * libtool.m4: New file.
* libc/sys/linux/process.c: Implement vfork in terms of fork,
	rather than as a syscall.
2002-07-04 19:57:57 +00:00
Jeff Johnston 30b2092fcb 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/stdio.h: Add new prototypes.
        * libc/stdio/Makefile.am: Add fseeko.c and ftello.c.
        * libc/stdio/Makefile.in: Regenerated.
        * libc/stdio/fseek.c: Add fseeko documentation.
        * libc/stdio/ftell.c: Add ftello documentation.
        * libc/stdio/fseeko.c: New file.
        * libc/stdio/ftello.c: New file.
2002-07-04 19:33:54 +00:00
Jeff Johnston 7501704dc9 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
* libc/stdio/Makefile.am: Add asprintf.c and vasprintf.c.
        * libc/stdio/Makefile.in: Regenerated.
        * libc/stdio/asprintf.c: New file.
        * libc/stdio/vasprintf.c: Ditto.
        * libc/stdio/fvwrite.c: Add code to dynamically reallocate
        the buffer for asprintf support.
        * libc/stdio/sprintf.c: Add asprintf documentation.
        * libc/stdio/vfprintf.c: Add vasprintf documentation.
        * libc/include/stdio.h: Add new prototypes.
2002-07-04 18:56:17 +00:00
Thomas Fitzsimmons 66eee32b8f * libc/search/hcreate.c: Remove advertising clause from license.
* libc/search/hcreate_r.c: Likewise.
2002-07-03 00:33:58 +00:00
Jeff Johnston cec4a9f8f0 2002-07-02 Chris Demetriou <cgd@broadcom.com>
* libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN)
        (__IEEE_BIG_ENDIAN): Define appropriately for MIPS.
        Check that one of them is defined and error out if not.
        Add any platforms defined in <machine/ieeefp.h> that are missing.
        * libc/search/hash.h (DB_BYTE_ORDER, DB_BIG_ENDIAN)
        (DB_LITTLE_ENDIAN): New defines.
        * libc/search/hash.c: Replace all incorrect checks for
        _IEEE_LITTLE_ENDIAN with tests of BYTE_ORDER, and all uses of
        BYTE_ORDER, LITTLE_ENDIAN, and BIG_ENDIAN with DB_* versions.
        * libc/search/hash_page.c: Likewise.
2002-07-02 18:18:58 +00:00