Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Changes In Branch mistake Excluding Merge-Ins
This is equivalent to a diff from a9235f4cc4 to cdfde813f9
|
2014-04-29
| ||
| 10:19 | Fix some compiler warnings 'may be uninitialized in this function'. Move path conversions out of win32_chdir/win32_access/win32_stat, as its caller already can do that. This eliminates some code duplication. check-in: 503482a2c6 user: jan.nijtmans tags: trunk | |
| 09:26 | Fix some compiler warnings 'may be uninitialized in this function'. Move path conversions out of win32_chdir/win32_access/win32_stat, as its caller already can do that. This eliminates some code duplication. Closed-Leaf check-in: cdfde813f9 user: jan.nijtmans tags: mistake | |
| 07:15 | merge trunk check-in: 791cebc129 user: jan.nijtmans tags: cleanX | |
| 00:31 | Set the mtime column of the USER table on a self-registration. check-in: a9235f4cc4 user: drh tags: trunk | |
|
2014-04-28
| ||
| 12:24 | Remove unneeded variable: Since could_be_utf16() calls starts_with_utf16_bom() it can be deduced that for Unicode text, bRevUnicode always has the same value as bRevUtf16. The comments on the variables already suggested that. check-in: 09f2386328 user: jan.nijtmans tags: trunk | |
Changes to src/file.c.
| ︙ | |||
77 78 79 80 81 82 83 | 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 | - - + + - - - + + + |
/*
** Fill stat buf with information received from stat() or lstat().
** lstat() is called on Unix if isWd is TRUE and allow-symlinks setting is on.
**
*/
static int fossil_stat(const char *zFilename, struct fossilStat *buf, int isWd){
|
| ︙ | |||
314 315 316 317 318 319 320 321 | 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 | + + - + - - + + - + + - + - + - |
}
/*
** Wrapper around the access() system call.
*/
int file_access(const char *zFilename, int flags){
int rc;
void *zMbcs = fossil_utf8_to_filename(zFilename);
#ifdef _WIN32
|
| ︙ |
Changes to src/lookslike.c.
| ︙ | |||
369 370 371 372 373 374 375 | 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 | - - - - - + + + + + |
** --utf8 Ignoring BOM and file size, force UTF-8 checking
** --utf16 Ignoring BOM and file size, force UTF-16 checking
**
** FILENAME is the name of a file to check for textual content in the UTF-8
** and/or UTF-16 encodings.
*/
void looks_like_utf_test_cmd(void){
|
| ︙ |
Changes to src/winfile.c.
| ︙ | |||
30 31 32 33 34 35 36 | 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 | - + - - + - - + - - + | #endif /* ** Fill stat buf with information received from stat() or lstat(). ** lstat() is called on Unix if isWd is TRUE and allow-symlinks setting is on. ** */ |
| ︙ | |||
112 113 114 115 116 117 118 | 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 | - + | */ /* * First find out how big the buffer needs to be. */ size = 0; |
| ︙ | |||
144 145 146 147 148 149 150 | 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 | - + |
rc = -1; goto done;
}
/*
* Call GetFileSecurity() for real.
*/
|
| ︙ | |||
241 242 243 244 245 246 247 | 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 | - - - - + - - + - |
if( impersonated ){
RevertToSelf();
impersonated = FALSE;
}
if( pSd!=NULL ){
HeapFree(GetProcessHeap(), 0, pSd);
}
|
| ︙ |