Commit Graph

786 Commits

Author SHA1 Message Date
Joel Sherrill
4af849f763 2010-07-07 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/src/open.c: Formatting and improve comment.
2010-07-07 15:55:22 +00:00
Joel Sherrill
e23cc55a61 2010-07-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/src/getrusage.c: Formatting.
2010-07-06 01:15:44 +00:00
Joel Sherrill
c00b80c152 2010-07-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/src/getlogin.c: Formatting.  Add EFAULT.
	* libcsupport/src/termios.c: Formatting.
2010-07-05 21:31:56 +00:00
Joel Sherrill
71c012aff5 2010-07-04 Joel Sherrill <joel.sherrill@oarcorp.com>
* libblock/include/rtems/ide_part_table.h, libblock/src/bdbuf.c,
	libcsupport/src/__times.c, libcsupport/src/libio_init.c,
	libcsupport/src/mallocfreespace.c, libcsupport/src/mount-mgr.c,
	libcsupport/src/mount.c, libcsupport/src/rewinddir.c,
	libcsupport/src/seekdir.c, libcsupport/src/telldir.c,
	libcsupport/src/unmount.c, libfs/src/dosfs/fat.c,
	libfs/src/dosfs/fat_fat_operations.c, libfs/src/dosfs/msdos_create.c,
	libfs/src/dosfs/msdos_dir.c, libfs/src/dosfs/msdos_eval.c,
	libfs/src/dosfs/msdos_file.c, libfs/src/dosfs/msdos_format.c,
	libfs/src/dosfs/msdos_fsunmount.c, libfs/src/dosfs/msdos_initsupp.c,
	libfs/src/dosfs/msdos_rename.c, libmisc/cpuuse/cpuusagereport.c,
	libmisc/shell/vis.c, libmisc/stackchk/check.c, sapi/src/posixapi.c,
	telnetd/telnetd.c: Remove include of assert.h when it is not needed.
2010-07-04 14:53:47 +00:00
Joel Sherrill
b637dbbf21 2010-07-03 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/include/rtems/libio.h, libfs/src/defaults/default_read.c,
	libfs/src/defaults/default_readlink.c,
	libfs/src/rfs/rtems-rfs-rtems.c: Correct types and prototypes to
	eliminate warnings.
2010-07-03 19:13:25 +00:00
Joel Sherrill
0d923d9705 2010-07-01 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/src/_rename_r.c, libcsupport/src/getdents.c,
	libcsupport/src/unlink.c, libcsupport/src/utime.c,
	libcsupport/src/writev.c: Remove remaining checks for missing
	handlers.
2010-07-01 17:47:48 +00:00
Joel Sherrill
98b785e66c 2010-07-01 Vinu Rajashekhar <vinutheraj@gmail.com>
PR 1597/cpukit
	* libcsupport/Makefile.am, libcsupport/src/chown.c: Add lchown() and
	utimes().
	* libcsupport/src/lchown.c, libcsupport/src/utimes.c: New files.
2010-07-01 17:22:03 +00:00
Joel Sherrill
cfcdb5b218 2010-07-01 Vinu Rajashekhar <vinutheraj@gmail.com>
PR 1529/cpukit
	* utime.c: Change file access time and modified time to
	current time if pointer to struct utimbuf is NULL.
	* imfs_utime.c: Upon successful completion, imfs_utime() marks
	the time of the last file status change, st_ctime, to be updated.
2010-07-01 16:29:17 +00:00
Joel Sherrill
f56f8e298a 2010-07-01 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/src/rtems_memalign.c, score/include/rtems/score/heap.h:
	Remove stray references to malloc boundary.
2010-07-01 15:39:59 +00:00
Joel Sherrill
e72bc2981d 2010-07-01 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/src/getegid.c, libcsupport/src/gxx_wrappers.c,
	libcsupport/src/issetugid.c: Formatting and spacing.
2010-07-01 15:37:48 +00:00
Jennifer Averett
92119ed344 2010-07-01 Jennifer Averett <Jennifer.Averett@OARcorp.com>
* libcsupport/src/chdir.c, libcsupport/src/chmod.c,
	libcsupport/src/chown.c, libcsupport/src/close.c,
	libcsupport/src/eval.c, libcsupport/src/fchdir.c,
	libcsupport/src/fchmod.c, libcsupport/src/fchown.c,
	libcsupport/src/fcntl.c, libcsupport/src/fdatasync.c,
	libcsupport/src/freenode.c, libcsupport/src/fstat.c,
	libcsupport/src/fsync.c, libcsupport/src/ftruncate.c,
	libcsupport/src/ioctl.c, libcsupport/src/link.c,
	libcsupport/src/lseek.c, libcsupport/src/mknod.c,
	libcsupport/src/mount.c, libcsupport/src/open.c,
	libcsupport/src/read.c, libcsupport/src/readlink.c,
	libcsupport/src/readv.c, libcsupport/src/rmdir.c,
	libcsupport/src/stat.c, libcsupport/src/statvfs.c,
	libcsupport/src/symlink.c, libcsupport/src/unlink.c,
	libcsupport/src/unmount.c, libcsupport/src/write.c: Removed
	filesystem checks for NULL methods checks from the main posix
	rountines. These are now required to have at a miminum default
	routines in the tables.
2010-07-01 15:12:38 +00:00
Sebastian Huber
6c0fcd4a39 2010-07-01 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libcsupport/include/rtems/libio_.h: Removed
	rtems_filesystem_mount_table_control.
	* libcsupport/include/rtems/libio.h, libcsupport/src/mount-mgr.c,
	libcsupport/src/mount.c libcsupport/src/statvfs.c,
	libcsupport/src/unmount.c, libmisc/shell/main_mount.c: Documentation.
	Removed rtems_filesystem_mounts_first() and
	rtems_filesystem_mounts_next().  Added
	rtems_filesystem_mount_iterate().  Changed return type of
	rtems_filesystem_iterate().  Removed rtems_filesystem_nodes_equal().
2010-07-01 13:05:18 +00:00
Joel Sherrill
7c658feb2e 2010-06-30 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1472/cpukit
	* libcsupport/Makefile.am, libcsupport/include/rtems/malloc.h,
	libcsupport/src/free.c, libcsupport/src/malloc.c,
	libcsupport/src/malloc_initialize.c, libcsupport/src/realloc.c,
	libcsupport/src/rtems_memalign.c: Remove malloc boundary code. It has
	not been used since before 4.6 and is bitrotted.
	* libcsupport/src/malloc_boundary.c: Removed.
2010-06-30 15:36:48 +00:00
Jennifer Averett
6683a58d6e 2010-06-30 Jennifer.Averett <Jennifer.Averett@OARcorp.com>
* libcsupport/include/rtems/libio.h, libfs/Makefile.am: Added
	filesystem default mknod method.
	* libfs/src/defaults/default_mknod.c: New file.
2010-06-30 13:58:56 +00:00
Jennifer Averett
dace9ed18b 2010-06-29 Jennifer.Averett <Jennifer.Averett@OARcorp.com>
* libcsupport/include/rtems/libio.h, libfs/Makefile.am,
	libfs/src/defaults/default_chown.c,
	libfs/src/defaults/default_evalpath.c,
	libfs/src/defaults/default_freenode.c,
	libfs/src/defaults/default_fsmount.c,
	libfs/src/defaults/default_link.c,
	libfs/src/defaults/default_mount.c,
	libfs/src/defaults/default_rename.c,
	libfs/src/defaults/default_statvfs.c,
	libfs/src/defaults/default_symlink.c,
	libfs/src/defaults/default_unlink.c,
	libfs/src/defaults/default_utime.c, libfs/src/devfs/devfs_init.c,
	libfs/src/dosfs/msdos_init.c, libfs/src/imfs/imfs_init.c,
	libfs/src/nfsclient/src/nfs.c, libfs/src/rfs/rtems-rfs-rtems.c,
	wrapup/Makefile.am: Fixed typo in default names. Added default
	methods into filesystem tables.
	* libfs/src/defaults/default_close.c,
	libfs/src/defaults/default_evaluate_link.c,
	libfs/src/defaults/default_fpathconf.c,
	libfs/src/defaults/default_fsunmount.c,
	libfs/src/defaults/default_open.c,
	libfs/src/defaults/default_unmount.c: New files.
2010-06-29 19:37:28 +00:00
Joel Sherrill
46cce26f70 2010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/src/libio_sockets.c: Use
	rtems_set_errno_and_return_minus_one() where it was missed before.
2010-06-28 23:12:10 +00:00
Joel Sherrill
45fcb767c3 2010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/src/__brk.c, libcsupport/src/__gettod.c,
	libcsupport/src/__times.c, libcsupport/src/fchdir.c,
	libcsupport/src/ftrylockfile.c, libcsupport/src/getpwent.c,
	libcsupport/src/gxx_wrappers.c, libcsupport/src/libio_sockets.c,
	libcsupport/src/pipe.c: Use rtems_set_errno_and_return_minus_one()
	where it was missed before.
2010-06-28 22:14:35 +00:00
Joel Sherrill
1d33ecab00 2010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/include/rtems/error.h, libcsupport/src/error.c: Clean up
	so rtems_panic() can be a noreturn method. This eliminates some
	unreachable and thus untestable code.
2010-06-28 22:13:55 +00:00
Joel Sherrill
6cc69f188b 2010-06-28 Joel Sherrill <joel.sherrilL@OARcorp.com>
* libcsupport/src/termios.c: Formatting.
2010-06-28 18:48:32 +00:00
Jennifer Averett
f9a4e80f86 2010-06-25 Jennifer Averett <Jennifer.Averett@OARcorp.com
* libcsupport/include/rtems/libio.h, libfs/Makefile.am: Added default
	filesystem handlers.
	* libfs/src/defaults/default_chown.c,
	libfs/src/defaults/default_evalpath.c,
	libfs/src/defaults/default_fchmod.c,
	libfs/src/defaults/default_fcntl.c,
	libfs/src/defaults/default_fdatasync.c,
	libfs/src/defaults/default_freenode.c,
	libfs/src/defaults/default_fsmount.c,
	libfs/src/defaults/default_fstat.c,
	libfs/src/defaults/default_fsync.c,
	libfs/src/defaults/default_ftruncate.c,
	libfs/src/defaults/default_ioctl.c,
	libfs/src/defaults/default_link.c,
	libfs/src/defaults/default_lseek.c,
	libfs/src/defaults/default_mount.c,
	libfs/src/defaults/default_read.c,
	libfs/src/defaults/default_readlink.c,
	libfs/src/defaults/default_rename.c,
	libfs/src/defaults/default_rmnod.c,
	libfs/src/defaults/default_statvfs.c,
	libfs/src/defaults/default_symlink.c,
	libfs/src/defaults/default_unlink.c,
	libfs/src/defaults/default_utime.c,
	libfs/src/defaults/default_write.c: New files.
2010-06-25 14:23:48 +00:00
Joel Sherrill
a9ea7088e3 2010-06-24 Joel Sherrill <joel.sherrilL@OARcorp.com>
* libcsupport/src/read.c, libcsupport/src/write.c: read(2) and write(2)
	should return 0 when passed a count of 0 after verifying other
	possible errors.
2010-06-24 21:48:52 +00:00
Jennifer Averett
e525f66b09 2010-06-22 Jennifer Averett <Jennifer.Averett@OARcorp.com>
* libcsupport/Makefile.am, libcsupport/include/rtems/libio_.h: Moved
	method to free a node from a define to an external method.
	* libcsupport/src/freenode.c: New file.
2010-06-22 20:03:41 +00:00
Sebastian Huber
da361aa97d 2010-06-22 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libcsupport/src/mount.c: Fixed string assignment in mount entry
	allocation.
2010-06-22 14:20:49 +00:00
Sebastian Huber
0378b47884 2010-06-22 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libcsupport/src/mount.c: Fixed string assignment in mount entry
	allocation.
2010-06-22 13:31:13 +00:00
Joel Sherrill
0de235f97f 2010-06-21 Joel Sherrill <joel.sherrilL@OARcorp.com>
PR 1581/cpukit
	* libcsupport/include/rtems/malloc.h, sapi/include/confdefs.h: Remove
	extra * on function pointer declaration.
2010-06-21 21:13:42 +00:00
Ralf Corsepius
19c6950a49 2010-06-14 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/include/rtems/libio_.h: Fix broken doxygen
	meta comment.
2010-06-14 13:35:45 +00:00
Ralf Corsepius
de93598d19 2010-06-13 Ralf Corsépius <ralf.corsepius@rtems.org>
* include/rtems/tar.h, libcsupport/include/tar.h: Remove.
	* configure.ac: Require toolchain to provide tar.h.
	* libfs/src/imfs/imfs_load_tar.c, libmisc/untar/untar.h:
	Use <tar.h> instead of <rtems/tar.h>.
2010-06-13 03:36:58 +00:00
Ralf Corsepius
d5b5a06684 2010-06-13 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/include/rtems/libio.h: Fix typo in doxygen comment.
2010-06-13 03:02:26 +00:00
Sebastian Huber
2144d18754 2010-06-10 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libcsupport/src/unmount.c: Removed obsolete declarations.  Fixed
	invalid memory free.
2010-06-10 10:12:28 +00:00
Sebastian Huber
b813d632b0 2010-06-10 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libcsupport/src/mount-mktgt.c: New file.
	* libcsupport/Makefile.am: Reflect change above.
	* libcsupport/include/rtems/libio.h: Declare
	mount_and_make_target_path().
2010-06-10 09:07:28 +00:00
Sebastian Huber
14fc3a77f8 2010-06-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libcsupport/include/rtems/libio.h, sapi/include/confdefs.h: Added
	and use defines for file system types.
2010-06-09 09:38:10 +00:00
Sebastian Huber
74fbb7f303 2010-06-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libcsupport/src/mount.c: Fixed NULL pointer access.
2010-06-09 09:15:50 +00:00
Sebastian Huber
9da9cf4a87 2010-06-08 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libcsupport/include/rtems/libio.h: Documentation.
2010-06-08 15:40:00 +00:00
Sebastian Huber
b81c8a697c 2010-06-08 Sebastian Huber <sebastian.huber@embedded-brains.de>
PR 1524/filesystem
	* libcsupport/src/rtems_mkdir.c: New file.
	* libcsupport/src/Makefile.am: Reflect change above.
	* libcsupport/include/rtems/libio.h: Added rtems_mkdir().
	* libmisc/fsmount/fsmount.h, libmisc/fsmount/fsmount.c,
	libblock/src/bdpart-mount.c, libnetworking/rtems/mkrootfs.h,
	libnetworking/rtems/mkrootfs.c, libfs/src/pipe/pipe.c: Use
	rtems_mkdir().  Removed rtems_fsmount_create_mount_point() and
	rtems_rootfs_mkdir().
2010-06-08 13:05:11 +00:00
Sebastian Huber
eaee27b0b9 2010-06-08 Sebastian Huber <sebastian.huber@embedded-brains.de>
PR 1524/filesystem
	* libcsupport/src/rtems_mkdir.c: New file.
	* libcsupport/src/Makefile.am: Reflect change above.
	* libcsupport/include/rtems/libio.h: Added rtems_mkdir().
	* libmisc/fsmount/fsmount.h, libmisc/fsmount/fsmount.c,
	libblock/src/bdpart-mount.c, libnetworking/rtems/mkrootfs.h,
	libnetworking/rtems/mkrootfs.c, libfs/src/pipe/pipe.c: Use
	rtems_mkdir().  Removed rtems_fsmount_create_mount_point() and
	rtems_rootfs_mkdir().
2010-06-08 12:59:51 +00:00
Joel Sherrill
fab27e479a 2010-06-07 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/src/tcflow.c, libcsupport/src/tcflush.c: Add switches
	to detect bad input.
	* libcsupport/src/tcsetpgrp.c: Fix typo.
2010-06-07 18:37:16 +00:00
Sebastian Huber
7d01d244d7 2010-06-07 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libcsupport/include/rtems/libio_.h: Declare
	rtems_filesystem_mount_table_control.
	* libcsupport/include/rtems/libio.h: Removed
	rtems_filesystem_table_first(), rtems_filesystem_table_next() and
	rtems_filesystem_table_node_t declarations.  Declare
	rtems_per_filesystem_routine, rtems_filesystem_iterate() and
	rtems_filesystem_get_mount_handler().
	* libcsupport/src/mount.c: Added rtems_filesystem_mounts_first() and
	rtems_filesystem_mounts_next().  Simplify mount().  Removed
	rtems_filesystem_mount_table_control_init.  Use
	rtems_filesystem_get_mount_handler().
	* libcsupport/src/mount-mgr.c: Removed rtems_filesystem_mounts_first() and
	rtems_filesystem_mounts_next().  Added rtems_filesystem_iterate() and
	rtems_filesystem_get_mount_handler().  Use rtems_libio_lock() and
	rtems_libio_unlock();
	* sapi/include/confdefs.h, libmisc/shell/main_mount.c: Update for
	mount API changes.
2010-06-07 15:35:24 +00:00
Jennifer Averett
452fdc106b 2010-06-07 Bharath Suri <bharath.s.jois@gmail.com>
* libcsupport/include/rtems/libio_.h: Removed macros
	rtems_filesystem_is_separator
	rtems_filesystem_get_start_loc
	rtems_filesystem_get_sym_start_loc
	and added them as files under libcsupport/src/

	* libcsupport/src/: Added new files
	libcsupport/src/sup_fs_get_start_loc.c
	libcsupport/src/sup_fs_get_sym_start_loc.c
	libcsupport/src/sup_fs_is_separator.c

	* libcsupport/Makefile.am: Changes to accommodate new
	files under libcsupport/src/
2010-06-07 15:07:39 +00:00
Jennifer Averett
b79a45e9c0 2010-06-05 Bharath Suri <bharath.s.jois@gmail.com>
* libcsupport/include/rtems/libio_.h: Removed macros
	rtems_filesystem_is_separator
	rtems_filesystem_get_start_loc
	rtems_filesystem_get_sym_start_loc
	and added them as files under libcsupport/src/

	* libcsupport/src/: Added new files
	libcsupport/src/sup_fs_get_start_loc.c
	libcsupport/src/sup_fs_get_sym_start_loc.c
	libcsupport/src/sup_fs_is_separator.c

	* libcsupport/Makefile.am: Changes to accommodate new
	files under libcsupport/src/
2010-06-07 14:57:31 +00:00
Chris Johns
dfce6724fe 2010-06-01 Chris Johns <chrisj@rtems.org>
* libcsupport/include/rtems/libio.h: Make the struct name the same
        as the typedef.
        * sapi/include/confdefs.h: Fixes for use in C++.
2010-06-02 00:43:13 +00:00
Ralf Corsepius
8f67ada48a 2010-06-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/include/rtems/libio.h, libcsupport/src/mount-mgr.c:
	Add missing 'const'.
2010-06-01 10:42:52 +00:00
Joel Sherrill
aa61d53307 2010-05-31 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/include/rtems/libio.h: Remove if 0 section. Formatting.
2010-05-31 20:18:04 +00:00
Chris Johns
14724574d9 2010-05-31 Chris Johns <chrisj@rtems.org>
* libcsupport/Makefile.am: Add mount-mgr.c.
        * libcsupport/src/mount-mgr.c: New.
        * include/rtems/fs.h: Added rtems_filesystem_location_mount.
        * libcsupport/include/rtems/libio.h, libcsupport/src/mount.c: New
        mount interface. It is similar to Linux.
        * libcsupport/include/rtems/libio_.h: Remove the
        init_fs_mount_table call.
        * libcsupport/src/base_fs.c: Remove init_fs_mount_table_call. Use
        the new mount call. Remove setting the root node in the global
        pathloc. Mount does this now.
        * libcsupport/src/privateenv.c: Remove the hack to set the root
        mount table entry in the environment.
        * libcsupport/src/unmount.cL Free the target string.
        * libblock/src/bdpart-mount.c: New mount API.

        * libfs/src/devfs/devfs.h, libfs/src/devfs/devfs_init.c,
        libfs/src/dosfs/dosfs.h, libfs/src/dosfs/msdos.h,
        libfs/src/dosfs/msdos_init.c, libfs/src/imfs/imfs.h,
        libfs/src/imfs/imfs_eval.c, libfs/src/imfs/imfs_init.c,
        libfs/src/imfs/miniimfs_init.c,
        libfs/src/nfsclient/src/librtemsNfs.h,
        libfs/src/rfs/rtems-rfs-rtems.c, libfs/src/rfs/rtems-rfs.h,
        libnetworking/lib/ftpfs.c, libnetworking/rtems/ftpfs.h,
        libnetworking/rtems/tftp.h: New mount_h API.

        * libfs/src/devfs/devfs_eval.c: Local include of extern ops.
        * libfs/src/nfsclient/src/nfs.c: New mount API. Removed the mount
        me call and fixed the initialisation to happen when mounting.

        * libmisc/Makefile.am, libmisc/shell/shellconfig.h: Remove mount
        filesystem files.

        * libmisc/fsmount/fsmount.c, libmisc/fsmount/fsmount.h: Updated to
        the new mount table values.

        * libmisc/shell/main_mount_ftp.c,
        libmisc/shell/main_mount_msdos.c, libmisc/shell/main_mount_rfs.c,
        libmisc/shell/main_mount_tftp.c: Removed.

        * libmisc/shell/main_mount.c: Use the new mount API. Also access
        the file system table for the file system types.

        * libnetworking/lib/tftpDriver.c: Updated to the new mount
        API. Fixed to allow mounting from any mount point. Also can now
        have more than file system mounted.

        * sapi/include/confdefs.h: Add file system configuration support.
2010-05-31 14:03:41 +00:00
Chris Johns
29e92b090c 2010-05-31 Chris Johns <chrisj@rtems.org>
* libcsupport/Makefile.am: Add mount-mgr.c.
        * libcsupport/src/mount-mgr.c: New.
        * include/rtems/fs.h: Added rtems_filesystem_location_mount.
        * libcsupport/include/rtems/libio.h, libcsupport/src/mount.c: New
        mount interface. It is similar to Linux.
        * libcsupport/include/rtems/libio_.h: Remove the
        init_fs_mount_table call.
        * libcsupport/src/base_fs.c: Remove init_fs_mount_table_call. Use
        the new mount call. Remove setting the root node in the global
        pathloc. Mount does this now.
        * libcsupport/src/privateenv.c: Remove the hack to set the root
        mount table entry in the environment.
        * libcsupport/src/unmount.cL Free the target string.
        * libblock/src/bdpart-mount.c: New mount API.

        * libfs/src/devfs/devfs.h, libfs/src/devfs/devfs_init.c,
        libfs/src/dosfs/dosfs.h, libfs/src/dosfs/msdos.h,
        libfs/src/dosfs/msdos_init.c, libfs/src/imfs/imfs.h,
        libfs/src/imfs/imfs_eval.c, libfs/src/imfs/imfs_init.c,
        libfs/src/imfs/miniimfs_init.c,
        libfs/src/nfsclient/src/librtemsNfs.h,
        libfs/src/rfs/rtems-rfs-rtems.c, libfs/src/rfs/rtems-rfs.h,
        libnetworking/lib/ftpfs.c, libnetworking/rtems/ftpfs.h,
        libnetworking/rtems/tftp.h: New mount_h API.

        * libfs/src/devfs/devfs_eval.c: Local include of extern ops.
        * libfs/src/nfsclient/src/nfs.c: New mount API. Removed the mount
        me call and fixed the initialisation to happen when mounting.

        * libmisc/Makefile.am, libmisc/shell/shellconfig.h: Remove mount
        filesystem files.

        * libmisc/fsmount/fsmount.c, libmisc/fsmount/fsmount.h: Updated to
        the new mount table values.

        * libmisc/shell/main_mount_ftp.c,
        libmisc/shell/main_mount_msdos.c, libmisc/shell/main_mount_rfs.c,
        libmisc/shell/main_mount_tftp.c: Removed.

        * libmisc/shell/main_mount.c: Use the new mount API. Also access
        the file system table for the file system types.

        * libnetworking/lib/tftpDriver.c: Updated to the new mount
        API. Fixed to allow mounting from any mount point. Also can now
        have more than file system mounted.

        * sapi/include/confdefs.h: Add file system configuration support.
2010-05-31 13:56:37 +00:00
Ralf Corsepius
fb1b349f94 2010-05-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/include/rtems/libio.h:
	Use size_t instead of int for pathnamelen.
2010-05-27 16:30:32 +00:00
Ralf Corsepius
a794000d0f 2010-05-27 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/include/rtems/libio_.h, libcsupport/src/eval.c:
	Use size_t instead of int for pathnamelen.
2010-05-27 16:29:37 +00:00
Ralf Corsepius
16fef9bbce 2010-05-23 Ralf Corsépius <ralf.corsepius@rtems.org>
PR 1528/cpukit
	* libcsupport/src/malloc_boundary.c: Cast to intptr_t* instead of
	int32_t* for 16 bit target compliance.
2010-05-23 06:30:23 +00:00
Chris Johns
ce92a825c4 2010-05-20 Bharath Suri <bharath.s.jois@gmail.com>
* libcsupport/src/_rename_r.c: Avoid overwriting of errno by
        _rename_r to invalid values.
2010-05-20 03:10:41 +00:00
Chris Johns
ff861b9dd0 Whitespace clean up. 2010-05-14 04:04:25 +00:00
Ralf Corsepius
c7989fe7c1 2010-05-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/Makefile.am: Add libcsupport/src/flockfile.c,
	libcsupport/src/ftrylockfile.c, libcsupport/src/funlockfile.c.
	* libcsupport/src/flockfile.c, libcsupport/src/ftrylockfile.c,
	libcsupport/src/funlockfile.c: New (stub functions).
2010-05-01 04:19:00 +00:00