summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 2004-03-23 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius2004-03-231-3/+3
| | | | * libcsupport/src/malloc.c: Remove lvalue casts.
* 2004-03-23 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius2004-03-2310-64/+64
| | | | | | | | | | | | | | | | | | * libcsupport/include/chain.h, libcsupport/include/clockdrv.h, libcsupport/include/ringbuf.h, libcsupport/include/spurious.h, libcsupport/include/timerdrv.h, libcsupport/include/vmeintr.h, libcsupport/include/motorola/mc68230.h, libcsupport/include/rtems/assoc.h, libcsupport/include/rtems/libio.h, libcsupport/include/rtems/libio_.h, libcsupport/include/rtems/termiostypes.h, libcsupport/include/zilog/z8036.h, libcsupport/include/zilog/z8530.h, libcsupport/include/zilog/z8536.h, libcsupport/src/__gettod.c, libcsupport/src/assoc.c, libcsupport/src/assocnamebad.c, libcsupport/src/error.c, libcsupport/src/libio.c, libcsupport/src/libio_sockets.c, libcsupport/src/malloc.c, libcsupport/src/no_libc.c, libcsupport/src/termios.c, libcsupport/src/termiosreserveresources.c: Convert to using c99 fixed-size types.
* Remove refs to Makefile*.Ralf Corsepius2004-03-091-2/+0
|
* 2004-03-05 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2004-03-052-19/+48
| | | | | | * libcsupport/src/newlibc.c, libcsupport/src/sync.c: Eliminate warnings. Explicitly defeat __STRICT_ANSI__ since both legitimately use routines beyond ANSI.
* 2004-03-05 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2004-03-052-48/+19
| | | | | | | | | | | | | | | | | | | | | * libblock/src/bdbuf.c, libblock/src/ramdisk.c, libcsupport/src/newlibc.c, libcsupport/src/sync.c, libmisc/cpuuse/cpuuse.c, libmisc/monitor/mon-symbols.c, libmisc/shell/cmds.c, libmisc/shell/shell.c, libnetworking/kern/kern_sysctl.c, libnetworking/lib/ftpfs.c, libnetworking/lib/tftpDriver.c, libnetworking/libc/gethostbydns.c, libnetworking/libc/gethostbyht.c, libnetworking/libc/gethostnamadr.c, libnetworking/libc/getnetbyht.c, libnetworking/libc/getnetnamadr.c, libnetworking/libc/inet_addr.c, libnetworking/libc/linkaddr.c, libnetworking/libc/map_v4v6.c, libnetworking/libc/ns_print.c, libnetworking/libc/ns_ttl.c, libnetworking/libc/nsap_addr.c, libnetworking/libc/rcmd.c, libnetworking/libc/res_debug.c, libnetworking/libc/res_mkupdate.c, libnetworking/libc/res_query.c, libnetworking/libc/res_send.c, libnetworking/libc/res_update.c, libnetworking/net/radix.c, libnetworking/rtems/mkrootfs.c, librpc/src/rpc/clnt_perror.c, librpc/src/rpc/svc.c, score/macros/rtems/score/chain.inl, score/src/objectidtoname.c: Too much was accidentally committed -- revert.
* 2004-03-05 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2004-03-052-19/+48
| | | | | | | | | | | | | | | | | | | | | * libblock/src/bdbuf.c, libblock/src/ramdisk.c, libcsupport/src/newlibc.c, libcsupport/src/sync.c, libmisc/cpuuse/cpuuse.c, libmisc/monitor/mon-symbols.c, libmisc/shell/cmds.c, libmisc/shell/shell.c, libnetworking/kern/kern_sysctl.c, libnetworking/lib/ftpfs.c, libnetworking/lib/tftpDriver.c, libnetworking/libc/gethostbydns.c, libnetworking/libc/gethostbyht.c, libnetworking/libc/gethostnamadr.c, libnetworking/libc/getnetbyht.c, libnetworking/libc/getnetnamadr.c, libnetworking/libc/inet_addr.c, libnetworking/libc/linkaddr.c, libnetworking/libc/map_v4v6.c, libnetworking/libc/ns_print.c, libnetworking/libc/ns_ttl.c, libnetworking/libc/nsap_addr.c, libnetworking/libc/rcmd.c, libnetworking/libc/res_debug.c, libnetworking/libc/res_mkupdate.c, libnetworking/libc/res_query.c, libnetworking/libc/res_send.c, libnetworking/libc/res_update.c, libnetworking/net/radix.c, libnetworking/rtems/mkrootfs.c, librpc/src/rpc/clnt_perror.c, librpc/src/rpc/rtems_rpc.c, librpc/src/rpc/svc.c, sapi/include/confdefs.h, score/macros/rtems/score/chain.inl, score/src/objectidtoname.c:
* 2003-11-26 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2003-11-261-0/+28
| | | | | | PR 524/filesystem * src/newlibc.c: Address 1K buffer leak from incomplete cleanup of newlib reentrancy handler.
* 2003-11-26 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2003-11-261-11/+17
| | | | | | | 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 <jennifer@OARcorp.com>Jennifer Averett2003-11-253-0/+37
| | | | | | 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-20 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2003-11-201-5/+0
| | | | | * src/config.h: Remove. * src/Makefile.am: AM_CPPFLAGS += -I$(top_builddir).
* 2003-10-22 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2003-10-221-0/+48
| | | | | | 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 <ptorre@zetron.com>Joel Sherrill2003-10-021-31/+52
| | | | | | 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 <strauman@slac.stanford.edu>Joel Sherrill2003-09-261-0/+1
| | | | | | | 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 <corsepiu@faw.uni-ulm.de>Ralf Corsepius2003-09-151-2/+2
| | | | | | 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 <corsepiu@faw.uni-ulm.de>Ralf Corsepius2003-09-131-5/+1
| | | | | * src/sync.c: Don't undef __STRICT_ANSI__. Use struct _reent (struct reent doesn't exist)
* 2003-09-13 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2003-09-131-4/+0
| | | | | PR 486/rtems * src/newlib.c: Unconditionally include <stdio.h>
* 2003-09-04 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2003-09-0477-77/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 <joel@OARcorp.com>Joel Sherrill2003-09-041-1/+6
| | | | | | | 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 <joel@OARcorp.com>Joel Sherrill2003-09-021-1/+1
| | | | * src/open.c: Fix typo.
* 2003-09-02 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2003-09-021-1/+0
| | | | * src/malloc.c: Remove test define left in.
* 2003-09-02 Ilya Alexeev <ilya@continuum.ru>Joel Sherrill2003-09-021-0/+2
| | | | | PR 472/filesystem src/malloc.c: Need to include apimutex.h when MALLOC_STATS is defined.
* Remove bogus file src/listRalf Corsepius2003-08-181-11/+0
|
* 2003-08-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2003-08-1813-21/+427
| | | | | | | | | | | | | | | | | 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 <joel@OARcorp.com>Joel Sherrill2003-08-141-0/+69
| | | | | * Makefile.am: Add fileio to list of interactive tests. * src/sync.c: New file.
* 2003-08-05 Till Strauman <strauman@slac.stanford.edu>Jennifer Averett2003-08-051-0/+6
| | | | | PR 442/filesystem * src/open.c: file never closed if ftruncate() fails in open()
* 2003-07-08 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2003-07-081-0/+1
| | | | | PR 419/rtems * src/termios.c: Removed warning.
* 2003-07-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2003-07-081-0/+5
| | | | | | | * 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.
* Patch by Chris Johns <cjohns@cybertec.com.au> adding the ↵Chris Johns2003-07-021-7/+19
| | | | rtems_termios_bufsize call.
* 2003-04-17 Thomas Doerfler <Thomas.Doerfler@imd-systems.de>Joel Sherrill2003-05-261-1/+4
| | | | | | | | 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.
* Merger from rtems-4-6-branch.Ralf Corsepius2003-04-171-2/+2
|
* 2003-04-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2003-04-161-1/+5
| | | | | | PR 389/rtems * src/no_posix.c: Correct _kill_r() prototype and make it conditional on newlib.
* 2003-04-03 Eri Valette <eric.valette@free.fr>Joel Sherrill2003-04-031-1/+1
| | | | | | 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.
* Merger from rtems-4-6-branch.Ralf Corsepius2003-03-252-0/+90
|
* Merger from rtems-4-6-branch.Ralf Corsepius2003-02-281-1/+3
|
* Patch against RTEMS-ss-20030128Joel Sherrill2003-02-202-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* 2003-02-20 Wolfram Wadepohl <W.Wadepohl@indumat.de>Joel Sherrill2003-02-201-1/+1
| | | | | | 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-05 Till Straumann <strauman@slac.stanford.edu>Joel Sherrill2003-02-051-5/+39
| | | | | PR 340/filesystem * src/fcntl.c: Add missing _fcntl_r assumed to exist by newlib.
* 2003-02-03 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2003-02-031-1/+1
| | | | | | PR 338/filesystem * src/unixlibc.c: Side-effect of fixing reentrancy problem with rtems_io_lookup_name() (API change).
* 2003-02-03 Till Straumann <strauman@slac.stanford.edu>Joel Sherrill2003-02-031-4/+7
| | | | | PR 339/filesystem * src/chroot.c: Fix violation of FS node object copy semantics.
* 2003-01-03 Till Straumann <strauman@slac.stanford.edu>Jennifer Averett2003-01-033-32/+125
| | | | | * ChangeLog, base_fs.c, getpwent.c, privateenv.c Per PR303, Fix violation of node_access copy syemantics
* 2002-12-26 Till Straumann <strauman@slac.stanford.eduJennifer Averett2002-12-261-2/+18
| | | | * src/fchdir.c - PR302 fix violation of FS node object copy semantics
* 2002-12-06 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-12-061-1/+2
| | | | | * src/malloc.c: Fixed code that incorrected did a disable dispatch instead of locking and unlocking the allocator mutex.
* 2002-12-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2002-12-061-11/+21
| | | | | * configure.ac: Add various checks to enhance portability. * src/termios.c: Reflect changes to configure.ac.
* 2002-11-07 <strauman@slac.stanford.edu>Joel Sherrill2002-11-111-1/+1
| | | | * src/mount.c: Per PR297, correct fs_mountme failure paths.
* 2002-11-07 <strauman@slac.stanford.edu>Jennifer Averett2002-11-071-5/+12
| | | | | * src/mount.c: Per PR297, correct fs_mountme failure paths.
* 2002-10-31 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-10-312-1/+3
| | | | | | * src/mallocfreespace.c: Corrected sense of status check to match change inside RTEMS. * src/newlibc.c: Removed warning.
* Add vprintk function for kernel printing from routinesEric Norum2002-10-301-4/+11
| | | | which have already obtained the va_list pointer.
* 2002-10-24 <strauman@slac.stanford.edu>Jennifer Averett2002-10-241-4/+22
| | | | | * src/eval.c: Per PR293, added freenode calls for evaluate link failures.
* 2002-10-23 <strauman@slac.stanford.edu>Jennifer Averett2002-10-232-2/+10
| | | | | * src/mount.c per PR290, add check for ops->node_type_h * src/mknod.c per PR291, remove erroneous call to freenod
* 2002-10-02 Eric Norum <eric.norum@usask.ca>Joel Sherrill2002-10-022-306/+326
| | | | | | | * 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.