浏览代码

2008-11-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>

	Now the default value of --enable-direct-io is true.
	* src/OptionHandlerFactory.cc
	* doc/aria2c.1.txt
Tatsuhiro Tsujikawa 17 年之前
父节点
当前提交
a3bfe5c504
共有 5 个文件被更改,包括 13 次插入7 次删除
  1. 6 0
      ChangeLog
  2. 3 3
      doc/aria2c.1
  3. 2 2
      doc/aria2c.1.html
  4. 1 1
      doc/aria2c.1.txt
  5. 1 1
      src/OptionHandlerFactory.cc

+ 6 - 0
ChangeLog

@@ -1,3 +1,9 @@
+2008-11-15  Tatsuhiro Tsujikawa  <t-tujikawa@users.sourceforge.net>
+
+	Now the default value of --enable-direct-io is true.
+	* src/OptionHandlerFactory.cc
+	* doc/aria2c.1.txt
+	
 2008-11-15  Tatsuhiro Tsujikawa  <t-tujikawa@users.sourceforge.net>
 
 	Erase peer before executing onReturningPeer and onErasingPeer

+ 3 - 3
doc/aria2c.1

@@ -1,11 +1,11 @@
 .\"     Title: aria2c
 .\"    Author: 
 .\" Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/>
-.\"      Date: 11/14/2008
+.\"      Date: 11/15/2008
 .\"    Manual: 
 .\"    Source: 
 .\"
-.TH "ARIA2C" "1" "11/14/2008" "" ""
+.TH "ARIA2C" "1" "11/15/2008" "" ""
 .\" disable hyphenation
 .nh
 .\" disable justification (adjust text to left margin only)
@@ -673,7 +673,7 @@ Run as daemon\&.
 \fB\-\-enable\-direct\-io\fR[=\fItrue\fR|\fIfalse\fR]
 .RS 4
 Enable directI/O, which lowers cpu usage while allocating/checking files\&. Turn off if you encounter any error\&. Default:
-\fIfalse\fR
+\fItrue\fR
 .RE
 .PP
 \fB\-\-file\-allocation\fR=METHOD

+ 2 - 2
doc/aria2c.1.html

@@ -1292,7 +1292,7 @@ writes the piece to the appropriate files.</td>
 <p>
   Enable directI/O, which lowers cpu usage while allocating/checking files.
   Turn off if you encounter any error.
-  Default: <em>false</em>
+  Default: <em>true</em>
 </p>
 </dd>
 <dt>
@@ -2019,7 +2019,7 @@ files in the program, then also delete it here.</p></div>
 </div>
 <div id="footer">
 <div id="footer-text">
-Last updated 2008-11-14 00:31:03 JST
+Last updated 2008-11-15 23:46:24 JST
 </div>
 </div>
 </body>

+ 1 - 1
doc/aria2c.1.txt

@@ -484,7 +484,7 @@ Advanced Options
 *--enable-direct-io*[='true'|'false']::
   Enable directI/O, which lowers cpu usage while allocating/checking files.
   Turn off if you encounter any error.
-  Default: 'false'
+  Default: 'true'
 
 *--file-allocation*=METHOD::
   Specify file allocation method. METHOD is either 'none' or 'prealloc'.

+ 1 - 1
src/OptionHandlerFactory.cc

@@ -146,7 +146,7 @@ OptionHandlers OptionHandlerFactory::createOptionHandlers()
     SharedHandle<OptionHandler> op(new BooleanOptionHandler
 				   (PREF_ENABLE_DIRECT_IO,
 				    TEXT_ENABLE_DIRECT_IO,
-				    V_FALSE));
+				    V_TRUE));
     op->addTag(TAG_ADVANCED);
     handlers.push_back(op);
   }