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

« back to all changes in this revision

Viewing changes to ogr/ogrsf_frmts/xplane/ogr_xplane_awy_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_awy_reader.h"
31
31
 
32
 
CPL_CVSID("$Id: ogr_xplane_awy_reader.cpp 18548 2010-01-14 22:01:35Z rouault $");
 
32
CPL_CVSID("$Id: ogr_xplane_awy_reader.cpp 21634 2011-02-06 14:45:00Z rouault $");
33
33
 
34
34
/************************************************************************/
35
35
/*                   OGRXPlaneCreateAwyFileReader                       */
80
80
    if (pszFilename)
81
81
    {
82
82
        poReader->pszFilename = CPLStrdup(pszFilename);
83
 
        poReader->fp = VSIFOpen( pszFilename, "rt" );
 
83
        poReader->fp = VSIFOpenL( pszFilename, "rt" );
84
84
    }
85
85
 
86
86
    return poReader;
104
104
void OGRXPlaneAwyReader::Read()
105
105
{
106
106
    const char* pszLine;
107
 
    while((pszLine = CPLReadLine(fp)) != NULL)
 
107
    while((pszLine = CPLReadLineL(fp)) != NULL)
108
108
    {
109
109
        papszTokens = CSLTokenizeString(pszLine);
110
110
        nTokens = CSLCount(papszTokens);