Package: bc / 1.07.1-2

Metadata

Package Version Patches format
bc 1.07.1-2 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 !
bc/bc.y | 2 1 + 1 - 0 !
2 files changed, 2 insertions(+), 2 deletions(-)

 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
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/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/util.c | 15 13 + 2 - 0 !
dc/dc.c | 3 3 + 0 - 0 !
dc/eval.c | 55 41 + 14 - 0 !
dc/misc.c | 1 1 + 0 - 0 !
dc/numeric.c | 9 9 + 0 - 0 !
dc/stack.c | 11 10 + 1 - 0 !
dc/string.c | 2 2 + 0 - 0 !
h/number.h | 11 7 + 4 - 0 !
lib/number.c | 24 24 + 0 - 0 !
14 files changed, 129 insertions(+), 22 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
 Updated by Ryan Kavanagh <rak@debian.org> for 1.0.7.1 on 26 July 2017.
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 | 107 54 + 53 - 0 !
1 file changed, 54 insertions(+), 53 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'.
08_no make circular dependencies.diff | (download)

bc/Makefile.am | 10 6 + 4 - 0 !
1 file changed, 6 insertions(+), 4 deletions(-)

 fix circular dependency in makefile
 The upstream makefile is unhelpfully relying on make to allow it to break
 target dependency loops in a particular manner.  Instead, be explicit about
 the relationship between the targets.