mirror of
https://github.com/abraunegg/onedrive
synced 2024-05-09 01:06:40 +02:00
Disabled buffering on stdout
This commit is contained in:
parent
008a5756b3
commit
c231b13ad4
|
@ -6,6 +6,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
### Fixed
|
### Fixed
|
||||||
- Crash when the delta link is expired
|
- Crash when the delta link is expired
|
||||||
|
### Changed
|
||||||
|
- Disabled buffering on stdout
|
||||||
|
|
||||||
## [1.1.1] - 2018-01-20
|
## [1.1.1] - 2018-01-20
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
|
@ -54,6 +54,9 @@ int main(string[] args)
|
||||||
log.error("Try 'onedrive -h' for more information");
|
log.error("Try 'onedrive -h' for more information");
|
||||||
return EXIT_FAILURE;
|
return EXIT_FAILURE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// disable buffering on stdout
|
||||||
|
stdout.setvbuf(0, _IONBF);
|
||||||
|
|
||||||
if (printVersion) {
|
if (printVersion) {
|
||||||
std.stdio.write("onedrive ", import("version"));
|
std.stdio.write("onedrive ", import("version"));
|
||||||
|
|
Loading…
Reference in a new issue