Ignore:
Timestamp:
Dec 27, 2011, 10:39:53 PM (10 years ago)
Author:
Silvan Scherrer
Message:

Lucide: updated fontconfig and poppler

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/poppler/mypoppler/fofi/FoFiBase.cc

    r257 r497  
    1515//
    1616// Copyright (C) 2008 Ed Avis <eda@waniasset.com>
     17// Copyright (C) 2011 Jim Meyering <jim@meyering.net>
    1718//
    1819// To see a description of the changes please see the Changelog file that
     
    6364  }
    6465  n = (int)ftell(f);
     66  if (n < 0) {
     67    error(-1, "Cannot determine length of '%s'", fileName);
     68    fclose(f);
     69    return NULL;
     70  }
    6571  if (fseek(f, 0, SEEK_SET) != 0) {
    6672    error(-1, "Cannot seek to start of '%s'", fileName);
Note: See TracChangeset for help on using the changeset viewer.