From: lace <> Date: Wed, 28 Dec 2005 06:59:26 +0000 (+0000) Subject: Remove the mount(8) advertisement, move the URL to the .spec file only. X-Git-Tag: captive-1_1_6~8 X-Git-Url: https://git.jankratochvil.net/?p=captive.git;a=commitdiff_plain;h=63f24b66be50617aa3f52cc3341c486daca7cecb Remove the mount(8) advertisement, move the URL to the .spec file only. --- diff --git a/captive.spec.in b/captive.spec.in index f854a16..0fa4800 100644 --- a/captive.spec.in +++ b/captive.spec.in @@ -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. diff --git a/src/libcaptive/client/vfs.c b/src/libcaptive/client/vfs.c index 180f389..52cc0d4 100644 --- a/src/libcaptive/client/vfs.c +++ b/src/libcaptive/client/vfs.c @@ -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);