From 07d6fd513f1c4d3c6905c880948671de1181fac2 Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Wed, 29 Apr 2009 08:31:27 +0000 Subject: 2009-04-29 Chris Johns * libcsupport/include/rtems/libio.h: Add rtems_off64_t for internal use. Update the internal off_t to the 64bit offset. * libnetworking/lib/ftpfs.c, libnetworking/lib/tftpDriver.c, libfs/src/nfsclient/src/nfs.c, libfs/src/imfs/imfs_fifo.c, libfs/src/imfs/memfile.c, libfs/src/imfs/imfs_directory.c, libfs/src/imfs/imfs.h, libfs/src/imfs/deviceio.c: Change off_t to rtems_off64_t. * libmisc/shell/main_msdosfmt.c: Add an info level so the format code can tell the user what is happening. Add more options to control the format configuration. * libfs/src/dosfs/msdos_format.c: Add a print function to display the format progress and print statements. Select a better default cluster size depending on the size of the disk. This lowers the size of the FAT on large disks. Read and maintain the MRB partition information. * libfs/src/dosfs/dosfs.h, libfs/src/dosfs/fat.h, libfs/src/dosfs/fat_file.c, libfs/src/dosfs/fat_file.h, libfs/src/dosfs/msdos.h, libfs/src/dosfs/msdos_conv.c, libfs/src/dosfs/msdos_create.c, libfs/src/dosfs/msdos_file.c, libfs/src/dosfs/msdos_handlers_dir.c, libfs/src/dosfs/msdos_handlers_file.c, libfs/src/dosfs/msdos_init.c, libfs/src/dosfs/msdos_initsupp.c, libfs/src/dosfs/msdos_misc.c, libfs/src/dosfs/msdos_mknod.c: Add long file name support. Change off_t to rtems_off64_t. --- cpukit/libnetworking/lib/ftpfs.c | 2 +- cpukit/libnetworking/lib/tftpDriver.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'cpukit/libnetworking') diff --git a/cpukit/libnetworking/lib/ftpfs.c b/cpukit/libnetworking/lib/ftpfs.c index f73c6acff3..82e23dc287 100644 --- a/cpukit/libnetworking/lib/ftpfs.c +++ b/cpukit/libnetworking/lib/ftpfs.c @@ -986,7 +986,7 @@ static int rtems_ftpfs_close( rtems_libio_t *iop) } /* Dummy version to let fopen( *,"w") work properly */ -static int rtems_ftpfs_ftruncate( rtems_libio_t *iop, off_t count) +static int rtems_ftpfs_ftruncate( rtems_libio_t *iop, rtems_off64_t count) { return 0; } diff --git a/cpukit/libnetworking/lib/tftpDriver.c b/cpukit/libnetworking/lib/tftpDriver.c index 734d0bda35..ecb46c6c0f 100644 --- a/cpukit/libnetworking/lib/tftpDriver.c +++ b/cpukit/libnetworking/lib/tftpDriver.c @@ -984,7 +984,7 @@ static ssize_t rtems_tftp_write( */ static int rtems_tftp_ftruncate( rtems_libio_t *iop __attribute__((unused)), - off_t count __attribute__((unused)) + rtems_off64_t count __attribute__((unused)) ) { return 0; -- cgit v1.2.3