Sorry but I cant seem to create a filename that would cause md5sum --tag  to
output escaping different from the BSD's md5. Could you be more specific on the 
BSD escaping problem, please?
Also thanks for the formatting patch.
Cheers
 Ondrej

----- Original Message -----
From: "Pádraig Brady" <[email protected]>
To: "Ondrej Oprala" <[email protected]>
Cc: [email protected], "D Yu Bolkhovityanov" <[email protected]>
Sent: Thursday, July 26, 2012 2:47:15 PM
Subject: Re: RFE: hash-type in sum utils

On 07/26/2012 12:59 PM, Ondrej Oprala wrote:
> Ok, here is my patch proposition. I hope it's satisfactory.

Thanks for doing that!
I've attached a mainly formatting cleanup patch.

BTW be careful with strlen() in a for loop test.
That may not be optimized by the compiler,
especially when the passed string is not const or restrict.

The main logic outstanding is to escape the filename
in a BSD compat fashion.
I can have a look at that if you want, but not today.

cheers,
Pádraig.

Reply via email to