Changeset 773 for trunk/dll/shadow.c


Ignore:
Timestamp:
Aug 7, 2007, 11:23:27 PM (18 years ago)
Author:
Steven Levine
Message:

Correct some compare directories collector nits
Use BldQuoted... functions
Move BldQuoted... functions near primary callers
Add RUNTYPE_MASK
Use Runtime_Error2 more

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/shadow.c

    r766 r773  
    1111  22 Jul 06 SHL Check more run time errors
    1212  16 Jun 07 SHL Update for OpenWatcom
     13  06 Aug 07 SHL Use BldFullPathName
    1314
    1415***********************************************************************/
     
    7071  if (!cnr)
    7172    return obj;
    72   sprintf(s, "%s%s%s", (path) ? path : "", (path) ? "\\" : "", objtitle);
     73  BldFullPathName(s, path, objtitle);
     74  // sprintf(s, "%s%s%s", (path) ? path : "", (path) ? "\\" : "", objtitle);
    7375  p = strrchr(objtitle, '.');
    7476  if (p) {
     
    132134      CHAR *p, temp[CCHMAXPATH + 1];
    133135
    134       sprintf(temp,
    135               "%s%s%s", (path) ? path : "", (path) ? "\\" : "", objtitle);
     136      BldFullPathName(temp, path, objtitle);
     137      // sprintf(temp,
     138      //              "%s%s%s", (path) ? path : "", (path) ? "\\" : "", objtitle);
    136139      p = strrchr(temp, '.');
    137140      if (p) {
Note: See TracChangeset for help on using the changeset viewer.