# HG changeset patch # User jittat # Date 2009-04-26 14:40:50 # Node ID 5f8c24384d1c7ccee7c86e58b614589581930aee # Parent 2448930b9ab8adaa9dcf95cc91114ecc3ee9dc4e added .gitignore to hold empty dirs, fixed deprecation warnings on const char* for box.cc git-svn-id: http://theory.cpe.ku.ac.th/grader/web/trunk@379 6386c4cd-e34a-4fa8-8920-d93eb39b512e diff --git a/judge/log/.gitignore b/judge/log/.gitignore new file mode 100644 --- /dev/null +++ b/judge/log/.gitignore @@ -0,0 +1,2 @@ +[^.]* + diff --git a/judge/result/.gitignore b/judge/result/.gitignore new file mode 100644 --- /dev/null +++ b/judge/result/.gitignore @@ -0,0 +1,1 @@ +[^.]* diff --git a/judge/scripts/std-script/box.cc b/judge/scripts/std-script/box.cc --- a/judge/scripts/std-script/box.cc +++ b/judge/scripts/std-script/box.cc @@ -109,7 +109,7 @@ } static void NONRET __attribute__((format(printf,1,2))) -die(char *msg, ...) +die(const char *msg, ...) { va_list args; va_start(args, msg); @@ -119,7 +119,7 @@ } static void __attribute__((format(printf,1,2))) -log(char *msg, ...) +log(const char *msg, ...) { va_list args; va_start(args, msg); diff --git a/judge/scripts/test/sandbox/.gitignore b/judge/scripts/test/sandbox/.gitignore new file mode 100644 --- /dev/null +++ b/judge/scripts/test/sandbox/.gitignore @@ -0,0 +1,1 @@ +[^.]*