From ecaa02203de0c84c240da8b07d47e919d0863b2b Mon Sep 17 00:00:00 2001 From: meep-eep Date: Thu, 10 Jun 2004 14:14:04 +0000 Subject: [PATCH] Cleaned up use of the DEBUG define: - renamed the DEBUG define for debugging specific code. In the top of the relevant files there is an commented out define to activate debugging for that file. - removed entire DEBUG sections where it is no longer relevant - compile with DEBUG defined when building a debugging binary Code that produces general warnings is kept in DEBUG blocks. git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1377 8092fc87-c524-0410-9efc-e669fe64eaf9 --- sc2/src/sc2code/libs/file/files.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sc2/src/sc2code/libs/file/files.c b/sc2/src/sc2code/libs/file/files.c index d590889b4..60a100851 100644 --- a/sc2/src/sc2code/libs/file/files.c +++ b/sc2/src/sc2code/libs/file/files.c @@ -145,7 +145,7 @@ copyError(uio_Handle *srcHandle, uio_Handle *dstHandle, savedErrno = errno; #ifdef DEBUG - fprintf (stderr, "Error while copying: %s\n", strerror (errno)) + fprintf (stderr, "Error while copying: %s\n", strerror (errno)); #endif if (srcHandle != NULL)