Package: bc / 1.06.95-9

Metadata

Package Version Patches format
bc 1.06.95-9 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
01_typo_in_bc.diff | (download)

bc/bc.c | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 fix a typo in bc
02_hyphens_as_minus_in_man.diff | (download)

doc/bc.1 | 16 8 + 8 - 0 !
doc/dc.1 | 6 3 + 3 - 0 !
2 files changed, 11 insertions(+), 11 deletions(-)

 correct hyphens used as minus signs
03_array_initialize.diff | (download)

bc/storage.c | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 fix array initialization bug
04_info_dircategory.diff | (download)

doc/bc.texi | 1 1 + 0 - 0 !
doc/dc.texi | 1 1 + 0 - 0 !
2 files changed, 2 insertions(+)

 set the dircategory of info pages to math
 Converted from an inline patch introduced in 1.06.95-3 (git commit 9be25538) 
05_notice_read_write_errors.diff | (download)

bc/execute.c | 10 9 + 1 - 0 !
bc/load.c | 1 1 + 0 - 0 !
bc/main.c | 3 3 + 0 - 0 !
bc/sbc.y | 2 2 + 0 - 0 !
bc/scan.c | 2 2 + 0 - 0 !
bc/scan.l | 3 3 + 0 - 0 !
bc/storage.c | 1 1 + 0 - 0 !
bc/util.c | 15 13 + 2 - 0 !
dc/dc.c | 3 3 + 0 - 0 !
dc/eval.c | 44 32 + 12 - 0 !
dc/misc.c | 1 1 + 0 - 0 !
dc/numeric.c | 12 11 + 1 - 0 !
dc/stack.c | 11 10 + 1 - 0 !
dc/string.c | 2 2 + 0 - 0 !
h/number.h | 3 3 + 0 - 0 !
lib/number.c | 24 24 + 0 - 0 !
16 files changed, 120 insertions(+), 17 deletions(-)

 notice read and write errors on input and output
 Quoting from the bug report:
    +bc (1.06-19ubuntu1) dapper; urgency=low
    +
    +  * Make dc notice read and write errors on its input and output.
    +    I grepped for mentions of the strings `putc', `print', `getc', `FILE',
    +    `stdin', `stdout' and `stderr' and added calls to new error-checking
    +    functions unless it was clear from the immediately-surrounding code
    +    that the program was exiting nonzero, or would exit nonzero if the
    +    call failed.  I ignored hits in lib/getopt*, which seems to
    +    pervasively ignore write errors when printing usage messages, in the
    +    hope that these were correct.  I _think_ I got them all.  -iwj.
    +
    + -- Ian Jackson <iwj@ubuntu.com>  Tue,  4 Apr 2006 17:21:02 +0100
06_read_dcrc.diff | (download)

dc/dc.c | 27 27 + 0 - 0 !
doc/dc.1 | 8 8 + 0 - 0 !
2 files changed, 35 insertions(+)

 read ~/.dcrc at startup of dc
 Patch taken from old version of dc by Paul Dwerryhouse
 Was initially applied by Francois Marier <francois@debian.org> in the NMU
 1.06.94-3.1 to close http://bugs.debian.org/472250 .
 Then it disappeared along the way, until users asked for it again.
 Jan Braun <janbraun@gmx.net> updated it to read .drcr before argument
 processing so that
     $ dc
     $ dc -
     $ dc -f -
 all have the same behaviour
07_bc_man.diff | (download)

doc/bc.1 | 113 57 + 56 - 0 !
1 file changed, 57 insertions(+), 56 deletions(-)

 fix some formatting issues with bc man page
 * Space at end of lines removed
 * Removed or added word space
 * Use "\(en" as a dash to indicate a range instead of "-"
 * Added "\&" after a full stop if it is not an end of sentence
 * Use "\e" to print a backslash
 * Use either macros "IR" or "RI" when mixing these two styles in a row of
   words
 * Use "\," when mixing roman and italic, "\/" for italic and roman.
 * The Word 'funtion' changed to 'function'.