AMBER Archive (2006)

Subject: Re: AMBER: top2mol2.c scanf format string bug

From: David A. Case (case_at_scripps.edu)
Date: Tue Nov 07 2006 - 10:18:43 CST


On Mon, Nov 06, 2006, Chris Moth wrote:

> In $AMBERHOME/src/antechamber/top2mol2.c there is this:
>
> 21: long crd_atomnum = 0;
> ....
> 194: sscanf(line, "%d", &crd_atomnum);

Thanks for the note. Junmei and I think that the better solution is to use
"int" rather than "long" for the declarations in this file. We will be posting
a bug-fix related to this soon.

...regards....dave case

-- 

================================================================== David A. Case | e-mail: case_at_scripps.edu Dept. of Molecular Biology, TPC15 | fax: +1-858-784-8896 The Scripps Research Institute | phone: +1-858-784-9768 10550 N. Torrey Pines Rd. | skype: dacase La Jolla CA 92037 USA | http://www.scripps.edu/case ================================================================== ----------------------------------------------------------------------- The AMBER Mail Reflector To post, send mail to amber_at_scripps.edu To unsubscribe, send "unsubscribe amber" to majordomo_at_scripps.edu