~ubuntu-branches/ubuntu/trusty/c++-annotations/trusty-proposed

« back to all changes in this revision

Viewing changes to yo/concrete/examples/fistream/fistream.cc

  • Committer: Package Import Robot
  • Author(s): Frank B. Brokken
  • Date: 2013-05-30 13:32:18 UTC
  • mfrom: (1.1.24)
  • Revision ID: package-import@ubuntu.com-20130530133218-k39mr5uredd093jr
Tags: 9.7.2-1
New upstream release, repairs several minor left-over flaws.
This release incorporates 9.7.0 and 9.7.1.

Show diffs side-by-side

added added

removed removed

Lines of Context:
47
47
 
48
48
    rdbuf(d_streambuf);                         // use istream's buffer to
49
49
    buffer[read(buffer, d_width).gcount()] = 0; // read d_width chars,
50
 
                                                // terminated by ascii-Z
 
50
                                                // terminated by a 0-byte
51
51
    d_iss.str(buffer);
52
52
    delete[] buffer;
53
53