| Commit message (Collapse) | Author | Files | Lines |
|
* ChangeLog: Merge-in libcsupport/ChangeLog.
* libcsupport/ChangeLog: Remove.
|
|
|
|
* Makefile.am: Add PREINSTALL_DIRS.
|
|
* Makefile.am: Re-add dirstamps to PREINSTALL_FILES.
Add PREINSTALL_FILES to CLEANFILES.
|
|
PR 548/rtems
* Makefile.am: Add src/envlock.c.
|
|
* Makefile.am: Reformat, add UNUSED_FILES.
|
|
* Makefile.am: Include compile.am, again.
Eliminate DOC_FILES.
|
|
* Makefile.am: Add libs to CLEANFILES
Set lib*_g_a_SOURCES = lib*_a_SOURCES.
|
|
* Makefile.am: Build libcsupport$(LIB_VARIANT).a instead of
$(ARCH)/libcsupport.a.
|
|
* Makefile.am: Build library using EXTRA_LIBRARIES and automake rules.
|
|
PR 542/filesystem
* include/rtems/libio_.h: Add rtems_libio_iop_to_descriptor macro to
convert iop to the corresponding integer file descriptor.
|
|
* Makefile.am: Use mkdir_p. Remove dirs from PRE/TMPINSTALL_FILES.
|
|
* Makefile.am: Remove BUILT_SOURCES.
|
|
* Makefile.am: Add $(dirstamp) to compilation rules.
|
|
* Makefile.am: Add $(dirstamp) to preinstallation rules.
|
|
PR 524/filesystem
* src/newlibc.c: Address 1K buffer leak from incomplete cleanup of
newlib reentrancy handler.
|
|
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.
|
|
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
|
|
* include/rtems/cdefs.h: Use _RTEMS_CDEFS_H guards.
|
|
* include/rtems/cdefs.h: New.
* Makefile.am: Completely reworked.
|
|
* src/config.h: Remove.
* src/Makefile.am: AM_CPPFLAGS += -I$(top_builddir).
|
|
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.
|
|
PR 504/rtems
* src/newlibc.c: Fix memory allocation of libc extension so it is
dispatch disabled safe See PR for detailed explanation.
|
|
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.
|
|
PR 489/rtems
* src/newlibc.c: Reflect struct Thread_Control_struct.libc_reent
having changed from void * to struct _reent*.
|
|
* src/sync.c: Don't undef __STRICT_ANSI__.
Use struct _reent (struct reent doesn't exist)
|
|
PR 486/rtems
* src/newlib.c: Unconditionally include <stdio.h>
|
|
* 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.
|
|
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.
|
|
* src/open.c: Fix typo.
|
|
* src/malloc.c: Remove test define left in.
|
|
PR 472/filesystem
src/malloc.c: Need to include apimutex.h when MALLOC_STATS is defined.
|
|
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.
|
|
* Makefile.am: Add fileio to list of interactive tests.
* src/sync.c: New file.
|
|
PR 442/filesystem
* src/open.c: file never closed if ftruncate() fails in open()
|
|
PR 419/rtems
* src/termios.c: Removed warning.
|
|
* 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.
|
|
|
|
rtems_termios_bufsize call.
|
|
|
|
PR 409:
* include/stdint.h: Include rtems/stdint.h
|
|
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.
|
|
|
|
PR 389/rtems
* src/no_posix.c: Correct _kill_r() prototype and make it conditional
on newlib.
|
|
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.
|
|
|
|
|
|
|
|
|
|
Author: Till Straumann <strauman@slac.stanford.edu>
2003/2/11
This patch addresses the following issues:
2003-02-20 Till Straumann <strauman@slac.stanford.edu>
PR 349/bsps
* src/mount.c, src/privateenv.c:
- mount() bugfix: allocated 'loc' node must be released if
mount fails due to missing node_type_h
- silence compiler warning about improper pointer type
Index: cpukit/libcsupport/src/mount.c
===================================================================
RCS file: /afs/slac/g/spear/cvsrep/rtems/src-20030128/cpukit/libcsupport/src/mount.c,v
retrieving revision 1.1.1.2
diff -c -r1.1.1.2 mount.c
*** cpukit/libcsupport/src/mount.c 29 Jan 2003 22:57:19 -0000 1.1.1.2
--- cpukit/libcsupport/src/mount.c 7 Feb 2003 20:47:49 -0000
***************
*** 142,147 ****
--- 142,149 ----
mount_point, RTEMS_LIBIO_PERMS_RWX, &loc, TRUE ) == -1 )
goto cleanup_and_bail;
+ loc_to_free = &loc;
+
/*
* Test for node_type_h
*/
***************
*** 155,161 ****
* Test to see if it is a directory
*/
- loc_to_free = &loc;
if ( loc.ops->node_type_h( &loc ) != RTEMS_FILESYSTEM_DIRECTORY ) {
errno = ENOTDIR;
goto cleanup_and_bail;
--- 157,162 ----
Index: cpukit/libcsupport/src/privateenv.c
===================================================================
RCS file: /afs/slac/g/spear/cvsrep/rtems/src-20030128/cpukit/libcsupport/src/privateenv.c,v
retrieving revision 1.1.1.3
diff -c -r1.1.1.3 privateenv.c
*** cpukit/libcsupport/src/privateenv.c 29 Jan 2003 22:57:20 -0000 1.1.1.3
--- cpukit/libcsupport/src/privateenv.c 30 Jan 2003 18:01:40 -0000
***************
*** 65,71 ****
tmp->refcnt = 1;
#endif
! sc = rtems_task_variable_add(RTEMS_SELF,(void*)&rtems_current_user_env,free_user_env);
if (sc != RTEMS_SUCCESSFUL) {
/* don't use free_user_env because the pathlocs are
* not initialized yet
--- 65,71 ----
tmp->refcnt = 1;
#endif
! sc = rtems_task_variable_add(RTEMS_SELF,(void*)&rtems_current_user_env,(void(*)(void *))free_user_env);
if (sc != RTEMS_SUCCESSFUL) {
/* don't use free_user_env because the pathlocs are
* not initialized yet
|