On Tue, 2009-02-03 at 11:17 +0100, Mark Ellis wrote:
> On Mon, 2009-02-02 at 13:42 +0100, Pawel Kot wrote:
> > Hi,
> >
> > I use now librapi2-utils 0.13 on Ubuntu Intrepid (packages from ppa).
> > [Quick look at SVN indicates that this part of the code didn't change]
> > And it seems to be a problem with synce-pls when giving directory argument:
> >
> >       p...@bua:~$ synce-pls -d 4 /Storage\ Card/
> >       [list_matching_files:280] wide_path="\Storage Card"
> >                                            ^^^^^^^^^^^^^
> >       [_CeFindAllFiles2:58] found 1 files
> >       [_CeFindAllFiles2:107] array[i].cFileName="Storage Card"
> >       [list_matching_files:280] wide_path="\Storage Card\Storage Card\*.*"
> >                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^
> >       [rapi_context_begin_command:261] command=0x1a
> 
> > It happens for every directory given as the argument (\windows or
> > whatever). When directory argument is ommitted or given root it works
> > fine.
> >
> > Here is the patch that fixes this behaviour for me:
> > http://tfuj.pl/gnokii/synce-pls.patch
> > I have tested several testcases and it just works fine. However I am
> > not sure if it fixes the root cause.
> >
> > take care,
> > --
> > Pawel Kot
> >
> 
> Thanks Pawel, looks reasonable, I'll have a look at this.
> 
> As to the root cause, that is trying to get an MS based product to do a
> unix style ls, it's hell :)
> 

Pawel, I've applied a fix to the ppa package finally.

Mark

Attachment: signature.asc
Description: This is a digitally signed message part

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
SynCE-Devel mailing list
SynCE-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synce-devel

Reply via email to