<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>change log for rtems (2010-06-10)</title>
</head>
<body text='#000000' bgcolor='#ffffff'>
<a name='cs1'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
<font color='#bb2222'><strong>sh</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2010-06-10 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libnetworking/rtems/ftpfs.h, libnetworking/lib/ftpfs.c: Removed
rtems_ftpfs_mount().
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/ChangeLog.diff?r1=text&tr1=1.2363&r2=text&tr2=1.2364&diff_format=h">M</a></td><td width='1%'>1.2364</td><td width='100%'>cpukit/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/libnetworking/lib/ftpfs.c.diff?r1=text&tr1=1.30&r2=text&tr2=1.31&diff_format=h">M</a></td><td width='1%'>1.31</td><td width='100%'>cpukit/libnetworking/lib/ftpfs.c</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/cpukit/libnetworking/rtems/ftpfs.h.diff?r1=text&tr1=1.11&r2=text&tr2=1.12&diff_format=h">M</a></td><td width='1%'>1.12</td><td width='100%'>cpukit/libnetworking/rtems/ftpfs.h</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/cpukit/ChangeLog:1.2363 rtems/cpukit/ChangeLog:1.2364
--- rtems/cpukit/ChangeLog:1.2363 Thu Jun 10 04:07:28 2010
+++ rtems/cpukit/ChangeLog Thu Jun 10 04:20:27 2010
</font><font color='#997700'>@@ -1,5 +1,10 @@
</font> 2010-06-10 Sebastian Huber <sebastian.huber@embedded-brains.de>
<font color='#000088'>+ * libnetworking/rtems/ftpfs.h, libnetworking/lib/ftpfs.c: Removed
+ rtems_ftpfs_mount().
+
+2010-06-10 Sebastian Huber <sebastian.huber@embedded-brains.de>
+
</font> * libcsupport/src/mount-mktgt.c: New file.
* libcsupport/Makefile.am: Reflect change above.
* libcsupport/include/rtems/libio.h: Declare
<font color='#006600'>diff -u rtems/cpukit/libnetworking/lib/ftpfs.c:1.30 rtems/cpukit/libnetworking/lib/ftpfs.c:1.31
--- rtems/cpukit/libnetworking/lib/ftpfs.c:1.30 Wed Jun 9 06:36:08 2010
+++ rtems/cpukit/libnetworking/lib/ftpfs.c Thu Jun 10 04:20:28 2010
</font><font color='#997700'>@@ -132,33 +132,6 @@
</font> return 0;
}
<font color='#880000'>-rtems_status_code rtems_ftpfs_mount(const char *mount_point)
-{
- int rv = 0;
-
- if (mount_point == NULL) {
- mount_point = RTEMS_FTPFS_MOUNT_POINT_DEFAULT;
- }
-
- rv = rtems_mkdir(mount_point, S_IRWXU | S_IRWXG | S_IRWXO);
- if (rv != 0) {
- return RTEMS_IO_ERROR;
- }
-
- rv = mount(
- NULL,
- mount_point,
- RTEMS_FILESYSTEM_TYPE_FTPFS,
- RTEMS_FILESYSTEM_READ_WRITE,
- NULL
- );
- if (rv != 0) {
- return RTEMS_IO_ERROR;
- }
-
- return RTEMS_SUCCESSFUL;
-}
-
</font> static rtems_status_code rtems_ftpfs_do_ioctl(
const char *mount_point,
ioctl_command_t req,
<font color='#006600'>diff -u rtems/cpukit/libnetworking/rtems/ftpfs.h:1.11 rtems/cpukit/libnetworking/rtems/ftpfs.h:1.12
--- rtems/cpukit/libnetworking/rtems/ftpfs.h:1.11 Wed Jun 9 06:36:09 2010
+++ rtems/cpukit/libnetworking/rtems/ftpfs.h Thu Jun 10 04:20:29 2010
</font><font color='#997700'>@@ -49,8 +49,12 @@
</font> * @brief The FTP file system (FTP client) can be used to transfer files from
* or to remote hosts.
*
<font color='#880000'>- * You can mount the FTP file system with a call to rtems_ftpfs_mount().
- * Alternatively you can use mount() directly.
</font><font color='#000088'>+ * You can mount the FTP file system with a call to mount() or
+ * mount_and_make_target_path() with the @ref RTEMS_FILESYSTEM_TYPE_FTPFS file
+ * system type.
+ *
+ * You have to add @ref CONFIGURE_FILESYSTEM_FTPFS to your application
+ * configuration.
</font> *
* You can open files either read-only or write-only. A seek is not allowed.
* A close terminates the control and data connections.
<font color='#997700'>@@ -93,17 +97,6 @@
</font> } rtems_ftpfs_ioctl_numbers;
/**
<font color='#880000'>- * @brief Creates the mount point @a mount_point and mounts the FTP file
- * system.
- *<span style="background-color: #FF0000"><span style="background-color: #FF0000"> </span> </span>
- * If @a mount_point is @c NULL the default mount point<span style="background-color: #FF0000"><span style="background-color: #FF0000"> </span> </span>
- * @ref RTEMS_FTPFS_MOUNT_POINT_DEFAULT will be used.<span style="background-color: #FF0000"><span style="background-color: #FF0000"> </span> </span>
- *<span style="background-color: #FF0000"><span style="background-color: #FF0000"> </span> </span>
- * It is mounted with read and write access.<span style="background-color: #FF0000"><span style="background-color: #FF0000"> </span> </span>
- */<span style="background-color: #FF0000"><span style="background-color: #FF0000"> </span> </span>
-rtems_status_code rtems_ftpfs_mount( const char *mount_point);
-
-/**
</font> * @brief Returns in @a verbose if the verbose mode is enabled or disabled for
* the file system at @a mount_point.
*
<font color='#997700'>@@ -155,7 +148,7 @@
</font> /** @} */
/**
<font color='#880000'>- * Do not call directly, use rtems_ftpfs_mount() or mount().
</font><font color='#000088'>+ * @brief Do not call directly, use mount().
</font> */
int rtems_ftpfs_initialize(
rtems_filesystem_mount_table_entry_t *mt_entry,
</pre>
<p> </p>
<p>--<br />
<small>Generated by <a href="http://www.codewiz.org/projects/index.html#loginfo">Deluxe Loginfo</a> 2.122 by Bernardo Innocenti <bernie@develer.com></small></p>
</body>
</html>