Changeset 1743 for trunk/dll/init.c


Ignore:
Timestamp:
Feb 24, 2014, 1:37:51 AM (12 years ago)
Author:
John Small
Message:

Ticket #515L Corrected a mis-coded call to strtol (can changed it to strtoul).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/init.c

    r1739 r1743  
    122122  22 Feb 14 GKY Cleanup of readonly check code suppress spurious error on blocked directory
    123123                delete and eliminated the check on additional temp file deletes
     124  23 Feb 14 JBS Ticket #515: Corrected a mis-coded call to strtol which was causing the traps
     125                described in this ticket. (Also changed it to strtoul.)
    124126
    125127***********************************************************************/
     
    794796          if (p) {
    795797            p++;
    796             ul = strtol(p, &p + 2, 16);
     798        ul = strtoul(p, NULL, 16);
    797799            GetDosPgmName(ul, temp);
    798800            if (!strstr(temp, "FM/2") &&
     
    11651167    fAutoAddDirs = fUseNewViewer = fDataToFore = fDataShowDrives = fDataMin =
    11661168    fSplitStatus = fDragndropDlg = fQuickArcFind = fKeepCmdLine =
    1167     fMoreButtons = fDrivebar = fCollapseFirst = fSwitchTree = 
     1169    fMoreButtons = fDrivebar = fCollapseFirst = fSwitchTree =
    11681170    fSwitchTreeExpand = fNoSearch = fCustomFileDlg = fOtherHelp =
    11691171    fSaveMiniCmds = fUserComboBox = fFM2Deletes = fConfirmTarget =
     
    12581260    * one or more miniapp but not to FM/2
    12591261    */
    1260   size = sizeof(BOOL); 
     1262  size = sizeof(BOOL);
    12611263  PrfQueryProfileData(fmprof, realappname, "SeparateParms", &fAppSeparateSettings, &size);
    12621264  if (!fAppSeparateSettings)
Note: See TracChangeset for help on using the changeset viewer.