diff options
author | Yuri Victorovich <yuri@FreeBSD.org> | 2018-11-24 03:10:29 +0000 |
---|---|---|
committer | Yuri Victorovich <yuri@FreeBSD.org> | 2018-11-24 03:10:29 +0000 |
commit | ed411ada6fd23e1dd9363b7f96786df9ecbb66a8 (patch) | |
tree | 22cd8730c2cf8518ca045b5b8e3a7fd74fe1c9cd /math/moab/files/patch-src_io_WriteNCDF.cpp | |
parent | sysutils/munin-master: Include provisioning tool warning post r485721 (diff) |
math/moab: Update 4.6.3 -> 5.0.0
Port changes:
* Change MASTER_SITES to bitbucket where official releases are
* Change to CMAKE
* Add MPI option
* Fix WWW
Reported by: portscout
Notes
Notes:
svn path=/head/; revision=485723
Diffstat (limited to 'math/moab/files/patch-src_io_WriteNCDF.cpp')
-rw-r--r-- | math/moab/files/patch-src_io_WriteNCDF.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/math/moab/files/patch-src_io_WriteNCDF.cpp b/math/moab/files/patch-src_io_WriteNCDF.cpp index 36e804036893..8c91cad073bb 100644 --- a/math/moab/files/patch-src_io_WriteNCDF.cpp +++ b/math/moab/files/patch-src_io_WriteNCDF.cpp @@ -1,13 +1,13 @@ ---- src/io/WriteNCDF.cpp.orig 2018-11-05 01:47:40 UTC +--- src/io/WriteNCDF.cpp.orig 2018-11-23 06:26:09 UTC +++ src/io/WriteNCDF.cpp -@@ -154,8 +154,8 @@ void WriteNCDF::time_and_date(char* time +@@ -161,8 +161,8 @@ void WriteNCDF::time_and_date(char* time strftime(date_string, TIME_STR_LEN, "%m/%d/%Y", local_time); - // terminate with NULL character + // 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, + ErrorCode WriteNCDF::write_file(const char *exodus_file_name, |