Fossil

Check-in [94c8af02ea]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix one mis-changed line in [898a70ce82a5] which would have broken builds on OS/2.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 94c8af02ea1c1731aa1f076fea4b6093cba3f96196afc2aa8efdd21551a6bb39
User & Date: stephan 2024-08-27 19:38:14.359
Context
2024-08-31
17:30
Revert the temporary fix [9866c97b35] as the underlying problem has been resolved in SQLite. check-in: ecaeb31f51 user: florian tags: trunk
2024-08-30
09:39
Proposed fix for the search branch bug reported in [forum:520d420d04e482b2|forum post 520d420d04]. This seems to work but could use more testing. To hit the affected query, first run (fossil fts-config index off) then (fossil search -fts ...terms...). Closed-Leaf check-in: f4fdd7d385 user: stephan tags: search-branch-fix
2024-08-27
19:38
Fix one mis-changed line in [898a70ce82a5] which would have broken builds on OS/2. check-in: 94c8af02ea user: stephan tags: trunk
11:19
When stdout is not a tty, avoid doing the carriage-return-to-reuse-the-console-line trick for emiting metrics while syncing, and instead emit the stats after the end of the loop. This means that log files from cron jobs no longer contain the carriage-return clutter. check-in: f8800f3464 user: stephan tags: trunk
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/printf.c.
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
** argument.  This is a no-op on unix but is necessary on windows.
*/
void fossil_binary_mode(FILE *p){
#if defined(_WIN32)
  _setmode(_fileno(p), _O_BINARY);
#endif
#ifdef __EMX__     /* OS/2 */
  fossil_setmode(fossil_fileno(p), O_BINARY);
#endif
}







|


1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
** argument.  This is a no-op on unix but is necessary on windows.
*/
void fossil_binary_mode(FILE *p){
#if defined(_WIN32)
  _setmode(_fileno(p), _O_BINARY);
#endif
#ifdef __EMX__     /* OS/2 */
  setmode(fossil_fileno(p), O_BINARY);
#endif
}