Merge branch 'master' into parse-logical-keyword
# Conflicts: # src/H5MD/dump_h5md.cpp
This commit is contained in:
@ -560,7 +560,8 @@ void DumpAtom::write_binary(int n, double *mybuf)
|
||||
|
||||
void DumpAtom::write_string(int n, double *mybuf)
|
||||
{
|
||||
fwrite(mybuf,sizeof(char),n,fp);
|
||||
if (mybuf)
|
||||
fwrite(mybuf,sizeof(char),n,fp);
|
||||
}
|
||||
|
||||
/* ---------------------------------------------------------------------- */
|
||||
|
||||
Reference in New Issue
Block a user