Ignore:
Timestamp:
Mar 23, 2018, 11:44:44 PM (7 years ago)
Author:
bird
Message:

kmk: replaced w32ify() as it uses unsafe static buffer and encourages buffer size assumptions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kmk/function.c

    r3159 r3186  
    28762876
    28772877#ifdef WINDOWS32                                                    /* bird */
    2878   dest = w32ify((char *)name, 1);
     2878  dest = unix_slashes_resolved (name, apath, GET_PATH_MAX);
    28792879  if (!dest)
    28802880    return NULL;
    2881   {
    2882   size_t len = strlen(dest);
    2883   memcpy(apath, dest, len);
    2884   dest = apath + len;
    2885   }
     2881  dest = strchr(apath, '\0');
    28862882
    28872883  (void)end; (void)start; (void)apath_limit;
Note: See TracChangeset for help on using the changeset viewer.