~ubuntu-branches/debian/sid/gdal/sid

« back to all changes in this revision

Viewing changes to ogr/ogrsf_frmts/xplane/ogr_xplane_fix_reader.cpp

  • Committer: Package Import Robot
  • Author(s): Francesco Paolo Lovergine
  • Date: 2012-05-07 15:04:42 UTC
  • mfrom: (5.5.16 experimental)
  • Revision ID: package-import@ubuntu.com-20120507150442-2eks97loeh6rq005
Tags: 1.9.0-1
* Ready for sid, starting transition.
* All symfiles updated to latest builds.
* Added dh_numpy call in debian/rules to depend on numpy ABI.
* Policy bumped to 3.9.3, no changes required.

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
 
30
30
#include "ogr_xplane_fix_reader.h"
31
31
 
32
 
CPL_CVSID("$Id: ogr_xplane_fix_reader.cpp 18548 2010-01-14 22:01:35Z rouault $");
 
32
CPL_CVSID("$Id: ogr_xplane_fix_reader.cpp 21634 2011-02-06 14:45:00Z rouault $");
33
33
 
34
34
/************************************************************************/
35
35
/*                   OGRXPlaneCreateFixFileReader                       */
76
76
    if (pszFilename)
77
77
    {
78
78
        poReader->pszFilename = CPLStrdup(pszFilename);
79
 
        poReader->fp = VSIFOpen( pszFilename, "rt" );
 
79
        poReader->fp = VSIFOpenL( pszFilename, "rt" );
80
80
    }
81
81
 
82
82
    return poReader;
98
98
void OGRXPlaneFixReader::Read()
99
99
{
100
100
    const char* pszLine;
101
 
    while((pszLine = CPLReadLine(fp)) != NULL)
 
101
    while((pszLine = CPLReadLineL(fp)) != NULL)
102
102
    {
103
103
        papszTokens = CSLTokenizeString(pszLine);
104
104
        nTokens = CSLCount(papszTokens);