Patch to make ctime return "" for ease test output diff-ing.
This commit is contained in:
parent
d2dc791e44
commit
7db0d77710
1 changed files with 17 additions and 0 deletions
17
src/scripts/nightly/patches/All/pr.c.patch
Normal file
17
src/scripts/nightly/patches/All/pr.c.patch
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
Index: empserver/src/lib/subs/pr.c
|
||||||
|
--- empserver/src/lib/subs/pr.c Thu Feb 19 19:30:18 2004
|
||||||
|
+++ empserver/src/lib/subs/pr.c Wed Jun 16 17:37:35 2004
|
||||||
|
@@ -58,6 +58,13 @@
|
||||||
|
|
||||||
|
static void outid(struct player *pl, int n);
|
||||||
|
|
||||||
|
+/* Hack for nightlybuild */
|
||||||
|
+char *
|
||||||
|
+ctime(const time_t *clock)
|
||||||
|
+{
|
||||||
|
+ return "";
|
||||||
|
+}
|
||||||
|
+
|
||||||
|
/*VARARGS*/
|
||||||
|
void
|
||||||
|
pr(s_char *format, ...)
|
Loading…
Add table
Add a link
Reference in a new issue