From bcf8ee282f2b121d3d3ded24b3864e9867d53696 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Thu, 5 Feb 2009 05:45:55 +0000 Subject: 2009-02-05 Sebastian Huber * libnetworking/lib/ftpfs.c: Enable write and mount filesystem with read-write access. --- cpukit/ChangeLog | 5 +++++ cpukit/libnetworking/lib/ftpfs.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index ec705499b9..4f4c154422 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,8 @@ +2009-02-05 Sebastian Huber + + * libnetworking/lib/ftpfs.c: Enable write and mount filesystem + with read-write access. + 2009-02-05 Ralf Corsépius * ftpd/ftpd.c: Change SIX_MONTHS to time_t. diff --git a/cpukit/libnetworking/lib/ftpfs.c b/cpukit/libnetworking/lib/ftpfs.c index 1ccf70a7a0..bff0546489 100644 --- a/cpukit/libnetworking/lib/ftpfs.c +++ b/cpukit/libnetworking/lib/ftpfs.c @@ -210,7 +210,7 @@ int rtems_bsdnet_initialize_ftp_filesystem (void) status = mount( &entry, &rtems_ftp_ops, - RTEMS_FILESYSTEM_READ_ONLY, + RTEMS_FILESYSTEM_READ_WRITE, NULL, FTP_PATHNAME_PREFIX ); @@ -1019,7 +1019,7 @@ ssize_t rtems_ftp_write( size_t count ) { - int eno = EIO; + int eno = 0; struct ftpStream *fsp; size_t want_cnt; ssize_t wr_cnt; -- cgit v1.2.3