ソースを参照

Mark "file in memory" feature is a candidate for deletion.

Please join the discussion at
https://groups.google.com/forum/#!topic/civetweb/h9HT4CmeYqI
bel2125 8 年 前
コミット
d1607b368f
1 ファイル変更6 行追加1 行削除
  1. 6 1
      src/civetweb.c

+ 6 - 1
src/civetweb.c

@@ -3976,7 +3976,12 @@ mg_stat(const struct mg_connection *conn,
 		filep->location = 2;
 		/* TODO: for 1.10: restructure how files in memory are handled */
 
-		filep->last_modified = time(NULL); /* xxxxxxxx */
+		/* The "file in memory" feature is a candidate for deletion.
+		 * Please join the discussion at
+		 * https://groups.google.com/forum/#!topic/civetweb/h9HT4CmeYqI 
+		 */
+
+		filep->last_modified = time(NULL); /* TODO */
 		/* last_modified = now ... assumes the file may change during runtime,
 		 * so every mg_fopen call may return different data */
 		/* last_modified = conn->ctx.start_time;