Joel Sherrill
d9c3805a73
2003-09-04 Joel Sherrill <joel@OARcorp.com>
...
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-04 13:02:57 +00:00
Joel Sherrill
fdb0378bf0
2003-09-02 Joel Sherrill <joel@OARcorp.com>
...
* src/open.c: Fix typo.
2003-09-02 21:03:26 +00:00
Joel Sherrill
a561f47be8
2003-09-02 Joel Sherrill <joel@OARcorp.com>
...
* src/malloc.c: Remove test define left in.
2003-09-02 21:02:29 +00:00
Joel Sherrill
d5031cbbca
2003-09-02 Ilya Alexeev <ilya@continuum.ru>
...
PR 472/filesystem
src/malloc.c: Need to include apimutex.h when MALLOC_STATS is defined.
2003-09-02 21:01:21 +00:00
Ralf Corsepius
34e0a9f6d5
Remove bogus file src/list
2003-08-18 07:32:17 +00:00
Ralf Corsepius
c5f52e9725
2003-08-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
...
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-18 07:31:32 +00:00
Joel Sherrill
bed55af1ee
2003-08-14 Joel Sherrill <joel@OARcorp.com>
...
* Makefile.am: Add fileio to list of interactive tests.
* src/sync.c: New file.
2003-08-14 20:00:46 +00:00
Jennifer Averett
1d4e666008
2003-08-05 Till Strauman <strauman@slac.stanford.edu>
...
PR 442/filesystem
* src/open.c: file never closed if ftruncate() fails in open()
2003-08-05 15:50:11 +00:00
Ralf Corsepius
fff840e493
Cleanup
2003-07-08 17:33:43 +00:00
Joel Sherrill
b5825ab0d1
2003-07-08 Joel Sherrill <joel@OARcorp.com>
...
PR 419/rtems
* src/termios.c: Removed warning.
2003-07-08 15:29:08 +00:00
Ralf Corsepius
44c889a170
2003-07-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
...
* 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-08 15:25:04 +00:00
Joel Sherrill
8ebf2e4df5
Fixed formatting.
2003-07-02 16:26:53 +00:00
Chris Johns
1f5d2baf06
Patch by Chris Johns <cjohns@cybertec.com.au> adding the rtems_termios_bufsize call.
2003-07-02 14:20:36 +00:00
Ralf Corsepius
3f4876a5d1
Merger from rtems-4.6-branch
2003-05-30 11:49:08 +00:00
Ralf Corsepius
fe661e4169
2003-05-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
...
PR 409:
* include/stdint.h: Include rtems/stdint.h
2003-05-27 16:33:01 +00:00
Joel Sherrill
35e6bf7f8e
2003-04-17 Thomas Doerfler <Thomas.Doerfler@imd-systems.de>
...
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-05-26 15:57:04 +00:00
Ralf Corsepius
ccb1a6ecbb
Merger from rtems-4-6-branch.
2003-04-17 10:55:40 +00:00
Joel Sherrill
6020b4f9ce
2003-04-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
...
PR 389/rtems
* src/no_posix.c: Correct _kill_r() prototype and make it conditional
on newlib.
2003-04-16 19:41:01 +00:00
Joel Sherrill
10a82e7094
2003-04-03 Eri Valette <eric.valette@free.fr>
...
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-04-03 23:01:12 +00:00
Ralf Corsepius
34b5bdb626
Merger from rtems-4-6-branch.
2003-03-25 20:48:35 +00:00
Ralf Corsepius
9b353a5013
Merger from rtems-4-6-branch.
2003-03-11 08:47:30 +00:00
Ralf Corsepius
83eda9b994
Merger from rtems-4-6-branch.
2003-02-28 08:06:58 +00:00
Ralf Corsepius
f0daa4c4eb
Remove corrupted ChangeLog entry.
2003-02-28 08:01:39 +00:00
Joel Sherrill
8860f103a5
Patch against RTEMS-ss-20030128
...
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 22:09:50 +00:00
Joel Sherrill
2932830be7
2003-02-20 Wolfram Wadepohl <W.Wadepohl@indumat.de>
...
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-20 20:45:32 +00:00
Ralf Corsepius
ccd81b60c2
2003-02-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
...
* configure.ac: AM_INIT_AUTOMAKE([1.7.2]).
2003-02-11 11:47:49 +00:00
Ralf Corsepius
9b5c258556
2003-02-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
...
* configure.ac: AC_PREREQ(2.57).
2003-02-11 11:11:33 +00:00
Joel Sherrill
2a09fb6ebf
2003-02-06 Joel Sherrill <joel@OARcorp.com>
...
* include/sys/ioccom.h: Include <sys/types.h> not <machine/types.h> so
Linux port builds.
2003-02-06 15:01:59 +00:00
Joel Sherrill
f4f341bb9c
2003-02-05 Till Straumann <strauman@slac.stanford.edu>
...
PR 340/filesystem
* src/fcntl.c: Add missing _fcntl_r assumed to exist by newlib.
2003-02-05 21:23:49 +00:00
Joel Sherrill
787449a9c8
2003-02-05 Joel Sherrill <joel@OARcorp.com>
...
* include/sys/ioccom.h: Fix so not using internal RTEMS types in libc
code.
2003-02-05 21:12:03 +00:00
Joel Sherrill
97aaa2a20a
2003-02-03 Joel Sherrill <joel@OARcorp.com>
...
PR 338/filesystem
* src/unixlibc.c: Side-effect of fixing reentrancy problem with
rtems_io_lookup_name() (API change).
2003-02-03 23:57:33 +00:00
Joel Sherrill
d90b74e07b
2003-02-03 Till Straumann <strauman@slac.stanford.edu>
...
PR 339/filesystem
* src/chroot.c: Fix violation of FS node object copy semantics.
2003-02-03 22:00:30 +00:00
Ralf Corsepius
81df4984ff
2003-01-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
...
* Makefile.am: Eliminate OBJS.
2003-01-14 18:41:29 +00:00
Joel Sherrill
0b178f0436
2003-01-10 Joel Sherrill <joel@OARcorp.com>
...
* include/rtems/libio.h: Rename __dev_t to __rtems_dev_t to avoid
conflict with GNU/Linux header files.
2003-01-10 15:02:52 +00:00
Joel Sherrill
883129a3fd
2003-01-03 Till Straumann <strauman@slac.stanford.edu>
...
* 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.edu
* src/fchdir.c: PR302 fix violation of FS node object copy semantics.
2003-01-03 18:23:52 +00:00
Jennifer Averett
f6161c72d1
2003-01-03 Till Straumann <strauman@slac.stanford.edu>
...
* ChangeLog, base_fs.c, getpwent.c, privateenv.c
Per PR303, Fix violation of node_access copy syemantics
2003-01-03 18:14:09 +00:00
Jennifer Averett
4257974362
2002-12-26 Till Straumann <strauman@slac.stanford.edu
...
* src/fchdir.c - PR302 fix violation of FS node object copy semantics
2002-12-26 15:48:48 +00:00
Joel Sherrill
83333e9473
2002-12-06 Joel Sherrill <joel@OARcorp.com>
...
* src/malloc.c: Fixed code that incorrected did a disable dispatch
instead of locking and unlocking the allocator mutex.
2002-12-06 13:49:57 +00:00
Ralf Corsepius
c7078611fc
2002-12-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
...
* configure.ac: Add various checks to enhance portability.
* src/termios.c: Reflect changes to configure.ac.
2002-12-06 06:25:58 +00:00
Joel Sherrill
7e476f0279
2002-12-02 Joel Sherrill <joel@OARcorp.com>
...
* 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-12-02 19:13:26 +00:00
Ralf Corsepius
9d721178ee
2002-11-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
...
* configure.ac: Cosmetical fixes.
2002-11-19 22:37:21 +00:00
Ralf Corsepius
47c0220397
2002-11-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
...
* configure.ac: Fix package name.
2002-11-19 22:23:50 +00:00
Ralf Corsepius
6c39eca47a
2002-11-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
...
* 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 23:53:14 +00:00
Ralf Corsepius
f934a9d630
2002-11-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
...
* configure.ac: Remove -ansi -fasm.
Add checks to diagnose potential system header conflicts.
* Makefile.am: Unconditionally install sys/cdefs.h.
2002-11-18 02:36:06 +00:00
Joel Sherrill
4b5335229e
2002-11-07 <strauman@slac.stanford.edu>
...
* src/mount.c: Per PR297, correct fs_mountme failure paths.
2002-11-11 21:36:19 +00:00
Jennifer Averett
dae3dd1098
2002-11-07 <strauman@slac.stanford.edu>
...
* src/mount.c: Per PR297, correct fs_mountme failure
paths.
2002-11-07 15:45:09 +00:00
Joel Sherrill
b31106f629
2002-11-01 Joel Sherrill <joel@OARcorp.com>
...
* ChangeLog: Corrected.
2002-11-01 22:26:02 +00:00
Joel Sherrill
df4b9d6415
2002-10-31 Joel Sherrill <joel@OARcorp.com>
...
* src/mallocfreespace.c: Corrected sense of status check to
match change inside RTEMS.
* src/newlibc.c: Removed warning.
2002-10-31 20:16:34 +00:00
Eric Norum
108bab3ee7
Add vprintk function for kernel printing from routines
...
which have already obtained the va_list pointer.
2002-10-30 19:47:03 +00:00
Joel Sherrill
a1f10111da
2002-10-28 Joel Sherrill <joel@OARcorp.com>
...
* include/rtems/libio.h: Change rtems_filesystem_node_types_t from
enumeration to int to eliminate warnings when values are overridden.
2002-10-28 14:04:03 +00:00