Ignore:
Timestamp:
May 23, 2007, 7:31:19 AM (18 years ago)
Author:
bird
Message:

Merged with the 2007-05-23 CVS. Added rsort and fixed a couple of windows build issues.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gmakenew/w32/pathstuff.c

    r728 r903  
    8282}
    8383
    84 /* 
     84/*
    8585 * Corrects the case of a path.
    8686 * Expects a fullpath!
    8787 * Added by bird for the $(abspath ) function and w32ify
    8888 */
    89 void 
     89void
    9090w32_fixcase(char *pszPath)
    9191{
     
    105105#else
    106106# define my_assert(expr) do {} while (0)
    107 #endif 
    108    
     107#endif
     108
    109109    char *psz = pszPath;
    110110    if (*psz == '/' || *psz == '\\')
     
    191191
    192192    /*
    193      * Pointing to the first char after the unc or drive specifier, 
     193     * Pointing to the first char after the unc or drive specifier,
    194194     * or in case of a cache hit, the first non-matching char (following a slash of course).
    195195     */
     
    261261 */
    262262char *
    263 w32ify(char *filename, int resolve)
     263w32ify(const char *filename, int resolve)
    264264{
    265265    static char w32_path[FILENAME_MAX];
     
    293293
    294294#undef stat
    295 /* 
    296  * Workaround for directory names with trailing slashes. 
     295/*
     296 * Workaround for directory names with trailing slashes.
    297297 * Added by bird reasons stated.
    298298 */
    299 int 
     299int
    300300my_stat(const char *path, struct stat *st)
    301301{
Note: See TracChangeset for help on using the changeset viewer.