]> Nishi Git Mirror - tewi.git/commitdiff
breaking change: Readme has been changed to ReadmeFile
authorNishi <nishi@nishi.boats>
Thu, 26 Sep 2024 21:28:41 +0000 (21:28 +0000)
committerNishi <nishi@nishi.boats>
Thu, 26 Sep 2024 21:28:41 +0000 (21:28 +0000)
git-svn-id: file:///raid/svn-personal/tewi/trunk@176 8739d7e6-ffea-ec47-b151-bdff447c6205

README
Server/config.c
Server/tw_version.h
Tool/genconf.c
example.conf

diff --git a/README b/README
index 3d69562787a9223d431ceda0f6c91364519734fe..8ea3ed8f9b0cf44e030d61438b2c24f53c6456fe 100644 (file)
--- a/README
+++ b/README
@@ -1,5 +1,5 @@
 
-Tewi HTTPd version 1.08D
+Tewi HTTPd version 2.00
 
 Original by Nishi <nishi@nishi.boats>
 
index e6202252b6fe69f3f1acfd2482866325cb8e02ce..1746e0f0109d3e59e50e483a6943a0b69207ff8d 100644 (file)
@@ -409,7 +409,7 @@ int tw_config_read(const char* path) {
                                                for(i = 1; r[i] != NULL; i++) {
                                                        current->indexes[current->index_count++] = cm_strdup(r[i]);
                                                }
-                                       } else if(cm_strcaseequ(r[0], "Readme")) {
+                                       } else if(cm_strcaseequ(r[0], "ReadmeFile")) {
                                                for(i = 1; r[i] != NULL; i++) {
                                                        current->readmes[current->readme_count++] = cm_strdup(r[i]);
                                                }
index bc82bca3a03f5665f05c5771b7ca176802082cab..bf3fd150d11b86c592a6a7f7270d7b2bc523866c 100644 (file)
@@ -7,7 +7,7 @@
 extern "C" {
 #endif
 
-#define TW_VERSION "1.09\0"
+#define TW_VERSION "2.00\0"
 
 const char* tw_get_version(void);
 const char* tw_get_platform(void);
index b8e35d16014d5aa7a7797c6e1a364df156f654b6..9b2db572a31047fd99df1c0777b18142814001de 100644 (file)
@@ -39,7 +39,7 @@ int main(int argc, char** argv) {
        printf("Icon misc/parent /icons/parent.png\n");
        printf("DirectoryIndex index.html\n");
        printf("\n");
-       printf("Readme README\n");
+       printf("ReadmeFile README\n");
        printf("\n");
        printf("DocumentRoot %s/www\n", argv[1]);
        printf("BeginDirectory %s/www\n", argv[1]);
index 489e2f1e7417d37a5c944dc5a89b57381ee7a0b8..8ede55da5e7cfe5c06cbc94c0d2762339a7ed9e3 100644 (file)
@@ -25,7 +25,7 @@ Icon misc/parent /icons/parent.png
 
 DirectoryIndex index.html
 
-Readme README
+ReadmeFile README
 
 DocumentRoot /var/www