Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 41613 Details for
Bug 67212
update: lufs-0.9.7-r3.ebuild
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
files/lufs-automount-port.diff
lufs-automount-port.diff (text/plain), 754 bytes, created by
Stefan Schweizer (RETIRED)
on 2004-10-12 03:54:16 UTC
(
hide
)
Description:
files/lufs-automount-port.diff
Filename:
MIME Type:
Creator:
Stefan Schweizer (RETIRED)
Created:
2004-10-12 03:54:16 UTC
Size:
754 bytes
patch
obsolete
>Files lufs-0.9.5.org/util/a.out and lufs-0.9.5/util/a.out differ >diff -Nur lufs-0.9.5.org/util/auto.sshfs.c lufs-0.9.5/util/auto.sshfs.c >--- lufs-0.9.5.org/util/auto.sshfs.c 2003-10-24 16:51:49.000000000 +0200 >+++ lufs-0.9.5/util/auto.sshfs.c 2003-10-24 16:54:15.000000000 +0200 >@@ -26,6 +26,8 @@ > int > main(int argc, char **argv){ > char *c; >+ char *d; >+ int port = 22; > > if(argc < 2) > return 1; >@@ -34,8 +36,12 @@ > return 1; > > *c = 0; >- >- printf("-fstype=lufs,fs=sshfs,quiet,host=%s,username=%s none\n", c + 1, argv[1]); >+ d = strchr(c + 1, ':'); >+ if (d) { >+ port = atoi(d + 1); >+ *d = 0; >+ } >+ printf("-fstype=lufs,fs=sshfs,quiet,host=%s,port=%d,username=%s none\n", c + 1,port, argv[1]); > > return 0; > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 67212
:
41609
|
41610
|
41611
|
41612
| 41613 |
41911
|
41912
|
45724
|
45725