Changeset 1005 for trunk/dll


Ignore:
Timestamp:
May 6, 2008, 5:07:07 AM (18 years ago)
Author:
Steven Levine
Message:

Add baseline fortify support

Location:
trunk/dll
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/makefile

    r1003 r1005  
    3838# 22 Feb 08 JBS Suppress lxlite processing when DEBUG=1
    3939# 01 Mar 08 SHL Add missing dependencies.  Add WARNALL support
     40# 05 May 08 SHL Add FORTIFY support
    4041
    4142# Environment:
     
    4344# DEBUG - not defined = release build, defined = debug build
    4445# WARNALL - add more warnings if defined
     46# FORTIFY - build with FORTIFYed memory
    4547
    4648BASE = fm3dll
     
    7981!ifdef %WARNALL                 # if defined in environment
    8082WARNALL = $(%WARNALL)           # use value from environment
     83!endif
     84
     85!ifdef %FORTIFY                 # if defined in environment
     86FORTIFY = $(%FORTIFY)           # use value from environment
    8187!endif
    8288
     
    120126!endif
    121127
     128!ifdef FORTIFY
     129CFLAGS += -dFORTIFY
     130!endif
     131
    122132# for fm3res only
    123133CFLAGSR = -bt=os2 -mf -bd -bm         -olirs -s     -j -we -wx -zfp -zgp -zp4 -zq
     
    155165       dirs.obj dirsize.obj draglist.obj droplist.obj eas.obj errutil.obj &
    156166       extract.obj filldir.obj filter.obj findrec.obj flesh.obj fm2cmd.obj &
    157        fonts.obj fsopen.obj getnames.obj grep.obj grep2.obj info.obj inis.obj &
     167       fonts.obj fortify.obj fsopen.obj &
     168       getnames.obj grep.obj grep2.obj info.obj inis.obj &
    158169       init.obj input.obj instant.obj key.obj killproc.obj literal.obj &
    159170       loadbmp.obj mainwnd.obj mainwnd2.obj makelist.obj menu.obj misc.obj &
  • trunk/dll/wrappers.c

    r975 r1005  
    1414  01 Sep 07 GKY Add xDosSetPathInfo to fix case where FS3 buffer crosses 64k boundry
    1515  06 Oct 07 SHL Add xDos...() wrappers to support systems wo/large file support (Gregg, Steven)
     16  05 May 08 SHL Add Add FORTIFY support
    1617
    1718***********************************************************************/
     
    3132#include "errutil.h"                    // Dos_Error...
    3233#include "strutil.h"                    // GetPString
     34
     35#include "fortify.h"                    // GetPString
    3336
    3437static PSZ pszSrcFile = __FILE__;
Note: See TracChangeset for help on using the changeset viewer.