Changeset 1544 for trunk/dll/collect.c


Ignore:
Timestamp:
Sep 30, 2010, 3:00:59 PM (15 years ago)
Author:
Gregg Young
Message:

Changes to fopen and _fsopen to allow FM2 to be loaded in high memory

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/collect.c

    r1513 r1544  
    771771      BOOL first = FALSE;
    772772      size_t c;
     773      CHAR *moder = "r";
    773774
    774775#     ifdef FORTIFY
     
    776777#     endif
    777778
    778       fp = _fsopen((CHAR *)mp1, "r", SH_DENYNO);
     779      fp = xfsopen((CHAR *)mp1, moder, SH_DENYNO, pszSrcFile, __LINE__, TRUE);
    779780      if (fp) {
    780781        while (!feof(fp)) {
Note: See TracChangeset for help on using the changeset viewer.