Hello Radoslaw,
Sorry for the delay in my response, and thanks for your detailed
explanation of the bug and for having found the bug. With your
explanation, I now understand what is going wrong.
It will be fixed in the next version of Bacula.
Thanks for submitting this and taking the time to ex
Hello Kern,
2013/2/9 Kern Sibbald
> Hello Radoslaw,
>
> Originally we did not use floating point output, because it was very
> badly broken -- it seg faulted all the time. Somewhat later, I enabled
> it so we could use in a few places where we needed decimal numbers.
>
> The routine could well
Hello,
2013/2/7 Radosław Korzeniewski
> Hello,
>
> 2013/2/7 Eric Bollengier
>
>> Hello Radosław,
>>
>> On 02/07/2013 05:42 PM, Radosław Korzeniewski wrote:
>> >
>> > I have a question regarding a Bacula bsnprintf library function. Is
>> > bsnprintf supposed to work with a format: "%.2f"? If so,
Hello,
2013/2/7 Eric Bollengier
> Hello Radosław,
>
> On 02/07/2013 05:42 PM, Radosław Korzeniewski wrote:
> >
> > I have a question regarding a Bacula bsnprintf library function. Is
> > bsnprintf supposed to work with a format: "%.2f"? If so, I found a
> > strange behavior or a bug.
>
> bsnprin
Hello Bacula developers,
I have a question regarding a Bacula bsnprintf library function. Is
bsnprintf supposed to work with a format: "%.2f"? If so, I found a strange
behavior or a bug. If I use above format with double type variable set to
1.05 I get a following result "1.50". The same for any v