2004-01-11 Ralf Corsepius * Makefile.am: Include compile.am, again. Eliminate DOC_FILES. 2004-01-08 Ralf Corsepius * Makefile.am: Add libs to CLEANFILES Set lib*_g_a_SOURCES = lib*_a_SOURCES. 2004-01-08 Ralf Corsepius * Makefile.am: Build libcsupport$(LIB_VARIANT).a instead of $(ARCH)/libcsupport.a. 2004-01-07 Ralf Corsepius * Makefile.am: Build library using EXTRA_LIBRARIES and automake rules. 2003-12-16 Joel Sherrill PR 542/filesystem * include/rtems/libio_.h: Add rtems_libio_iop_to_descriptor macro to convert iop to the corresponding integer file descriptor. 2003-12-12 Ralf Corsepius * Makefile.am: Use mkdir_p. Remove dirs from PRE/TMPINSTALL_FILES. 2003-12-12 Ralf Corsepius * Makefile.am: Remove BUILT_SOURCES. 2003-11-30 Ralf Corsepius * Makefile.am: Add $(dirstamp) to compilation rules. 2003-11-30 Ralf Corsepius * Makefile.am: Add $(dirstamp) to preinstallation rules. 2003-11-26 Joel Sherrill PR 524/filesystem * src/newlibc.c: Address 1K buffer leak from incomplete cleanup of newlib reentrancy handler. 2003-11-26 Joel Sherrill PR 523/filesystem * src/malloc.c: Make malloc family safer for use from ISRs and dispatching critical sections. If in a critical section while doing a free(), then the free is deferred until the next malloc() attempt. 2003-11-25 Jennifer Averett PR 519/filesystem * include/rtems/libio_.h, src/eval.c, src/rmdir.c, src/unlink.c: Check write permissions in parent directory for file or directory delete 2003-11-22 Ralf Corsepius * include/rtems/cdefs.h: Use _RTEMS_CDEFS_H guards. 2003-11-22 Ralf Corsepius * include/rtems/cdefs.h: New. * Makefile.am: Completely reworked. 2003-11-20 Ralf Corsepius * src/config.h: Remove. * src/Makefile.am: AM_CPPFLAGS += -I$(top_builddir). 2003-10-22 Joel Sherrill PR 511/filesystem * src/malloc.c: Add deferred free and protect against C Program Heap operations while in a dispatch disable critical section or ISR. 2003-10-02 Phil Torre PR 504/rtems * src/newlibc.c: Fix memory allocation of libc extension so it is dispatch disabled safe See PR for detailed explanation. 2003-09-26 Till Strauman PR 498/rtems * src/printk.c: RTEMS printk() does not support the %i format which is used by a lot of driver/BSP etc. code. The trivial patch allows %i/%I as an alias for %d/%D. 2003-09-15 Ralf Corsepius PR 489/rtems * src/newlibc.c: Reflect struct Thread_Control_struct.libc_reent having changed from void * to struct _reent*. 2003-09-13 Ralf Corsepius * src/sync.c: Don't undef __STRICT_ANSI__. Use struct _reent (struct reent doesn't exist) 2003-09-13 Ralf Corsepius PR 486/rtems * src/newlib.c: Unconditionally include 2003-09-04 Joel Sherrill * include/chain.h, include/clockdrv.h, include/console.h, include/iosupp.h, include/rtc.h, include/spurious.h, include/timerdrv.h, include/vmeintr.h, include/motorola/mc68230.h, include/rtems/libcsupport.h, include/rtems/libio.h, include/rtems/libio_.h, include/rtems/termiostypes.h, include/sys/termios.h, include/zilog/z8036.h, include/zilog/z8530.h, include/zilog/z8536.h, src/__brk.c, src/__gettod.c, src/__sbrk.c, src/__times.c, src/access.c, src/base_fs.c, src/cfgetispeed.c, src/cfgetospeed.c, src/cfsetispeed.c, src/cfsetospeed.c, src/chdir.c, src/chmod.c, src/chown.c, src/chroot.c, src/close.c, src/ctermid.c, src/dup.c, src/dup2.c, src/eval.c, src/fchdir.c, src/fchmod.c, src/fcntl.c, src/fdatasync.c, src/fpathconf.c, src/fs_null_handlers.c, src/fstat.c, src/fsync.c, src/ftruncate.c, src/getdents.c, src/getpwent.c, src/hosterr.c, src/ioctl.c, src/isatty.c, src/libio.c, src/libio_sockets.c, src/link.c, src/lseek.c, src/lstat.c, src/malloc.c, src/mallocfreespace.c, src/mkdir.c, src/mkfifo.c, src/mknod.c, src/mount.c, src/newlibc.c, src/no_libc.c, src/no_posix.c, src/open.c, src/pathconf.c, src/pipe.c, src/privateenv.c, src/read.c, src/readlink.c, src/rewinddir.c, src/rmdir.c, src/seekdir.c, src/stat.c, src/symlink.c, src/sync.c, src/tcdrain.c, src/tcflow.c, src/tcflush.c, src/tcgetattr.c, src/tcgetprgrp.c, src/tcsendbreak.c, src/tcsetattr.c, src/tcsetpgrp.c, src/telldir.c, src/termios.c, src/termiosinitialize.c, src/truncate.c, src/umask.c, src/unixlibc.c, src/unlink.c, src/unmount.c, src/utime.c, src/write.c: URL for license changed. 2003-09-04 Joel Sherrill PR 479/rtems_misc * src/malloc.c: Per multiple standards realloc does not free the original memory if the allocation of the requested larger block fails. 2003-09-02 Joel Sherrill * src/open.c: Fix typo. 2003-09-02 Joel Sherrill * src/malloc.c: Remove test define left in. 2003-09-02 Ilya Alexeev PR 472/filesystem src/malloc.c: Need to include apimutex.h when MALLOC_STATS is defined. 2003-08-18 Ralf Corsepius PR 449/rtems: * src/getegid.c: New (Copied from ../posix/src). * src/geteuid.c: New (Copied from ../posix/src). * src/getgid.c: New (Copied from ../posix/src). * src/getgroups.c: New (Copied from ../posix/src). * src/getlogin.c: New (Copied from ../posix/src). * src/getpgrp.c: New (Copied from ../posix/src). * src/getpid.c: New (Copied from ../posix/src). * src/getppid.c: New (Copied from ../posix/src). * src/getuid.c: New (Copied from ../posix/src). * src/setpgid.c: New (Copied from ../posix/src). * src/setsid.c: New (Copied from ../posix/src). * src/no_posix: Remove getpid and _getpid_r. * Makefile.am: Reflect changes above. 2003-08-14 Joel Sherrill * Makefile.am: Add fileio to list of interactive tests. * src/sync.c: New (Copied from ../posix/src). New file. 2003-08-05 Till Strauman PR 442/filesystem * src/open.c: file never closed if ftruncate() fails in open() 2003-07-08 Joel Sherrill PR 419/rtems * src/termios.c: Removed warning. 2003-07-08 Ralf Corsepius * configure.ac: Remove (Merged-in into ../configure.ac) * Makefile.am: DOC_FILES = src/TODO src/CASES, Reflect having merged configure.ac into ../configure.ac. * src/config.h: New. 2003-07-02 Chris Johns * include/rtems/libio.h, src/termios.c: Patch by Chris Johns adding the rtems_termios_bufsize call. 2003-05-30 Ralf Corsepius * Makefile.am: Conditionally install stdint.h/inttypes.h. * configure.ac: Check for system-stdint.h/inttypes.h. 2003-05-27 Ralf Corsepius PR 409: * include/stdint.h: Include rtems/stdint.h 2003-04-17 Thomas Doerfler PR 399/rtems_misc * src/termios.c: In canonical mode, when input is present in the input buffer that contains an EOL character and some following characters, a read call read data behind the EOL character, although it should stop reading with the EOL character. 2003-04-17 Ralf Corsepius * src/no_posix.c: include instead of 2003-04-16 Ralf Corsepius PR 389/rtems * src/no_posix.c: Correct _kill_r() prototype and make it conditional on newlib. 2003-04-03 Eri Valette PR 381/core * src/newlibc.c: Switch from using _REENT_INIT to _REEINT_INIT_PTR to fix strange run-time problem where EIP was corrupted on pc386 BSP. 2003-03-18 Ralf Corsepius * configure.ac: AC_CHECK_FUNCS(strlcpy strlcat). * src/strlcat.c: New (extracted from pppd/utils.c). * src/strlcpy.c: New (extracted from pppd/utils.c). * Makefile.am: Add BSD_C_FILES, strlcat.c, strlcpy.c. 2003-03-06 Ralf Corsepius * configure.ac: Remove AC_CONFIG_AUX_DIR. 2003-02-20 Wolfram Wadepohl PR 357/rtems_misc * src/termios.c (rtems_termios_open): Fixed code the incorrectly checked that the wrong pointer during allocation was NULL. 2003-02-18 Ralf Corsepius * src/privateenv.c: Fix prototype for free_user_env. 2003-02-11 Ralf Corsepius * configure.ac: AM_INIT_AUTOMAKE([1.7.2]). 2003-02-11 Ralf Corsepius * configure.ac: AC_PREREQ(2.57). 2003-02-06 Joel Sherrill * include/sys/ioccom.h: Include not so Linux port builds. 2003-02-05 Till Straumann PR 340/filesystem * src/fcntl.c: Add missing _fcntl_r assumed to exist by newlib. 2003-02-05 Joel Sherrill * include/sys/ioccom.h: Fix so not using internal RTEMS types in libc code. 2003-02-03 Joel Sherrill PR 338/filesystem * src/unixlibc.c: Side-effect of fixing reentrancy problem with rtems_io_lookup_name() (API change). 2003-02-03 Till Straumann PR 339/filesystem * src/chroot.c: Fix violation of FS node object copy semantics. 2003-01-10 Ralf Corsepius * Makefile.am: Eliminate OBJS. 2003-01-10 Joel Sherrill * include/rtems/libio.h: Rename __dev_t to __rtems_dev_t to avoid conflict with GNU/Linux header files. 2003-01-03 Till Straumann * ChangeLog, base_fs.c, getpwent.c, privateenv.c Per PR303, Fix violation of node_access copy syemantics 2002-12-26 Till Straumann * src/malloc.c: Fixed code that incorrected did a disable dispatch instead of locking and unlocking the allocator mutex. 2002-12-06 Ralf Corsepius * configure.ac: Add various checks to enhance portability. * src/termios.c: Reflect changes to configure.ac. 2002-12-02 Joel Sherrill * include/rtems/libio.h: Internally use a union of an unsigned64 and major/minor device so we don't get into trouble shifting. The h8300 seemed to be impossible to remove warnings otherwise. Eventually the structure definition of a dev_t might be better anyway. * include/sys/ioccom.h: Added casts to remove warnings on 16 bit targets. 2002-11-19 Ralf Corsepius * configure.ac: Cosmetical fixes. 2002-11-19 Ralf Corsepius * configure.ac: Fix package name. 2002-11-18 Ralf Corsepius * configure.ac: Check for sys/cdefs.h, Add NEED_SYS_CDEFS_H. Add check for CHAR_BIT. * Makefile.am: Conditionally install sys/cdefs.h iff using newlib or if the host does not provide sys/cdefs.h (Fixes Linux/posix). 2002-11-18 Ralf Corsepius * configure.ac: Remove -ansi -fasm. Add checks to diagnose potential system header conflicts. * Makefile.am: Unconditionally install sys/cdefs.h. 2002-11-07 * src/mount.c: Per PR297, correct fs_mountme failure paths. 2002-11-01 Joel Sherrill * ChangeLog: Corrected. 2002-10-30 Eric Norum * src/printk.c: Add vprintk function for kernel printing from routines which have already obtained the va_list pointer. 2002-10-31 Joel Sherrill * src/mallocfreespace.c: Corrected sense of status check to match change inside RTEMS. * src/newlibc.c: Removed warning. 2002-10-28 Joel Sherrill * include/rtems/libio.h: Change rtems_filesystem_node_types_t from enumeration to int to eliminate warnings when values are overridden. 2002-10-25 Ralf Corsepius * configure.ac: Add nostdinc to AM_INIT_AUTOMAKE. 2002-10-24 * src/eval.c: Per PR293, added freenode calls for evaluate link failures. 2002-10-23 * src/mount.c per PR290, add check for ops->node_type_h * src/mknod.c per PR291, remove erroneous call to freenod 2002-10-21 Ralf Corsepius * .cvsignore: Reformat. Add autom4te*cache. Remove autom4te.cache. 2002-10-02 Eric Norum * src/getpwent.c: Per PR283, reimplement to address reentrancy problems. * src/getgrent.c: Removed as functionality is now just a wrapper for common routines in src/getpwent.c. * Makefile.am: Reflect file removal. 2002-09-14 Joel Sherrill * include/rtems/libio.h: Change rtems_filesystem_read_t and rtems_filesystem_write_t to return ssize_t to match read(2) and write(2) respectively. 2002-09-14 Eric Norum * src/readdir_r.c: New file. * Makefile.am: Reflect above. 2002-08-12 Eric Norum * src/write.c (_write_r): Change prototype to match newlib's reent.h. 2002-07-30 Joel Sherrill * include/sys/utime.h: Removed as file is now part of the RTEMS newlib support. * Makefile.am: Reflect above. * include/rtems/termiostypes.h: Avoid use of __P. 2002-07-22 Ralf Corsepius * Makefile.am: Use .$(OBJEXT) instead of .o. 2002-07-22 Ralf Corsepius * Makefile.am: Eliminate LIBNAME. Use AM_CPPFLAGS instead of INCLUDES (Upcoming automake standard). 2002-07-05 Ralf Corsepius * configure.ac: RTEMS_TOP(../..). 2002-07-01 Joel Sherrill * src/__times.c: Corrected from previous attempt to cleanup. 2002-07-01 Ralf Corsepius * configure.ac: Remove RTEMS_PROJECT_ROOT. 2002-06-28 Joel Sherrill * src/__times.c: Cleaned up comments, return more information, and eliminated the fatal error on clock not set since it cannot occur. 2002-06-27 Ralf Corsepius * configure.ac: Use AC_CONFIG_AUX_DIR(../..). Add AC_PROG_RANLIB. 2002-06-17 Ralf Corsepius * Makefile.am: Merge src/Makefile.am. * configure.ac: Reflect changes above. * src/Makefile.am: Remove. 2002-06-17 Ralf Corsepius * Makefile.am: Include $(top_srcdir)/../automake/*.am. Use ../aclocal. * src/Makefile.am: Include $(top_srcdir)/../automake/*.am. 2001-05-24 Joel Sherrill * src/.cvsignore: New file.