From e2cb686b3583e3f034a604a718b28e277ca4fdcf Mon Sep 17 00:00:00 2001 From: "darin%netscape.com" Date: Wed, 23 Apr 2003 23:44:48 +0000 Subject: [PATCH] make it work on linux r=dougt git-svn-id: svn://10.0.0.236/trunk@141722 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/tools/testy/Makefile.in | 4 +++- mozilla/tools/testy/TestySupport.cpp | 2 +- mozilla/tools/testy/sample/Makefile.in | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/mozilla/tools/testy/Makefile.in b/mozilla/tools/testy/Makefile.in index b7d02fef0b4..3f779981669 100644 --- a/mozilla/tools/testy/Makefile.in +++ b/mozilla/tools/testy/Makefile.in @@ -26,10 +26,12 @@ EXTRA_DSO_LDOPTS = \ $(NULL) LIBS = \ - tstysupt.lib \ + -ltstysupt \ $(NSPR_LIBS) \ $(NULL) +DIRS = sample + include $(topsrcdir)/config/config.mk include $(topsrcdir)/config/rules.mk diff --git a/mozilla/tools/testy/TestySupport.cpp b/mozilla/tools/testy/TestySupport.cpp index 54bf414d6ba..17c952ee948 100644 --- a/mozilla/tools/testy/TestySupport.cpp +++ b/mozilla/tools/testy/TestySupport.cpp @@ -5,7 +5,7 @@ FILE* gLogFile = NULL; int Testy_LogInit(const char* fileName) { - gLogFile = fopen(fileName, "r+b"); + gLogFile = fopen(fileName, "w+b"); if (!gLogFile) return -1; return 0; } diff --git a/mozilla/tools/testy/sample/Makefile.in b/mozilla/tools/testy/sample/Makefile.in index a5a831a4236..3249645481a 100644 --- a/mozilla/tools/testy/sample/Makefile.in +++ b/mozilla/tools/testy/sample/Makefile.in @@ -20,7 +20,7 @@ CPPSRCS = \ $(NULL) EXTRA_DSO_LDOPTS = \ - ../tstysupt.lib \ + -ltstysupt \ $(NSPR_LIBS) \ $(NULL)