IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 8787


Ignore:
Timestamp:
Sep 11, 2006, 12:20:16 PM (20 years ago)
Author:
jhoblitt
Message:

enable large file support & use fseeko() instead of fseek()

Location:
trunk/psModules
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/configure.ac

    r8569 r8787  
    2020AC_PROG_INSTALL
    2121AM_PROG_LIBTOOL
     22
     23dnl enable largefile supports
     24AC_SYS_LARGEFILE
     25AC_FUNC_FSEEKO
    2226
    2327AC_PREFIX_DEFAULT([`pwd`])
  • trunk/psModules/src/objects/pmSourceIO_CMP.c

    r7604 r8787  
    33 *  @author EAM, IfA
    44 *
    5  *  @version $Revision: 1.9 $ $Name: not supported by cvs2svn $
    6  *  @date $Date: 2006-06-21 03:21:16 $
     5 *  @version $Revision: 1.10 $ $Name: not supported by cvs2svn $
     6 *  @date $Date: 2006-09-11 22:20:16 $
    77 *
    88 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    9696        return false;
    9797    }
    98     fseek (f, 0, SEEK_END);
     98    fseeko (f, 0, SEEK_END);
    9999
    100100    psLine *line = psLineAlloc (67);  // 66 is imclean-defined line length
     
    177177        return NULL;
    178178    }
    179     fseek (f, nBytes, SEEK_SET);
     179    fseeko (f, nBytes, SEEK_SET);
    180180
    181181    // prepare array to store data
Note: See TracChangeset for help on using the changeset viewer.