Commit Graph

597 Commits

Author SHA1 Message Date
Joel Sherrill
58d38a0c76 2008-02-26 Joel Sherrill <joel.sherrill@OARcorp.com>
* configure.ac, libfs/Makefile.am: Add nfsclient to cpukit. Although
	the use of RPC/XDR could be an issue, the code does build multilib
	across all targets. There are a few remaining warnings to deal with.
	* libfs/src/nfsclient/.cvsignore, libfs/src/nfsclient/ChangeLog.slac,
	libfs/src/nfsclient/LICENSE, libfs/src/nfsclient/Makefile.am,
	libfs/src/nfsclient/README, libfs/src/nfsclient/preinstall.am,
	libfs/src/nfsclient/rfc1094.txt,
	libfs/src/nfsclient/proto/mount_prot.h,
	libfs/src/nfsclient/proto/mount_prot.x,
	libfs/src/nfsclient/proto/mount_prot_xdr.c,
	libfs/src/nfsclient/proto/nfs_prot.h,
	libfs/src/nfsclient/proto/nfs_prot.x,
	libfs/src/nfsclient/proto/nfs_prot_xdr.c,
	libfs/src/nfsclient/src/cexphelp.c,
	libfs/src/nfsclient/src/dirutils.c,
	libfs/src/nfsclient/src/librtemsNfs.h, libfs/src/nfsclient/src/nfs.c,
	libfs/src/nfsclient/src/nfs.modini.c,
	libfs/src/nfsclient/src/nfsTest.c, libfs/src/nfsclient/src/rpcio.c,
	libfs/src/nfsclient/src/rpcio.h,
	libfs/src/nfsclient/src/rpcio.modini.c,
	libfs/src/nfsclient/src/sock_mbuf.c,
	libfs/src/nfsclient/src/xdr_mbuf.c: New files.
2008-02-26 19:23:53 +00:00
Joel Sherrill
029c1fd8e3 2007-04-16 Joel Sherrill <joel@OARcorp.com>
PR 1240/filesystem
	* libfs/src/imfs/imfs_rmnod.c: Fix link when removing a symlink. Memory
	for filename was not being freed.
2007-04-16 19:04:47 +00:00
Joel Sherrill
6c7928bba3 2007-03-08 Joel Sherrill <joel@OARcorp.com>
* libfs/src/imfs/imfs.h: Fix comment.
2007-03-08 21:44:02 +00:00
Ralf Corsepius
74393f7178 2006-12-12 Ralf Corsépius <ralf.corsepius@rtems.org>
* libfs/src/imfs/imfs.h: Remove
	increment_and_check_linkcounts (unused),
	decrement_linkcounts (unused, broken).
2006-12-12 03:37:40 +00:00
Ralf Corsepius
7192476f7a Use size_t instead of uint32_t for read/write count-args. 2006-12-08 07:18:27 +00:00
Ralf Corsepius
10bf8e69c4 2006-11-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac, Makefile.am, libfs/Makefile.am:
	Introduce AM_CONDITIONAL(LIBDOSFS).
2006-11-17 08:46:45 +00:00
Joel Sherrill
e197621ce8 2006-08-29 Joel Sherrill <joel@OARcorp.com>
* libfs/src/dosfs/fat.h, libfs/src/dosfs/msdos.h,
	libfs/src/dosfs/msdos_create.c, libfs/src/dosfs/msdos_eval.c,
	libfs/src/dosfs/msdos_file.c, libfs/src/dosfs/msdos_free.c,
	libfs/src/dosfs/msdos_fsunmount.c, libfs/src/dosfs/msdos_init.c,
	libfs/src/dosfs/msdos_misc.c, libfs/src/dosfs/msdos_mknod.c,
	libfs/src/imfs/imfs_debug.c: Remove warnings.
2006-08-29 19:38:08 +00:00
Thomas Doerfler
c9b005a9d2 applied patches for PR1117/1118/1119/1120 2006-07-09 10:05:27 +00:00
Ralf Corsepius
6be04ed043 New. 2006-01-12 10:01:38 +00:00
Ralf Corsepius
4e971660a1 Remove all-local. 2006-01-12 09:57:43 +00:00
Joel Sherrill
580f024177 2006-01-08 Joel Sherrill <joel@OARcorp.com>
* libcsupport/src/unixlibc.c, libfs/src/imfs/ioman.c: Change
	rtems_io_register_name to take a const char *.
2006-01-08 17:58:43 +00:00
Ralf Corsepius
48d2477815 2005-10-17 Ralf Corsepius <ralf.corsepius@rtems.org>
* libfs/src/dosfs/msdos_misc.c: Revert to vers. 1.9.
2005-10-17 09:30:38 +00:00
Joel Sherrill
9a72334444 2005-10-06 Joel Sherrill <joel@OARcorp.com>
PR 828/filesystems
	* libfs/src/dosfs/msdos_misc.c: Problem retracted. Revert patch.
2005-10-06 12:13:50 +00:00
Joel Sherrill
b3b78ecffe 2005-08-17 Nickolay Semyonov <snob@oktetlabs.ru>
PR 744/filesystem
	* libcsupport/src/unlink.c, libfs/src/dosfs/msdos_eval.c: DOSFS did not
	support permissions on directories so the check performed by unlink
	would always fail. The unlink code was modified to support a not
	supported status being returned.
2005-08-17 19:11:46 +00:00
Ralf Corsepius
a72c454eed Introduce msdos_status_t. 2005-08-05 10:38:05 +00:00
Joel Sherrill
b17ff4913c 2005-05-06 Joel Sherrill <joel@OARcorp.com>
* libblock/src/blkdev.c, libfs/src/dosfs/fat_file.c,
	libfs/src/dosfs/fat_file.h, libfs/src/dosfs/msdos.h,
	libfs/src/dosfs/msdos_create.c, libfs/src/dosfs/msdos_dir.c,
	libfs/src/dosfs/msdos_initsupp.c, libfs/src/dosfs/msdos_misc.c:
	Removed warnings.
2005-05-06 14:57:43 +00:00
Joel Sherrill
eb12bf41fb 2005-05-03 Joel Sherrill <joel@OARcorp.com>
* libfs/src/imfs/imfs.h, libfs/src/imfs/imfs_load_tar.c: Use uint8_t
	instead of char for raw data buffer.
2005-05-03 22:17:27 +00:00
Jennifer Averett
3eb7118310 2005-05-02 Jennifer Averett <jennifer.averett@oarcorp.com>
* libfs/src/dosfs/msdos_format.c, librpc/src/xdr/xdr.c: Added
	initialization to remove warnings.
2005-05-02 16:32:12 +00:00
Eric Norum
624867bc09 Add copy-on-write semantics to rtems_tarfs_load(). 2005-02-08 17:12:54 +00:00
Ralf Corsepius
fa73ccb0b8 2005-02-08 Ralf Corsepius <ralf.corsepius@rtems.org>
* configure.ac: Add new header guard to cpuopts.h.
	* Makefile.am: Add libfs, libblock, ftpd header install rules.
	* libfs/Makefile.am, libblock/Makefile.am, ftpd/Makefile.am: Remove
	header install rules.
2005-02-08 04:04:46 +00:00
Ralf Corsepius
1996aee7f0 2005-02-07 Ralf Corsepius <ralf.corsepius@rtems.org>
* libfs/src/imfs/imfs.h, libfs/src/imfs/imfs_load_tar.c,
	libmisc/untar/untar.c, libmisc/untar/untar.h:
	Various generalizations and fixes.
2005-02-07 13:25:14 +00:00
Ralf Corsepius
3d289f1291 2005-02-05 Ralf Corsepius <ralf.corsepius@rtems.org>
* libfs/Makefile.am: Build libfs/src/imfs/imfs_load_tar.c.
2005-02-05 02:44:29 +00:00
Ralf Corsepius
a6f5d896f3 New header guard. 2005-01-28 08:44:51 +00:00
Ralf Corsepius
05b37c50d0 2005-01-28 Ralf Corsepius <ralf.corsepius@rtems.org>
* itron/Makefile.am, libblock/Makefile.am, libcsupport/Makefile.am,
	libfs/Makefile.am, libmisc/Makefile.am, posix/Makefile.am,
	rtems/Makefile.am, sapi/Makefile.am:
	Remove AM_CPPFLAGS += -I$(top_builddir).
2005-01-28 02:32:38 +00:00
Ralf Corsepius
adc829ed5f 2005-01-18 Ralf Corsepius <ralf.corsepius@rtems.org>
* libfs/src/dosfs/msdos_create.c, libfs/src/dosfs/msdos_misc.c:
	Eliminate warnings.
2005-01-19 05:10:38 +00:00
Ralf Corsepius
0247c6ce22 2005-01-18 Ralf Corsepius <ralf.corsepius@rtems.org>
* libfs/src/dosfs/fat.c (fat_init_volume_info): Reflect
	fs_info->sec_buf being a uint8_t.
2005-01-19 04:54:12 +00:00
Ralf Corsepius
fb8f0bcc49 Cosmetics. 2005-01-19 03:44:36 +00:00
Ralf Corsepius
e7b1b05def 2005-01-18 Ralf Corsepius <ralf.corsepius@rtems.org>
* libfs/src/dosfs/msdos_misc.c
	(msdos_get_dotdot_dir_info_cluster_num_and_offset):
        Remove cur_node (Unused).
2005-01-19 02:36:57 +00:00
Ralf Corsepius
c3bb06192e Fix typos in comment. 2005-01-19 02:31:15 +00:00
Ralf Corsepius
a369ade90d 2005-01-07 Ralf Corsepius <ralf.corsepius@rtems.org>
* httpd/Makefile.am, itron/Makefile.am, libblock/Makefile.am,
	libcsupport/Makefile.am, libfs/Makefile.am, libmisc/Makefile.am,
	libnetworking/Makefile.am, librpc/Makefile.am, posix/Makefile.am,
	rtems/Makefile.am, sapi/Makefile.am, score/Makefile.am:
	Eliminate CFLAGS_OPTIMIZE_V.
2005-01-07 06:05:49 +00:00
Ralf Corsepius
846a4af893 2005-01-01 Ralf Corsepius <ralf.corsepius@rtems.org>
* automake/compile.am, httpd/Makefile.am, itron/Makefile.am,
	libblock/Makefile.am, libcsupport/Makefile.am, libfs/Makefile.am,
	libmisc/Makefile.am, libnetworking/Makefile.am, librpc/Makefile.am,
	posix/Makefile.am, rtems/Makefile.am, sapi/Makefile.am,
	score/Makefile.am, wrapup/Makefile.am:
	Remove build-variant support.
2005-01-01 10:41:29 +00:00
Ralf Corsepius
a3f1b54b6d 2004-11-20 Ralf Corsepius <ralf.corsepius@rtems.org>
* libfs/src/dosfs/dosfs.h: Add doxygen preamble.
	* libfs/src/dosfs/msdos.h: Remove RC_OK.
	* libfs/src/dosfs/msdos_format.c: Remove unnecessary casts.
2004-11-20 03:16:12 +00:00
Ralf Corsepius
c36f885aa7 2004-11-20 Ralf Corsepius <ralf.corsepiu@rtems.org>
PR 720/filesystem:
	* libfs/src/dosfs/dosfs.h, libfs/src/dosfs/fat.c,
	libfs/src/dosfs/fat.h, libfs/src/dosfs/msdos_format.c:
	Adaptations to msdos_format.
	(From Thomas Doerfler <Thomas.Doerfler@imd-systems.de>).

	* libfs/src/dosfs/dosfs.h, libfs/src/dosfs/fat.c,
	libfs/src/dosfs/fat.h, libfs/src/dosfs/msdos_format.c:
	Adaptations to RTEMS-4.7.
2004-11-20 03:11:41 +00:00
Ralf Corsepius
b34665f8e8 2004-11-20 Ralf Corsepius <ralf.corsepiu@rtems.org>
PR 720/filesystem:
	* libfs/src/dosfs/msdos_format.c: New
	(From Thomas Doerfler <Thomas.Doerfler@imd-systems.de>).
	* libfs/Makefile.am: Reflect changes above:
2004-11-20 03:02:54 +00:00
Ralf Corsepius
8c14432d10 2004-10-26 Ralf Corsepius <ralf_corsepius@rtems.org>
* libfs/src/dosfs/msdos_conv.c:
	Replace BSD fixed-size types with POSIX fixed-size types.
	Replace SECONDSTO1980 with DAYSTO1980.
	Make macros 16bit clean.
2004-10-26 09:48:53 +00:00
Ralf Corsepius
3b2c47300a 2004-04-17 Ralf Corsepius <ralf_corsepius@rtems.org>
* libfs/src/imfs/imfs_debug.c, libfs/src/imfs/memfile.c:
	Use fprintf(stdout,...) instead of printf.
2004-04-17 08:39:22 +00:00
Ralf Corsepius
a5305f6b33 Remove stray white spaces. 2004-04-17 08:34:41 +00:00
Ralf Corsepius
3239698d1f Remove stray white spaces. 2004-04-15 13:26:21 +00:00
Ralf Corsepius
35afb17e15 2004-04-09 Ralf Corsepius <ralf_corsepius@rtems.org>
* libblock/Makefile.am: Remove LIBC_DEFINES (Unsupported).
	* libfs/Makefile.am: Remove LIBC_DEFINES (Unsupported).
2004-04-09 02:22:39 +00:00
Ralf Corsepius
30f66299a6 2004-04-01 Ralf Corsepius <ralf_corsepius@rtems.org>
* Makefile.am: Add backward/*.h headers.
	* itron/Makefile.am: Install itron.h to $(includedir)/rtems.
	* libcsupport/Makefile.am: Install RTEMS specific headers to
	$(includedir)/rtems.
	* libfs/Makefile.am: Install imfs.h and dosfs.h to
	$(includedir)/rtems.
2004-04-01 10:59:51 +00:00
Ralf Corsepius
ebbe119eb5 2004-04-01 Ralf Corsepius <ralf_corsepius@rtems.org>
* libblock/include/rtems/bdbuf.h: Include <rtems/chain.h> instead of <chain.h>.
	* libblock/include/rtems/ide_part_table.h: Include <rtems/chain.h> instead of <chain.h>.
	* libcsupport/src/malloc.c: Include <rtems/chain.h> instead of <chain.h>.
	* libcsupport/src/mount.c: Include <rtems/chain.h> instead of <chain.h>.
	* libcsupport/src/unmount.c: Include <rtems/chain.h> instead of <chain.h>.
	* libfs/src/imfs/imfs.h: Include <rtems/chain.h> instead of <chain.h>.
	* libfs/src/imfs/imfs_directory.c: Include <rtems/chain.h> instead of <chain.h>.
	* libfs/src/imfs/imfs_load_tar.c: Include <rtems/chain.h> instead of <chain.h>.
	* sapi/include/confdefs.h: Include <rtems/clockdrv.h> instead of <clockdrv.h>.
	* sapi/include/confdefs.h: Include <rtems/console.h> instead of <console.h>.
	* libfs/src/imfs/imfs_load_tar.c: Include <rtems/imfs.h> instead of <imfs.h>.
	* libmisc/shell/cmds.c: Include <rtems/imfs.h> instead of <imfs.h>.
	* libmisc/fsmount/fsmount.c: Include <rtems/imfs.h> instead of <imfs.h>.
	* sapi/include/confdefs.h: Include <rtems/imfs.h> instead of <imfs.h>.
	* itron/src/can_wup.c: Include <rtems/itron.h> instead of <itron.h>.
	* itron/src/chg_pri.c: Include <rtems/itron.h> instead of <itron.h>.
	* itron/src/cre_mbf.c: Include <rtems/itron.h> instead of <itron.h>.
	* itron/src/cre_mbx.c: Include <rtems/itron.h> instead of <itron.h>.
	* itron/src/cre_sem.c: Include <rtems/itron.h> instead of <itron.h>.
	* itron/src/cre_tsk.c: Include <rtems/itron.h> instead of <itron.h>.
	* itron/src/del_mbf.c: Include <rtems/itron.h> instead of <itron.h>.
	* itron/src/del_mbx.c: Include <rtems/itron.h> instead of <itron.h>.
	* itron/src/del_sem.c: Include <rtems/itron.h> instead of <itron.h>.
	* itron/src/del_tsk.c: Include <rtems/itron.h> instead of <itron.h>.
	* itron/src/dis_dsp.c: Include <rtems/itron.h> instead of <itron.h>.
	* itron/src/ena_dsp.c: Include <rtems/itron.h> instead of <itron.h>.
	* itron/src/eventflags.c: Include <rtems/itron.h> instead of <itron.h>.
	* itron/src/exd_tsk.c: Include <rtems/itron.h> instead of <itron.h>.
	* itron/src/ext_tsk.c: Include <rtems/itron.h> instead of <itron.h>.
	* itron/src/fmempool.c: Include <rtems/itron.h> instead of <itron.h>.
	* itron/src/frsm_tsk.c: Include <rtems/itron.h> instead of <itron.h>.
	* itron/src/get_tid.c: Include <rtems/itron.h> instead of <itron.h>.
	* itron/src/itronintr.c: Include <rtems/itron.h> instead of <itron.h>.
	* itron/src/itronsem.c: Include <rtems/itron.h> instead of <itron.h>.
	* itron/src/itrontime.c: Include <rtems/itron.h> instead of <itron.h>.
	* itron/src/mbox.c: Include <rtems/itron.h> instead of <itron.h>.
	* itron/src/mboxtranslatereturncode.c: Include <rtems/itron.h> instead of <itron.h>.
	* itron/src/msgbuffer.c: Include <rtems/itron.h> instead of <itron.h>.
	* itron/src/msgbuffertranslatereturncode.c: Include <rtems/itron.h> instead of <itron.h>.
	* itron/src/network.c: Include <rtems/itron.h> instead of <itron.h>.
	* itron/src/port.c: Include <rtems/itron.h> instead of <itron.h>.
	* itron/src/prcv_mbf.c: Include <rtems/itron.h> instead of <itron.h>.
	* itron/src/prcv_mbx.c: Include <rtems/itron.h> instead of <itron.h>.
	* itron/src/preq_sem.c: Include <rtems/itron.h> instead of <itron.h>.
	* itron/src/psnd_mbf.c: Include <rtems/itron.h> instead of <itron.h>.
	* itron/src/rcv_mbf.c: Include <rtems/itron.h> instead of <itron.h>.
	* itron/src/rcv_mbx.c: Include <rtems/itron.h> instead of <itron.h>.
	* itron/src/ref_mbf.c: Include <rtems/itron.h> instead of <itron.h>.
	* itron/src/ref_mbx.c: Include <rtems/itron.h> instead of <itron.h>.
	* itron/src/ref_sem.c: Include <rtems/itron.h> instead of <itron.h>.
	* itron/src/ref_tsk.c: Include <rtems/itron.h> instead of <itron.h>.
	* itron/src/rel_wai.c: Include <rtems/itron.h> instead of <itron.h>.
	* itron/src/rot_rdq.c: Include <rtems/itron.h> instead of <itron.h>.
	* itron/src/rsm_tsk.c: Include <rtems/itron.h> instead of <itron.h>.
	* itron/src/sig_sem.c: Include <rtems/itron.h> instead of <itron.h>.
	* itron/src/slp_tsk.c: Include <rtems/itron.h> instead of <itron.h>.
	* itron/src/snd_mbf.c: Include <rtems/itron.h> instead of <itron.h>.
	* itron/src/snd_mbx.c: Include <rtems/itron.h> instead of <itron.h>.
	* itron/src/sta_tsk.c: Include <rtems/itron.h> instead of <itron.h>.
	* itron/src/sus_tsk.c: Include <rtems/itron.h> instead of <itron.h>.
	* itron/src/sysmgmt.c: Include <rtems/itron.h> instead of <itron.h>.
	* itron/src/task.c: Include <rtems/itron.h> instead of <itron.h>.
	* itron/src/ter_tsk.c: Include <rtems/itron.h> instead of <itron.h>.
	* itron/src/trcv_mbf.c: Include <rtems/itron.h> instead of <itron.h>.
	* itron/src/trcv_mbx.c: Include <rtems/itron.h> instead of <itron.h>.
	* itron/src/tslp_tsk.c: Include <rtems/itron.h> instead of <itron.h>.
	* itron/src/tsnd_mbf.c: Include <rtems/itron.h> instead of <itron.h>.
	* itron/src/twai_sem.c: Include <rtems/itron.h> instead of <itron.h>.
	* itron/src/vmempool.c: Include <rtems/itron.h> instead of <itron.h>.
	* itron/src/wai_sem.c: Include <rtems/itron.h> instead of <itron.h>.
	* itron/src/wup_tsk.c: Include <rtems/itron.h> instead of <itron.h>.
	* sapi/include/rtems/config.h: Include <rtems/itron.h> instead of <itron.h>.
	* sapi/include/confdefs.h: Include <rtems/itron.h> instead of <itron.h>.
	* sapi/src/itronapi.c: Include <rtems/itron.h> instead of <itron.h>.
	* sapi/include/confdefs.h: Include <rtems/rtc.h> instead of <rtc.h>.
	* sapi/include/confdefs.h: Include <rtems/timerdrv.h> instead of <timerdrv.h>.
2004-04-01 10:14:23 +00:00
Ralf Corsepius
f91bbe6412 2004-03-22 Ralf Corsepius <ralf_corsepius@rtems.org>
* libfs/src/dosfs/fat.c, libfs/src/dosfs/fat.h,
	libfs/src/dosfs/fat_fat_operations.c,
	libfs/src/dosfs/fat_fat_operations.h, libfs/src/dosfs/fat_file.c,
	libfs/src/dosfs/fat_file.h, libfs/src/dosfs/msdos.h,
	libfs/src/dosfs/msdos_create.c, libfs/src/dosfs/msdos_dir.c,
	libfs/src/dosfs/msdos_file.c, libfs/src/dosfs/msdos_initsupp.c,
	libfs/src/dosfs/msdos_misc.c, libfs/src/imfs/deviceio.c,
	libfs/src/imfs/imfs.h, libfs/src/imfs/imfs_directory.c,
	libfs/src/imfs/imfs_fchmod.c, libfs/src/imfs/linearfile.c,
	libfs/src/imfs/memfile.c: Convert to using c99 fixed-size types.
2004-03-22 17:10:43 +00:00
Ralf Corsepius
b6e033751d Remove refs to Makefile*. 2004-03-09 09:15:48 +00:00
Ralf Corsepius
2609e83f77 Unused. 2004-03-08 16:26:41 +00:00
Ralf Corsepius
920d9db4d1 2004-01-23 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* ChangeLog: Merge-in libblock/ChangeLog, libfs/ChangeLog.
	* libblock/ChangeLog, libfs/ChangeLog: Remove.
2004-01-23 17:22:51 +00:00
Ralf Corsepius
c8a130c17b Cleanup ChangeLog. 2004-01-23 13:56:42 +00:00
Ralf Corsepius
3d1de205f6 2004-01-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Add PREINSTALL_DIRS.
2004-01-19 07:29:05 +00:00
Ralf Corsepius
8a2c17969e 2004-01-14 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Re-add dirstamps to PREINSTALL_FILES.
	Add PREINSTALL_FILES to CLEANFILES.
2004-01-14 05:21:56 +00:00
Ralf Corsepius
970983e67b 2004-01-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Include compile.am, again.
	Reformat/Cleanup.
2004-01-11 07:48:00 +00:00
Ralf Corsepius
b71e8d050a 2004-01-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Add libs to CLEANFILES
	Set lib*_g_a_SOURCES = lib*_a_SOURCES.
2004-01-09 18:22:16 +00:00