2012/9/30 Joachim Schmitz <[email protected]>:
> Using (the system provided) /bin/printf instead shows a 0 size, so you seem 
> to be right about a missbehavoir.
>
>> problem is not with patch itself.  Does "printf '\1' > target" work
>> better?
>
> Yes!

Well, git seems to check for null bytes to decide if a file is a
"binary" file; it would poduce a "normal" diff with the non-zero
character.  I'll just check for the printf misbehavor and skip this
test if needed.

Thanks,
Andreas

Reply via email to