Changeset 903 for trunk/src/gmakenew/w32/pathstuff.c
- Timestamp:
- May 23, 2007, 7:31:19 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gmakenew/w32/pathstuff.c
r728 r903 82 82 } 83 83 84 /* 84 /* 85 85 * Corrects the case of a path. 86 86 * Expects a fullpath! 87 87 * Added by bird for the $(abspath ) function and w32ify 88 88 */ 89 void 89 void 90 90 w32_fixcase(char *pszPath) 91 91 { … … 105 105 #else 106 106 # define my_assert(expr) do {} while (0) 107 #endif 108 107 #endif 108 109 109 char *psz = pszPath; 110 110 if (*psz == '/' || *psz == '\\') … … 191 191 192 192 /* 193 * Pointing to the first char after the unc or drive specifier, 193 * Pointing to the first char after the unc or drive specifier, 194 194 * or in case of a cache hit, the first non-matching char (following a slash of course). 195 195 */ … … 261 261 */ 262 262 char * 263 w32ify(c har *filename, int resolve)263 w32ify(const char *filename, int resolve) 264 264 { 265 265 static char w32_path[FILENAME_MAX]; … … 293 293 294 294 #undef stat 295 /* 296 * Workaround for directory names with trailing slashes. 295 /* 296 * Workaround for directory names with trailing slashes. 297 297 * Added by bird reasons stated. 298 298 */ 299 int 299 int 300 300 my_stat(const char *path, struct stat *st) 301 301 {
Note:
See TracChangeset
for help on using the changeset viewer.