summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjhurst <jhurst@cinecert.com>2011-03-08 19:18:32 +0000
committerjhurst <>2011-03-08 19:18:32 +0000
commit6a19e4f305c6936ea3a09e2f96a622372e1f4ab2 (patch)
tree158ae6b99fc70d0eb37bb7871edd6676d227f0bd /src
parent3feb7cc3f014bf1b2806b3b6819d80d684434e8f (diff)
compiler warnings never cease
Diffstat (limited to 'src')
-rw-r--r--src/KM_fileio.cpp6
-rwxr-xr-xsrc/KM_log.cpp4
-rwxr-xr-xsrc/KM_util.h2
-rwxr-xr-xsrc/asdcp-test.cpp4
4 files changed, 10 insertions, 6 deletions
diff --git a/src/KM_fileio.cpp b/src/KM_fileio.cpp
index 0bc8b8e..5d728cc 100644
--- a/src/KM_fileio.cpp
+++ b/src/KM_fileio.cpp
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2004-2009, John Hurst
+Copyright (c) 2004-2011, John Hurst
All rights reserved.
Redistribution and use in source and binary forms, with or without
@@ -37,6 +37,10 @@ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#ifdef KM_WIN32
#include <direct.h>
+#else
+#define _getcwd getcwd
+#define _unlink unlink
+#define _rmdir rmdir
#endif
using namespace Kumu;
diff --git a/src/KM_log.cpp b/src/KM_log.cpp
index ca8208f..21c3df7 100755
--- a/src/KM_log.cpp
+++ b/src/KM_log.cpp
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2004-2009, John Hurst
+Copyright (c) 2004-2011, John Hurst
All rights reserved.
Redistribution and use in source and binary forms, with or without
@@ -126,7 +126,7 @@ Kumu::WinDbgLogSink::WriteEntry(const LogEntry& Entry)
if ( Entry.TestFilter(m_filter) )
{
-
+ Entry.CreateStringWithOptions(buf, m_options);
::OutputDebugStringA(buf.c_str());
}
}
diff --git a/src/KM_util.h b/src/KM_util.h
index 2a42458..0b37e38 100755
--- a/src/KM_util.h
+++ b/src/KM_util.h
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2005-2009, John Hurst
+Copyright (c) 2005-2011, John Hurst
All rights reserved.
Redistribution and use in source and binary forms, with or without
diff --git a/src/asdcp-test.cpp b/src/asdcp-test.cpp
index d571922..e60f4d3 100755
--- a/src/asdcp-test.cpp
+++ b/src/asdcp-test.cpp
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2003-2010, John Hurst
+Copyright (c) 2003-2011, John Hurst
All rights reserved.
Redistribution and use in source and binary forms, with or without
@@ -103,7 +103,7 @@ banner(FILE* stream = stdout)
{
fprintf(stream, "\n\
%s (asdcplib %s)\n\n\
-Copyright (c) 2003-2010 John Hurst\n\n\
+Copyright (c) 2003-2011 John Hurst\n\n\
asdcplib may be copied only under the terms of the license found at\n\
the top of every file in the asdcplib distribution kit.\n\n\
Specify the -h (help) option for further information about %s\n\n",