~ubuntu-branches/debian/sid/octave3.0/sid

« back to all changes in this revision

Viewing changes to src/ls-mat-ascii.cc

  • Committer: Bazaar Package Importer
  • Author(s): Rafael Laboissiere
  • Date: 2009-04-28 15:17:35 UTC
  • mfrom: (6.1.4 sid)
  • Revision ID: james.westby@ubuntu.com-20090428151735-gm59wmfcmwec3f9e
Tags: 1:3.0.5-3
debian/in/PACKAGE.postinst: Add -verbose option when calling 'pkg
rebuild' in octave and redirect stdin from /dev/null.  This is just to
help debugging the hang up on the mipsel buildd when installing
octave3.0 for building other packages (Bug#524745).

Show diffs side-by-side

added added

removed removed

Lines of Context:
65
65
#include "dMatrix.h"
66
66
 
67
67
#include "ls-mat-ascii.h"
 
68
#include "ls-ascii-helper.h"
68
69
 
69
70
static std::string
70
71
get_mat_data_input_line (std::istream& is)
81
82
      while (is.get (c))
82
83
        {
83
84
          if (c == '\n' || c == '\r')
84
 
            break;
 
85
            {
 
86
              // Let skip_until_newline handle CR/LF issues...
 
87
              is.putback (c);
 
88
              skip_preceeding_newline (is);
 
89
              break;
 
90
            }
85
91
 
86
92
          if (c == '%' || c == '#')
87
93
            {
88
94
              // skip to end of line
89
 
              while (is.get (c))
90
 
                if (c == '\n' || c == '\r')
91
 
                  break;
 
95
              skip_until_newline (is, false);
92
96
 
93
97
              break;
94
98
            }