2011/4/19 Martin Paljak <mar...@martinpaljak.net>:
> Hello,
>
> On Apr 18, 2011, at 23:22 , Peter Marschall wrote:
>> On Monday, 18. April 2011, Martin Paljak <mar...@martinpaljak.net> wrote:
>>> On Sun, Apr 17, 2011 at 12:44, Peter Marschall <pe...@adpm.de> wrote:
>>>> please find attached 3 patches to opensc-tool and opensc-explorer:
>>>>
>>>> * [PATCH 1/3] opensc-tool: make list_algorithms() table driven
>>> * The patch has a lot of extra whitespaces at end of lines.
>> Hmm, I do not completely understand.
>> I usually check the spaces at EOL before commit.
>> And I admit I overlooked one  (the one in the 159th line of the patch file 
>> ;-).
>> In my opinion: 1 != many.
>> All other ones have been in before.
> I have to apologize, git commit complained and I checked the resulting file 
> (not the offending patch) for extra whitespace, which appeared to be many 
> around the changed area. I amended the patch and removed whitespaces, had a 
> look at the resulting patch, discovered that it only dealt with 
> --list-algorithms related things and made hasty conclusions. Please ignore!

5 years ago I sent [1] a script to remove all the extra spaces and
tabs at end of lines.

The script is simple:
$ find . -name '*.[ch]' | xargs perl -pi -e 's/\t+$//; s/ +$//'
but it will generate a HUGE patch.

Martin, feel free to use it to fix any trailing spaces and tabs.

Regards,

[1] http://www.opensc-project.org/pipermail/opensc-devel/2006-April/008520.html

-- 
 Dr. Ludovic Rousseau
_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to