Commit Graph

597 Commits

Author SHA1 Message Date
Ralf Corsepius
f8cb04a54a 2002-10-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* .cvsignore: Reformat.
	Add autom4te*cache.
	Remove autom4te.cache.
2002-10-21 12:04:36 +00:00
Joel Sherrill
2b30225a64 2002-10-02 Jennifer Averett <jennifer@OARcorp.com>
* src/imfs/memfile.c: Fixed case where last close of unlinked file
	did not remove the resources associated with that file.  Reported
	by Till Straumann <strauman@slac.stanford.edu> on the mailing list.
2002-10-02 17:42:39 +00:00
Joel Sherrill
d32359a778 2002-09-14 Joel Sherrill <joel@OARcorp.com>
* src/dosfs/fat.c, src/imfs/deviceio.c, src/imfs/imfs.h,
	src/imfs/imfs_directory.c, src/imfs/imfs_fchmod.c,
	src/imfs/memfile.c: Eliminated warnings.  A lot of this focus
	was on changing read and write entry points to return ssize_t
	as read(2) and write(2) now do.
2002-09-14 21:01:39 +00:00
Ralf Corsepius
e6cf7a3b6f 2002-07-31 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* wrapup/Makefile.am: Remove.
	* wrapup/.cvsignore: Remove.
	* Makefile.am: Remove wrapup SUBDIR.
	* configure.ac: Remove wrapup/Makefile.
2002-07-31 05:27:07 +00:00
Ralf Corsepius
239cf33037 2002-07-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* src/dosfs/Makefile.am: Use .$(OBJEXT) instead of .o.
	* src/src/imfs/Makefile.am: Ditto.
2002-07-22 13:44:42 +00:00
Ralf Corsepius
3e83325e56 2002-07-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* src/dosfs/Makefile.am: Use AM_CPPFLAGS instead of INCLUDES and
	AM_CFLAGS. Eliminate LIBNAME.
	* src/imfs/Makefile.am: Use AM_CPPFLAGS instead of INCLUDES and
	AM_CFLAGS. Eliminate LIBNAME.
	* wrapup/Makefile.am: Eliminate LIBNAME.
2002-07-22 06:35:23 +00:00
Ralf Corsepius
705a070160 2002-07-05 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: RTEMS_TOP(../..).
2002-07-05 15:55:09 +00:00
Ralf Corsepius
8c746fe197 2002-07-01 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Remove RTEMS_PROJECT_ROOT.
2002-07-01 09:59:55 +00:00
Ralf Corsepius
da8f88a23e 2002-06-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Use AC_CONFIG_AUX_DIR(../..).
	Add AC_PROG_RANLIB.
2002-06-27 04:00:20 +00:00
Ralf Corsepius
8e7d260c26 2002-06-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* wrapup/Makefile.am: Don't preinstall libfs.a.
2002-06-26 15:28:42 +00:00
Ralf Corsepius
7077c8778b 2002-06-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* src/dosfs/Makefile.am: Include $(top_srcdir)/../automake/*.am.
	* src/Makefile.am: Include $(top_srcdir)/../automake/*.am.
	* src/imfs/Makefile.am: Include $(top_srcdir)/../automake/*.am.
	* Makefile.am: Include $(top_srcdir)/../automake/*.am.
	Use ../aclocal.
	* wrapup/Makefile.am: Include $(top_srcdir)/../automake/*.am.
2002-06-17 09:10:53 +00:00
Joel Sherrill
47ef863af4 2002-05-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
Move from c/src/libfs to c/src/exec/libfs
	* configure.ac: Reflect move.
	* Makefile.am: Ditto.
	* src/Makefile.am: Ditto.
	* src/dosfs/Makefile.am: Ditto.
	* src/imfs/Makefile.am: Ditto.
	* wrapup/Makefile.am: Ditto.
2002-05-28 17:21:17 +00:00
Joel Sherrill
c873f40be0 2002-04-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* src/imfs/imfs_getchild.c: include <string.h>.
	* src/imfs/imfs_gtkn.c: Include <string.h>.
	* src/imfs/ioman.c: Include <string.h>.
	* src/imfs/linearfile.c: Include <string.h>.
	* src/imfs/memfile.c: Include <string.h>.
2002-04-08 18:28:59 +00:00
Joel Sherrill
6940f50786 2001-04-04 Joel Sherrill <joel@OARcorp.com>
* src/dosfs/Makefile.am: Per PR129 do not install as many files
	to the $(includedir).
2002-04-04 22:17:14 +00:00
Joel Sherrill
aed1f02acb 2002-04-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* src/dosfs/fat.h: Include <string.h>.
	Remove DBG1 and DBG2 (unused).
2002-04-04 18:22:23 +00:00
Joel Sherrill
d0ad2b368b 2002-04-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Per PR169.
	* src/dosfs/config.h.in, src/dosfs/stamp-h2.in: Removed from CVS.
2002-04-04 12:18:21 +00:00
Joel Sherrill
9fff6bfac6 2002-03-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* src/dosfs/fat_file.c: Remove bsp.h.
	fat_file_write(.. const char*buf ..).
	* src/dosfs/fat_file.h: fat_file_write(.. const char*buf ..).
2002-03-28 13:52:49 +00:00
Joel Sherrill
05b8b60829 2002-03-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac:
	AC_INIT(package,_RTEMS_VERSION,_RTEMS_BUGS).
	AM_INIT_AUTOMAKE([no-define foreign 1.6]).
	* src/dosfs/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* src/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* src/imfs/Makefile.am: Remove AUTOMAKE_OPTIONS.
	* Makefile.am: Remove AUTOMAKE_OPTIONS.
	* wrapup/Makefile.am: Remove AUTOMAKE_OPTIONS.
2002-03-28 00:49:35 +00:00
Joel Sherrill
c31deebf76 2002-03-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
Addressing PR 140.
	* src/dosfs/config.h.in: Removed.
	* src/dosfs/stamp-h2.in: Removed.
	* .cvsignore: Add config.h*, stamp-h*.
	* configure.ac: Remove AC_SRC_DIR(.../dosfs.h).
	Remove AM_CONFIG_HEADER(src/dosfs/config.h).
	Remove AM_CONFIG_HEADER(src/imfs/config.h).
	Add AM_CONFIG_HEADER(config.h).
	* src/dosfs/Makefile.am: INCLUDES = -I../.. .
	* src/imfs/Makefile.am: INCLUDES = -I../.. .
2002-03-20 14:21:42 +00:00
Joel Sherrill
2de2bec841 2002-03-14 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
Reported and tracked as PR130.
	* src/dosfs/Makefile.am: Reworked, Disable dosfs for UNIX.
	* wrapup/Makefile.am: Disable dosfs for UNIX.
2002-03-15 18:55:09 +00:00
Joel Sherrill
f9d1afc056 2001-03-01 Joel Sherrill <joel@OARcorp.com>
* src/imfs/.cvsignore: Added stamp-h1.in
2002-03-01 16:17:53 +00:00
Joel Sherrill
f36a7bfcde 2002-02-28 Victor V. Vengerov <vvv@oktet.ru>
* DOS filesystem including FAT12, FAT16, and FAT32 support submitted.
	* src/dosfs, src/dosfs/Makefile.am, src/dosfs/stamp-h2.in,
	src/dosfs/config.h.in, src/dosfs/dosfs.h, src/dosfs/fat.c,
	src/dosfs/fat.h, src/dosfs/fat_fat_operations.c,
	src/dosfs/fat_fat_operations.h, src/dosfs/fat_file.c,
	src/dosfs/fat_file.h, src/dosfs/msdos.h, src/dosfs/msdos_create.c,
	src/dosfs/msdos_dir.c, src/dosfs/msdos_eval.c, src/dosfs/msdos_file.c,
	src/dosfs/msdos_free.c, src/dosfs/msdos_fsunmount.c,
	src/dosfs/msdos_handlers_dir.c, src/dosfs/msdos_handlers_file.c,
	src/dosfs/msdos_init.c, src/dosfs/msdos_initsupp.c,
	src/dosfs/msdos_misc.c, src/dosfs/msdos_mknod.c,
	src/dosfs/msdos_node_type.c, src/dosfs/.cvsignore: New files.
	* configure.ac, src/Makefile.am, wrapup/Makefile.am: Modified to
	reflect addition.
2002-02-28 20:43:50 +00:00
Joel Sherrill
74e0ba5d9f 2002-01-07 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* src/imfs/imfs_load_tar.c: Add include <sys/types.h>.
	Add include <sys/stat.h>. Add include <fcntl.h>.
	* src/imfs/imfs_rmnod.c: Add include <stdlib.h>.
2002-01-08 12:05:36 +00:00
Joel Sherrill
b2709481ec 2002-01-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* src/imfs/imfs_eval.c: Include <rtems/seterr.h>.
	Apply rtems_set_errno_and_return_minus_one.
	* src/imfs/memfile.c: Include <rtems/seterr.h>.
	Apply rtems_set_errno_and_return_minus_one.
	* src/imfs/imfs_readlink.c: Include <rtems/seterr.h>.
	Apply rtems_set_errno_and_return_minus_one.
	* src/imfs/imfs_unlink.c: Include <rtems/seterr.h>.
	Apply rtems_set_errno_and_return_minus_one.
	* src/imfs/imfs_link.c: Include <rtems/seterr.h>.
	Apply rtems_set_errno_and_return_minus_one.
	* src/imfs/imfs_chown.c: Include <rtems/seterr.h>.
	Apply rtems_set_errno_and_return_minus_one.
	* src/imfs/ioman.c: Include <rtems/seterr.h>.
	Apply rtems_set_errno_and_return_minus_one.
	* src/imfs/imfs_mount.c: Include <rtems/seterr.h>.
	Apply rtems_set_errno_and_return_minus_one.
	* src/imfs/imfs_directory.c: Include <rtems/seterr.h>.
	Apply rtems_set_errno_and_return_minus_one.
	* src/imfs/imfs_stat.c: Include <rtems/seterr.h>.
	Apply rtems_set_errno_and_return_minus_one.
	* src/imfs/imfs_fchmod.c: Include <rtems/seterr.h>.
	Apply rtems_set_errno_and_return_minus_one.
	* src/imfs/imfs_symlink.c: Include <rtems/seterr.h>.
	Apply rtems_set_errno_and_return_minus_one.
	* src/imfs/imfs_mknod.c: Include <rtems/seterr.h>.
	Apply rtems_set_errno_and_return_minus_one.
	* src/imfs/linearfile.c: Include <rtems/seterr.h>.
	Apply rtems_set_errno_and_return_minus_one.
	* src/imfs/imfs_unmount.c: Include <rtems/seterr.h>.
	Apply rtems_set_errno_and_return_minus_one.
	* src/imfs/imfs.h: Apply rtems_set_errno_and_return_minus_one.
	Comment out increment_and_check_linkcounts.
2002-01-04 18:30:58 +00:00
Joel Sherrill
c1b61c5906 2001-11-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* wrapup/Makefile.am: Remove HAS_IMFS.
2001-11-28 00:24:29 +00:00
Joel Sherrill
f667aaecf0 2001-11-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* src/imfs/Makefile.am: Cleanup.
2001-11-26 14:34:09 +00:00
Joel Sherrill
47901d84b3 2001-11-07 Jennifer Averett <jennifer@OARcorp.com>
Reported by Ibragimov Ilya <ibr@oktet.ru> and tracked as PR49.
	*  src/imfs/imfs_directory.c: Do not calculate the offset twice.
2001-11-08 00:24:55 +00:00
Joel Sherrill
fa2f979000 2001-10-26 Victor V. Vengerov <vvv@oktet.ru>
* src/imfs/imfs_load_tar.c: Minor modification so this will
	compile with gcc-2.95.3 with the arguments "-m5200 -O4".
2001-10-26 19:40:07 +00:00
Joel Sherrill
8670008cb1 2001-10-16 Chris Johns <ccj@acm.org>
* imfs/imfs_load_tar.c: Changed the code around to remove an
	internal compiler error on the Coldfire target.
2001-10-16 19:06:11 +00:00
Joel Sherrill
d7aecdc8f8 2001-10-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* .cvsignore: Add autom4te.cache for autoconf > 2.52.
	* configure.in: Remove.
2001-10-12 18:47:00 +00:00
Joel Sherrill
df25c9989b 2001-10-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* .cvsignore: Add autom4te.cache for autoconf > 2.52.
	* configure.in: Remove.
	* configure.ac: New file, generated from configure.in by autoupdate.
2001-10-11 19:36:23 +00:00
Joel Sherrill
d9b0b86670 2001-10-10 Joel Sherrill <joel@OARcorp.com>
* src/imfs/imfs_getchild.c: Correct length of static string
	as reported by Ibragimov Ilya <ibr@oktet.ru>.
2001-10-11 13:16:24 +00:00
Joel Sherrill
52b3ff6819 2001-09-28 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* src/imfs/Makefile.am: Use 'PREINSTALL_FILES ='.
2001-09-28 13:34:57 +00:00
Joel Sherrill
352028078c 2001-09-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* src/imfs/Makefile.am: Revamp INCLUDES handling to make automake-1.5
	happy.
2001-09-24 18:29:17 +00:00
Joel Sherrill
b6a2d2fa5d 2001-08-09 Fernando-Ruiz Casas <correo@fernando-ruiz.com>
* src/imfs/imfs_eval.c: The CD_UP problem in imfs_eval has been
	touched. The order of the questions is the key.
2001-08-09 22:09:36 +00:00
Joel Sherrill
b8c8cab3fc 2001-07-06 Thomas Doerfler <Thomas.Doerfler@imd-systems.de>
* src/imfs/deviceio.c: Make sure errno gets set to reflect
	the status from the driver.
2001-07-06 21:48:16 +00:00
Joel Sherrill
e807db0033 2001-05-25 Joel Sherrill <joel@OARcorp.com>
* src/imfs/imfs_initsupp.c: Create the root node with the
	desired permissions.  Nodes should be created with the right
	permissions because chmod() is not supported by the miniIMFS
	so changing after creation is not possible.
2001-05-25 13:47:47 +00:00
Joel Sherrill
53c3a2c6dc 2001-04-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.in: Add [-ansi -fasm] to RTEMS_PROG_CC_FOR_TARGET.
2001-05-07 13:16:57 +00:00
Joel Sherrill
eb22ebe0ec 2001-04-24 Joel Sherrill <joel@OARcorp.com>
* src/imfs/memfile.c (memfile_open): Did not set iop->size
	and thus the value was incorrect.  Before this field was cleared,
	this resulted in the value from the last time that IOP was used
	being still in place.  Discovered by  Andrew Bythell
	<abythell@nortelnetworks.com>.
2001-04-24 23:06:50 +00:00
Joel Sherrill
5346276237 2001-04-20 Joel Sherrill <joel@OARcorp.com>
* src/imfs/imfs_debug.c (IMFS_print_jnode): Modified to print
	only information that does not vary based on target or memory
	configuration.  The old prints are still there in case they
	are needed in the future to debug.  Printing target dependent
	addresses makes the test output vary by target unnecessarily.
2001-04-20 13:27:24 +00:00
Joel Sherrill
d79ef179dc 2001-03-23 Joel Sherrill <joel@OARcorp.com>
* src/imfs/memfile.c: Reapply fix from bug report from
	Jose Sturniolo <jsturnio@nec.com.ar> where NULL pointer
	was dereferenced when freeing a triply indirect file.
	The fix was applied to the 4.5 release branch and not
	the development branch.
2001-03-23 14:02:02 +00:00
Joel Sherrill
8b5d0db30b 2001-02-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* src/imfs/Makefile.am: Apply include_*HEADERS instead of H_FILES.
2001-02-05 18:24:14 +00:00
Joel Sherrill
d6b1d73bc7 2001-01-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.in: Add src/imfs/config.h
	* src/imfs/Makefile.am: Add INCLUDES += -I. to pickup config.h
	* src/imfs/.cvsignore: Add config.h and stamp-h
	* src/imfs/*.c: Add config.h support.
2001-01-22 14:05:14 +00:00
Joel Sherrill
d19415873f 2001-01-12 Jake Janovetz <janovetz@uiuc.edu>
* src/imfs/imfs.h, src/imfs/imfs_creat.c, src/imfs/imfs_debug.c,
	src/imfs/imfs_eval.c, src/imfs/imfs_fchmod.c,
	src/imfs/imfs_handlers_memfile.c, src/imfs/imfs_init.c,
	src/imfs/imfs_initsupp.c, src/imfs/imfs_stat.c, src/imfs/memfile.c,
	src/imfs/miniimfs_init.c: Final developmental update to "tarfs".
	When rtems_tarfs_load() is called, it checks the permissions
	on each file.  If there is write permission, it just creates a
	standard file using "creat()" and therefore, uses the IMFS MEMORY_FILE.
	If there is no write permission, it creates a LINEAR_FILE node
	with the appropriate properties.  If the permission is ever changed
	to writeable, IMFS_fchmod converts it to a regular memory file.
2001-01-12 13:44:12 +00:00
Joel Sherrill
0ef748fb45 2000-12-12 Jake Janovetz <janovetz@uiuc.edu>
*  src/imfs/linearfile.c, src/imfs/imfs_load_tar.c: New files.
	* src/imfs/Makefile.am, src/imfs/imfs.h,
	src/imfs/imfs_creat.c, src/imfs/imfs_debug.c,
	src/imfs/imfs_eval.c, src/imfs/imfs_handlers_memfile.c,
	src/imfs/imfs_init.c, src/imfs/imfs_initsupp.c,
	src/imfs/imfs_stat.c, src/imfs/miniimfs_init.c: Added "tarfs".
	This is not really a tar filesystem.  It is a way to load a tar
	image into the IMFS but actually leave bulky file contents in the
	original tar image.  It essentially adds the linear file type and
	associated support and a loader routine.
2000-12-13 17:53:55 +00:00
Joel Sherrill
6b5519a4f3 2000-11-28 Joel Sherrill <joel@OARcorp.com>
* src/imfs/memfile.c: Bug report from Sturniolo Jose
	<jsturnio@nec.com.ar> where NULL pointer was dereferenced.
2000-11-28 21:53:48 +00:00
Jennifer Averett
13e47e2e6b 2000-11-17 Jennifer Averret <jennifer@OARcorp.com>
* src/imfs/imfs_eval.c: Always return imaginary node at mount points.
2000-11-17 18:46:03 +00:00
Joel Sherrill
feead22618 2000-11-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Use ... instead of RTEMS_TOPdir in ACLOCAL_AMFLAGS.
2000-11-09 16:43:05 +00:00
Joel Sherrill
a314d3b497 2000-11-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Switch to ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal.
2000-11-02 15:49:06 +00:00
Joel Sherrill
c058578355 2000-11-01 Joel Sherrill <joel@OARcorp.com>
* src/imfs/Makefile.am, src/imfs/deviceio.c, src/imfs/imfs_chown.c,
	src/imfs/imfs_config.c, src/imfs/imfs_creat.c, src/imfs/imfs_debug.c,
	src/imfs/imfs_directory.c, src/imfs/imfs_eval.c, src/imfs/imfs_fchmod.c,
	src/imfs/imfs_free.c, src/imfs/imfs_fsunmount.c, src/imfs/imfs_gtkn.c,
	src/imfs/imfs_init.c, src/imfs/imfs_initsupp.c, src/imfs/imfs_link.c,
	src/imfs/imfs_mknod.c, src/imfs/imfs_mount.c, src/imfs/imfs_readlink.c,
	src/imfs/imfs_rmnod.c, src/imfs/imfs_stat.c, src/imfs/imfs_symlink.c,
	src/imfs/imfs_unixstub.c, src/imfs/imfs_unlink.c,
	src/imfs/imfs_unmount.c, src/imfs/imfs_utime.c, src/imfs/ioman.c,
	src/imfs/memfile.c, src/imfs/miniimfs_init.c:
	assoc.h, error.h, libio_.h, libio.h, and libcsupport.h moved
	from libc to lib/include/rtems and now must be referenced as
	<rtems/XXX.h>.  Now we do not have to reach up and over to
	libc to pick them up.
2000-11-01 21:02:46 +00:00