| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
PR 411/filesystem
* src/imfs/imfs_unlink.c: Fix bug where renaming a memfile and
then unlinking it causes a memory leak.
|
|
|
|
|
|
|
|
|
|
|
| |
PR 367/filesystem
* src/dosfs/Makefile.am, src/dosfs/fat.c, src/dosfs/fat.h,
src/dosfs/fat_fat_operations.c, src/dosfs/fat_file.c,
src/dosfs/msdos.h, src/dosfs/msdos_dir.c: Some bugs were still
present in the DOSFS implementation:
- FAT12 did not work properly on Big-Endian machines
- Some synchronization and error handling problems were present
- Some legal codings for EOC were not recognized
|
| |
|
|
|
|
| |
* configure.ac: AM_INIT_AUTOMAKE([1.7.2]).
|
|
|
|
| |
* configure.ac: AC_PREREQ(2.57).
|
|
|
|
|
|
| |
PR 338/filesystem
* src/imfs/ioman.c: Fix reentrancy problem with
rtems_io_lookup_name() (API change).
|
|
|
|
|
| |
* src/dosfs/msdos_initsupp.c: Specify inherited priority as 0 since this
is a FIFO queuing semaphore.
|
|
|
|
|
| |
* src/imfs/Makefile.am: Eliminate C_O_FILES.
* src/dosfs/Makefile.am: Ditto.
|
|
|
|
|
| |
* src/dosfs/fat.h, src/dosfs/msdos.h: Added casts to remove warnings
on 16 bit targets like the h8300.
|
|
|
|
| |
* configure.ac: Cosmetical fixes.
|
|
|
|
| |
* configure.ac: Fix package name.
|
|
|
|
| |
* configure.ac: Add nostdinc to AM_INIT_AUTOMAKE.
|
|
|
|
|
|
| |
* .cvsignore: Reformat.
Add autom4te*cache.
Remove autom4te.cache.
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
| |
* wrapup/Makefile.am: Remove.
* wrapup/.cvsignore: Remove.
* Makefile.am: Remove wrapup SUBDIR.
* configure.ac: Remove wrapup/Makefile.
|
|
|
|
|
| |
* src/dosfs/Makefile.am: Use .$(OBJEXT) instead of .o.
* src/src/imfs/Makefile.am: Ditto.
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
* configure.ac: RTEMS_TOP(../..).
|
|
|
|
| |
* configure.ac: Remove RTEMS_PROJECT_ROOT.
|
|
|
|
|
| |
* configure.ac: Use AC_CONFIG_AUX_DIR(../..).
Add AC_PROG_RANLIB.
|
|
|
|
| |
* wrapup/Makefile.am: Don't preinstall libfs.a.
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
* 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>.
|
|
|
|
|
| |
* src/dosfs/Makefile.am: Per PR129 do not install as many files
to the $(includedir).
|
|
|
|
|
| |
* src/dosfs/fat.h: Include <string.h>.
Remove DBG1 and DBG2 (unused).
|
|
|
|
|
| |
* Per PR169.
* src/dosfs/config.h.in, src/dosfs/stamp-h2.in: Removed from CVS.
|
|
|
|
|
|
| |
* 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 ..).
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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../.. .
|
|
|
|
|
|
| |
Reported and tracked as PR130.
* src/dosfs/Makefile.am: Reworked, Disable dosfs for UNIX.
* wrapup/Makefile.am: Disable dosfs for UNIX.
|
|
|
|
| |
* src/imfs/.cvsignore: Added stamp-h1.in
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
* 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>.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
* wrapup/Makefile.am: Remove HAS_IMFS.
|
|
|
|
| |
* src/imfs/Makefile.am: Cleanup.
|
|
|
|
|
| |
Reported by Ibragimov Ilya <ibr@oktet.ru> and tracked as PR49.
* src/imfs/imfs_directory.c: Do not calculate the offset twice.
|
|
|
|
|
| |
* src/imfs/imfs_load_tar.c: Minor modification so this will
compile with gcc-2.95.3 with the arguments "-m5200 -O4".
|
|
|
|
|
| |
* imfs/imfs_load_tar.c: Changed the code around to remove an
internal compiler error on the Coldfire target.
|
|
|
|
|
| |
* .cvsignore: Add autom4te.cache for autoconf > 2.52.
* configure.in: Remove.
|
|
|
|
|
|
| |
* .cvsignore: Add autom4te.cache for autoconf > 2.52.
* configure.in: Remove.
* configure.ac: New file, generated from configure.in by autoupdate.
|
|
|
|
|
| |
* src/imfs/imfs_getchild.c: Correct length of static string
as reported by Ibragimov Ilya <ibr@oktet.ru>.
|
|
|
|
| |
* src/imfs/Makefile.am: Use 'PREINSTALL_FILES ='.
|
|
|
|
|
| |
* src/imfs/Makefile.am: Revamp INCLUDES handling to make automake-1.5
happy.
|
|
|
|
|
| |
* src/imfs/imfs_eval.c: The CD_UP problem in imfs_eval has been
touched. The order of the questions is the key.
|
|
|
|
|
| |
* src/imfs/deviceio.c: Make sure errno gets set to reflect
the status from the driver.
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
* configure.in: Add [-ansi -fasm] to RTEMS_PROG_CC_FOR_TARGET.
|