Re: libfuse: improved command line parsing

2017-11-06 Thread Martin Pieuchot
On 29/10/17(Sun) 12:05, Helg Bredow wrote: > > > [...] > > > + } else if (strchr(o->templ, '%') == NULL) { > > > + *((int *)(data + o->off)) = o->val; > > > > Are you sure you can simply deference "data + o->off" w/o sanity check? > > I don't know what sani

Re: libfuse: improved command line parsing

2017-10-30 Thread Helg Bredow
On Sat, 28 Oct 2017 10:07:39 +0200 Martin Pieuchot wrote: > On 17/10/17(Tue) 14:26, Helg Bredow wrote: > > [...] > > I've split the patch. This one improves argument and option parsing so that > > almost all sshfs arguments and options will now parse. It won't recognise > > -ocache=no since fu

Re: libfuse: improved command line parsing

2017-10-28 Thread Martin Pieuchot
On 17/10/17(Tue) 14:26, Helg Bredow wrote: > [...] > I've split the patch. This one improves argument and option parsing so that > almost all sshfs arguments and options will now parse. It won't recognise > -ocache=no since fuse_opt_match() is incorrect (fuse will treat it the same > as -ocache

Re: libfuse: improved command line parsing

2017-10-17 Thread Helg Bredow
On Mon, 16 Oct 2017 15:33:45 +0200 Martin Pieuchot wrote: > On 14/10/17(Sat) 01:23, Helg Bredow wrote: > > The attached patch vastly improves fuse argument and option parsing. For > > example, all sshfs options will now be parsed successfully. It's a > > substantial patch and can't be easily br

Re: libfuse: improved command line parsing

2017-10-16 Thread Martin Pieuchot
On 14/10/17(Sat) 01:23, Helg Bredow wrote: > The attached patch vastly improves fuse argument and option parsing. For > example, all sshfs options will now be parsed successfully. It's a > substantial patch and can't be easily broken down further. > > In addition, this also adds support for the

libfuse: improved command line parsing

2017-10-13 Thread Helg Bredow
The attached patch vastly improves fuse argument and option parsing. For example, all sshfs options will now be parsed successfully. It's a substantial patch and can't be easily broken down further. In addition, this also adds support for the -d and -odebug options. I've also included a regress