summaryrefslogtreecommitdiff
path: root/math/moab/files/patch-src_io_WriteNCDF.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'math/moab/files/patch-src_io_WriteNCDF.cpp')
-rw-r--r--math/moab/files/patch-src_io_WriteNCDF.cpp15
1 files changed, 0 insertions, 15 deletions
diff --git a/math/moab/files/patch-src_io_WriteNCDF.cpp b/math/moab/files/patch-src_io_WriteNCDF.cpp
deleted file mode 100644
index bba6c59dcfd1..000000000000
--- a/math/moab/files/patch-src_io_WriteNCDF.cpp
+++ /dev/null
@@ -1,15 +0,0 @@
-- workaround for https://bitbucket.org/fathomteam/moab/issues/157/please-do-not-convert-null-to-char-this
-
---- src/io/WriteNCDF.cpp.orig 2021-11-12 00:54:52 UTC
-+++ src/io/WriteNCDF.cpp
-@@ -160,8 +160,8 @@ void WriteNCDF::time_and_date( char* time_string, char
- strftime( date_string, TIME_STR_LEN, "%m/%d/%Y", local_time );
-
- // Terminate with NULL character
-- time_string[10] = (char)NULL;
-- date_string[10] = (char)NULL;
-+ time_string[10] = (char)0;
-+ date_string[10] = (char)0;
- }
-
- ErrorCode WriteNCDF::write_file( const char* exodus_file_name, const bool overwrite, const FileOptions& opts,