Hi all.

There is a problem with bc when is invoked with the "-l" switch.

Some examples.
#============================================#
[631](~)echo "scale=3; 13 / 12" |bc 
1.083
[632](~)echo "scale=3; 13 / 12" |bc -l 
zsh: done                echo "scale=3; 13 / 12" | 
zsh: segmentation fault  bc -l
#============================================#
Same thing in interactive mode.

This happens with or without readline support.

Looking back today in previous builds,the problem went back to the last
November build.
Strangely enough,it doesn't occur in a build of the alphabetical branch
(last Decembers's build).Actually it was then when i had to use the "-l"
switch for some calculations i had to do in a script.

After that,in all the three builds i made,bc segmentation faults.

I have to ask for confirmation first before opening a bug.

Attached is the built log.

/usr/local/bin/bc
/usr/local/bin/dc
/usr/local/share/man/man1/bc.1
/usr/local/share/man/man1/dc.1
/usr/local/share/info/bc.info
/usr/local/share/info/dc.info
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to