Fossil SCM
typo, mention Cygwin as well.
Commit
68f8aafb3fd923fd01b787340c9373d2adcf5106
Parent
3ec3909b17ec8a1…
1 file changed
+2
-2
+2
-2
| --- src/add.c | ||
| +++ src/add.c | ||
| @@ -374,11 +374,11 @@ | ||
| 374 | 374 | ** In other words, this routine determines if two filenames that |
| 375 | 375 | ** differ only in case should be considered the same name or not. |
| 376 | 376 | ** |
| 377 | 377 | ** The case-sensitive setting determines the default value. If |
| 378 | 378 | ** the case-sensitive setting is undefined, then case sensitivity |
| 379 | -** defaults on for Mac and Windows and off for all other unix. | |
| 379 | +** defaults off for Cygwin, Mac and Windows and on for all other unix. | |
| 380 | 380 | ** |
| 381 | 381 | ** The --case-sensitive BOOLEAN command-line option overrides any |
| 382 | 382 | ** setting. |
| 383 | 383 | */ |
| 384 | 384 | int filenames_are_case_sensitive(void){ |
| @@ -391,11 +391,11 @@ | ||
| 391 | 391 | caseSensitive = is_truth(zCaseSensitive); |
| 392 | 392 | }else{ |
| 393 | 393 | #if !defined(_WIN32) && !defined(__CYGWIN__) && !defined(__DARWIN__) && !defined(__APPLE__) |
| 394 | 394 | caseSensitive = 1; /* Unix */ |
| 395 | 395 | #else |
| 396 | - caseSensitive = 0; /* Windows and Mac */ | |
| 396 | + caseSensitive = 0; /* Cygwin, Mac and Windows */ | |
| 397 | 397 | #endif |
| 398 | 398 | caseSensitive = db_get_boolean("case-sensitive",caseSensitive); |
| 399 | 399 | } |
| 400 | 400 | } |
| 401 | 401 | return caseSensitive; |
| 402 | 402 |
| --- src/add.c | |
| +++ src/add.c | |
| @@ -374,11 +374,11 @@ | |
| 374 | ** In other words, this routine determines if two filenames that |
| 375 | ** differ only in case should be considered the same name or not. |
| 376 | ** |
| 377 | ** The case-sensitive setting determines the default value. If |
| 378 | ** the case-sensitive setting is undefined, then case sensitivity |
| 379 | ** defaults on for Mac and Windows and off for all other unix. |
| 380 | ** |
| 381 | ** The --case-sensitive BOOLEAN command-line option overrides any |
| 382 | ** setting. |
| 383 | */ |
| 384 | int filenames_are_case_sensitive(void){ |
| @@ -391,11 +391,11 @@ | |
| 391 | caseSensitive = is_truth(zCaseSensitive); |
| 392 | }else{ |
| 393 | #if !defined(_WIN32) && !defined(__CYGWIN__) && !defined(__DARWIN__) && !defined(__APPLE__) |
| 394 | caseSensitive = 1; /* Unix */ |
| 395 | #else |
| 396 | caseSensitive = 0; /* Windows and Mac */ |
| 397 | #endif |
| 398 | caseSensitive = db_get_boolean("case-sensitive",caseSensitive); |
| 399 | } |
| 400 | } |
| 401 | return caseSensitive; |
| 402 |
| --- src/add.c | |
| +++ src/add.c | |
| @@ -374,11 +374,11 @@ | |
| 374 | ** In other words, this routine determines if two filenames that |
| 375 | ** differ only in case should be considered the same name or not. |
| 376 | ** |
| 377 | ** The case-sensitive setting determines the default value. If |
| 378 | ** the case-sensitive setting is undefined, then case sensitivity |
| 379 | ** defaults off for Cygwin, Mac and Windows and on for all other unix. |
| 380 | ** |
| 381 | ** The --case-sensitive BOOLEAN command-line option overrides any |
| 382 | ** setting. |
| 383 | */ |
| 384 | int filenames_are_case_sensitive(void){ |
| @@ -391,11 +391,11 @@ | |
| 391 | caseSensitive = is_truth(zCaseSensitive); |
| 392 | }else{ |
| 393 | #if !defined(_WIN32) && !defined(__CYGWIN__) && !defined(__DARWIN__) && !defined(__APPLE__) |
| 394 | caseSensitive = 1; /* Unix */ |
| 395 | #else |
| 396 | caseSensitive = 0; /* Cygwin, Mac and Windows */ |
| 397 | #endif |
| 398 | caseSensitive = db_get_boolean("case-sensitive",caseSensitive); |
| 399 | } |
| 400 | } |
| 401 | return caseSensitive; |
| 402 |