diff options
author | Miklos Szeredi <miklos@szeredi.hu> | 2005-01-09 19:48:14 +0000 |
---|---|---|
committer | Miklos Szeredi <miklos@szeredi.hu> | 2005-01-09 19:48:14 +0000 |
commit | 88ab18b8f8ba9c1bad2b6239d5b9d46c9ce28bbc (patch) | |
tree | 11ef6752f4f7b0c9bab0a6cff9d5c904fe03858c | |
parent | 716bfbf697ed5e84284503e25aa36c7305437760 (diff) | |
download | sshfs-88ab18b8f8ba9c1bad2b6239d5b9d46c9ce28bbc.tar sshfs-88ab18b8f8ba9c1bad2b6239d5b9d46c9ce28bbc.tar.gz sshfs-88ab18b8f8ba9c1bad2b6239d5b9d46c9ce28bbc.tar.bz2 sshfs-88ab18b8f8ba9c1bad2b6239d5b9d46c9ce28bbc.zip |
release 1.0sshfs_1_0
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | sshfs.c | 8 |
3 files changed, 11 insertions, 3 deletions
@@ -1,3 +1,7 @@ +2005-01-09 Miklos Szeredi <miklos@szeredi.hu> + + * Released 1.0 + 2004-12-04 Miklos Szeredi <miklos@szeredi.hu> * Started ChangeLog diff --git a/configure.ac b/configure.ac index 0f69693..f9545b0 100644 --- a/configure.ac +++ b/configure.ac @@ -1,4 +1,4 @@ -AC_INIT(sshfs-fuse, 0.9) +AC_INIT(sshfs-fuse, 1.0) AM_INIT_AUTOMAKE AM_CONFIG_HEADER(config.h) @@ -1197,6 +1197,7 @@ int main(int argc, char *argv[]) { char *host = NULL; char *port = NULL; + char *fsname; int res; int argctr; int direct = 0; @@ -1219,7 +1220,7 @@ int main(int argc, char *argv[]) port = argv[++argctr]; else { fprintf(stderr, "missing argument to %s option\n", arg); - fprintf(stderr, "see '%s -h' for usage\n", argv[0]); + fprintf(stderr, "see `%s -h' for usage\n", argv[0]); exit(1); } break; @@ -1238,10 +1239,11 @@ int main(int argc, char *argv[]) } if (!host) { fprintf(stderr, "missing host\n"); - fprintf(stderr, "see '%s -h' for usage\n", argv[0]); + fprintf(stderr, "see `%s -h' for usage\n", argv[0]); exit(1); } + fsname = g_strdup(host); base_path = strchr(host, ':'); *base_path++ = '\0'; if (base_path[0] && base_path[strlen(base_path)-1] != '/') @@ -1266,6 +1268,8 @@ int main(int argc, char *argv[]) exit(1); newargv[newargc++] = "-omax_read=65536"; + newargv[newargc++] = g_strdup_printf("-ofsname=sshfs#%s", fsname); + g_free(fsname); newargv[newargc] = NULL; return fuse_main(newargc, newargv, &sshfs_oper); } |