]> git.ipfire.org Git - thirdparty/sarg.git/blobdiff - decomp.c
Update the comment of the split function
[thirdparty/sarg.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)
 {