Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Fix Windows build. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | symlinks |
| Files: | files | file ages | folders |
| SHA1: |
4e586a2d8e690d14e33205472b974962 |
| User & Date: | dmitry 2011-09-08 12:59:10.076 |
Context
|
2011-09-08
| ||
| 13:02 | Merge fixes and refactoring from symlinks branch. check-in: c05f6afaf2 user: dmitry tags: trunk | |
| 12:59 | Fix Windows build. Closed-Leaf check-in: 4e586a2d8e user: dmitry tags: symlinks | |
| 11:59 | Introduce new file_wd_* functions that use stat() or lstat() depending on 'allow-symlinks' setting, and use them when dealing with files inside the working directory. Make file_* functions always use stat() as before merging symlink support. Fix renaming of symlinks when merging (via new function symlink_copy()). Rename create_symlink() to symlink_create(). check-in: 8a0c546990 user: dmitry tags: symlinks | |
Changes
Changes to src/file.c.
| ︙ | ︙ | |||
61 62 63 64 65 66 67 68 69 70 71 72 73 74 |
return stat(zFilename, buf);
}
#else
int rc = 0;
char *zMbcs = fossil_utf8_to_mbcs(zFilename);
rc = stat(zMbcs, buf);
fossil_mbcs_free(zMbcs);
#endif
}
/*
** Fill in the fileStat variable for the file named zFilename.
** If zFilename==0, then use the previous value of fileStat if
** there is a previous value.
| > | 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 |
return stat(zFilename, buf);
}
#else
int rc = 0;
char *zMbcs = fossil_utf8_to_mbcs(zFilename);
rc = stat(zMbcs, buf);
fossil_mbcs_free(zMbcs);
return rc;
#endif
}
/*
** Fill in the fileStat variable for the file named zFilename.
** If zFilename==0, then use the previous value of fileStat if
** there is a previous value.
|
| ︙ | ︙ |