Remove the mount(8) advertisement, move the URL to the .spec file only.
authorlace <>
Wed, 28 Dec 2005 06:59:26 +0000 (06:59 +0000)
committerlace <>
Wed, 28 Dec 2005 06:59:26 +0000 (06:59 +0000)
captive.spec.in
src/libcaptive/client/vfs.c

index f854a16..0fa4800 100644 (file)
@@ -91,6 +91,8 @@ were analyzed and successfuly emulated in the GNU/Linux operating system.
 The implementation allows applications running under the GNU/Linux operating
 system to access NTFS drives. File system driver compatibility with VFAT,
 ISO9660 and EXT2 is also provided.
+
+http://www.jankratochvil.net/project/captive/
 %if %{static}
 This packaging is a standalone static version, no other packages are needed.
 
index 180f389..52cc0d4 100644 (file)
@@ -93,24 +93,6 @@ CaptiveVfsObject *captive_vfs_object;
        g_return_val_if_fail(captive_vfs_object_return!=NULL,GNOME_VFS_ERROR_BAD_PARAMETERS);
        g_return_val_if_fail(options!=NULL,GNOME_VFS_ERROR_BAD_PARAMETERS);
 
-#ifndef MAINTAINER_MODE
-       /* We are not sandboxing || we are the master */
-       if (!options->sandbox || (options->sandbox_server_argv || options->sandbox_server_ior)) {
-int fd;
-
-               /* Shameless advertisement: */
-               for (fd=2 /* STDERR */;fd>=1 /* STDOUT */;fd--) {
-                       if (isatty(fd)) {
-const gchar *msg="Captive NTFS v" VERSION ".  Check a new version at: http://www.jankratochvil.net/\n";
-
-                               /* Prevent: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result */
-                               if (strlen(msg)==write(fd,msg,strlen(msg)))
-                                       break;
-                               }
-                       }
-               }
-#endif /* !MAINTAINER_MODE */
-
        /* Here is the first initializaton point of parent in sandboxed mode. */
        captive_log_init(options);