diff options
author | iskm <iskm@users.noreply.github.com> | 2017-04-16 18:48:19 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-16 18:48:19 -0400 |
commit | 44f66b4ec1ed7a77470fe45b4a00c3931678e5f7 (patch) | |
tree | cd1f665b022087504f5166d602b3a2d41f8fc2c4 | |
parent | 9b5da77619852e9d193093eeb612e30e12991d0f (diff) | |
parent | 684f172537d838cb85ade3480600325d50a6c544 (diff) |
Merge pull request #4 from oplS17projects/mango
use relative paths when opening files
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | Hermes/Makefile | 2 | ||||
-rw-r--r-- | Hermes/server.rkt | 4 |
3 files changed, 4 insertions, 3 deletions
@@ -1,5 +1,6 @@ # ignore temporary files *~ +*.txt # ignore logs and configuration files *.out diff --git a/Hermes/Makefile b/Hermes/Makefile index fdd9a07..c580a71 100644 --- a/Hermes/Makefile +++ b/Hermes/Makefile @@ -1,3 +1,3 @@ # Remove temporary files clean: - rm -rf *~ *.out *.conf + rm -rf *~ *.out *.conf *.txt diff --git a/Hermes/server.rkt b/Hermes/server.rkt index df1cf26..9b1a171 100644 --- a/Hermes/server.rkt +++ b/Hermes/server.rkt @@ -77,8 +77,8 @@ (define messages-s (make-semaphore 1)) ;; control access to messages ; two files to store error messages, and channel conversations -(define error-out (open-output-file "/home/pcuser/Hermes/Hermes/error_server.txt" #:exists 'append)) -(define convs-out (open-output-file "/home/pcuser/Hermes/Hermes/conversations_server.txt" #:exists 'append)) +(define error-out (open-output-file "./error_server.txt" #:exists 'append)) +(define convs-out (open-output-file "./conversations_server.txt" #:exists 'append)) (define error-out-s (make-semaphore 1)) (define convs-out-s (make-semaphore 1)) ; TODO finish logging all error related messages to |