biod.pnpi.spb.ru
/
alexxy
/
gromacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Replace most strdup with gmx_strdup
[alexxy/gromacs.git]
/
src
/
gromacs
/
gmxana
/
gmx_trjconv.c
diff --git
a/src/gromacs/gmxana/gmx_trjconv.c
b/src/gromacs/gmxana/gmx_trjconv.c
index dcb57c94f1b62d98cb351ee44fc4a88891e09247..d37df65a535e4cb9b8e286f73bbed4fd4cecaacd 100644
(file)
--- a/
src/gromacs/gmxana/gmx_trjconv.c
+++ b/
src/gromacs/gmxana/gmx_trjconv.c
@@
-1043,7
+1043,7
@@
int gmx_trjconv(int argc, char *argv[])
{
gmx_fatal(FARGS, "Output file name '%s' does not contain a '.'", out_file);
}
- outf_base = strdup(out_file);
+ outf_base =
gmx_
strdup(out_file);
outf_base[outf_ext - out_file] = '\0';
}