]> git.ipfire.org Git - thirdparty/sarg.git/commitdiff
Update the comment of the split function
authorFrederic Marchal <fmarchal@users.sourceforge.net>
Thu, 12 Nov 2015 14:26:36 +0000 (15:26 +0100)
committerFrederic Marchal <fmarchal@users.sourceforge.net>
Thu, 12 Nov 2015 14:26:36 +0000 (15:26 +0100)
The split function documentation was still describing the function that
used an external program to uncompress log files.

There is no need to document the changes in the function documentation as
that information is available in git.

decomp.c

index 5689d769177d2e66b229925dc504ac8c75ce2938..93d5de2cd47c2b0a4a18023de248128397cfce22 100644 (file)
--- a/decomp.c
+++ b/decomp.c
@@ -279,23 +279,14 @@ static FileObject *Bzip_Open(int fd)
 
 
 /*!
-Open the log file. If it is compressed, uncompress it through a pipe.
+Open the log file. If it is compressed, uncompress it with the proper library.
 
-Log files compressed with gzip, bzip2 or compress are uncompressed with zcat or bzcat.
+Log files compressed with gzip, bzip2 can be uncompressed if sarg is compiled with
+the proper library.
 
 If the log file does not exist, the process terminates with an error message.
 
 \param arq The log file to process.
-\param pipe A variable set to \c true if the log file is opened through a pipe or set to \c false if the file is open directly.
-
-\date 2009-09-24 - F Marchal\n This function used to uncompress .Z files in
-place using uncompress but that required a write access to the log directory,
-could conflict with logrotate and could leave the log file uncompressed if sarg
-crashed. According to the documentation, zcat is capable of uncompressing .Z
-files so it is now used.
-
-\date 2010-05-10 - F Marchal\n
-The function doesn't use a temporary file any more and read the compressed file through a pipe.
 */
 FileObject *decomp(const char *arq)
 {