[Owfs-developers] Returning empty strings for ascii properties (patch included)

2013-07-07 Thread Jan Kandziora
Hello, I found ascii properties like /simultaneous/single and $chip/alias return -EINVAL when the string result is empty. I don't think this is a useful behaviour as catching this error just for the empty string case obscures real error cases happening in the layers below. *This problem is only

Re: [Owfs-developers] Returning empty strings for ascii properties (patch included)

2013-07-07 Thread Paul Alfille
You found an error, but I think the fix is a few lines up in the copy_buffer routine, where a zero-length string should be a valid return. Applied. Thanks Jan. On Sun, Jul 7, 2013 at 4:05 PM, Jan Kandziora j...@gmx.de wrote: Hello, I found ascii properties like /simultaneous/single and