~ubuntu-branches/debian/sid/bc/sid

« back to all changes in this revision

Viewing changes to dc/string.c

  • Committer: Bazaar Package Importer
  • Author(s): Francois Marier
  • Date: 2009-04-16 10:23:39 UTC
  • Revision ID: james.westby@ubuntu.com-20090416102339-l7970sr667eekbvw
Tags: 1.06.94-3.1
* Non-maintainer upload with John's permission.
* Apply patch to restore the .dcrc config file (closes: #472250)
* Merge patch from Ubuntu to notice read and write errors on
  input and output (closes: #488735)
* Include the bc manual (HTML) in the bc binary package

* Bump Standards Version to 3.8.1
* Bump debhelper compatibility to 7
* debian/rules: replace "dh_clean -k" with "dh_prep"
* debian/control: Add homepage field
* Fix hyphens in the bc and dc manpages
* Add a watch file
* debian/dc.doc-base: Remove leading whitespace
* debian/dc.doc-base: Move to section Science/Mathematics

Show diffs side-by-side

added added

removed removed

Lines of Context:
101
101
        fwrite(value->s_ptr, value->s_len, sizeof *value->s_ptr, stdout);
102
102
        if (newline == DC_WITHNL)
103
103
                putchar('\n');
 
104
        checkferror_output(stdout);
104
105
        if (discard_flag == DC_TOSS)
105
106
                dc_free_str(&value);
106
107
}
176
177
                }
177
178
                *p++ = c;
178
179
        }
 
180
        checkferror_input(fp);
179
181
        return dc_makestring(line_buf, (size_t)(p-line_buf));
180
182
}
181
183