Updated : license text (main.c)
authoryann.collet.73@gmail.com <yann.collet.73@gmail.com@650e7d94-2a16-8b24-b05c-7c0b3f6821cd>
Tue, 13 Sep 2011 13:30:45 +0000 (13:30 +0000)
committeryann.collet.73@gmail.com <yann.collet.73@gmail.com@650e7d94-2a16-8b24-b05c-7c0b3f6821cd>
Tue, 13 Sep 2011 13:30:45 +0000 (13:30 +0000)
git-svn-id: https://lz4.googlecode.com/svn/trunk@17 650e7d94-2a16-8b24-b05c-7c0b3f6821cd

main.c

diff --git a/main.c b/main.c
index e3907a1..2b36c4f 100644 (file)
--- a/main.c
+++ b/main.c
@@ -1,20 +1,24 @@
 /*\r
-   Demo compression program using LZ4 compression\r
-   Copyright (C) Yann Collet 2011,\r
-\r
-   This program is free software; you can redistribute it and/or modify\r
-   it under the terms of the GNU General Public License as published by\r
-   the Free Software Foundation; either version 2 of the License, or\r
-   (at your option) any later version.\r
-\r
-   This program is distributed in the hope that it will be useful,\r
-   but WITHOUT ANY WARRANTY; without even the implied warranty of\r
-   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
-   GNU General Public License for more details.\r
-\r
-   You should have received a copy of the GNU General Public License\r
-   along with this program; if not, write to the Free Software\r
-   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.\r
+    LZ4Demo - Demo CLI program using LZ4 compression\r
+    Copyright (C) Yann Collet 2011,\r
+\r
+    This program is free software; you can redistribute it and/or modify\r
+    it under the terms of the GNU General Public License as published by\r
+    the Free Software Foundation; either version 2 of the License, or\r
+    (at your option) any later version.\r
+\r
+    This program is distributed in the hope that it will be useful,\r
+    but WITHOUT ANY WARRANTY; without even the implied warranty of\r
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
+    GNU General Public License for more details.\r
+\r
+    You should have received a copy of the GNU General Public License along\r
+    with this program; if not, write to the Free Software Foundation, Inc.,\r
+    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.\r
+\r
+       You can contact the author at :\r
+       - LZ4 homepage : http://fastcompression.blogspot.com/p/lz4.html\r
+       - LZ4 source repository : http://code.google.com/p/lz4/\r
 */\r
 /*\r
        Note : this is *only* a demo program, an example to show how LZ4 can be used.\r
@@ -186,7 +190,7 @@ int decode_file(char* input_filename, char* output_filename)
        if (!strcmp (input_filename, stdinmark)) {\r
                fprintf(stderr, "Using stdin for input\n");\r
                finput = stdin;\r
-#ifdef _WIN32 /* We need to set stdin/stdout to binary mode. Damn windows. */\r
+#ifdef _WIN32 // need to set stdin/stdout to binary mode\r
                _setmode( _fileno( stdin ), _O_BINARY );\r
 #endif\r
        } else {\r
@@ -196,7 +200,7 @@ int decode_file(char* input_filename, char* output_filename)
        if (!strcmp (output_filename, stdoutmark)) {\r
                fprintf(stderr, "Using stdout for output\n");\r
                foutput = stdout;\r
-#ifdef _WIN32 /* We need to set stdin/stdout to binary mode. Damn windows. */\r
+#ifdef _WIN32 // need to set stdin/stdout to binary mode\r
                _setmode( _fileno( stdout ), _O_BINARY );\r
 #endif\r
        } else {\r