~ubuntu-branches/ubuntu/saucy/bc/saucy-proposed

« back to all changes in this revision

Viewing changes to dc/string.c

  • Committer: Package Import Robot
  • Author(s): John G. Hasler
  • Date: 2012-06-22 21:00:45 UTC
  • Revision ID: package-import@ubuntu.com-20120622210045-cpu8v54e1x1z0ep0
Tags: 1.06.95-3
* Applied patch from Pádraig Brady.
  Closes: #608255: bc uses uninitialized memory

* Applied patch from Paul Dwerryhouse.
  Closes: #472250: please return support for .dcrc file

* Applied patch from Ian Jackson.
  Closes: #488735: notice read and write errors on input and output

* Generated bc.html and dc.html but something is still wrong.

* Added homepage field to debian/control.

* I can't see the problem with hyphens.

* Fixed doc-base white space.

* Added watch file.

* I believe that the above changes deal with 558188.
  Closes: #558188: Changes made in 1.06.94-3.1 NMU have been lost

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