summaryrefslogtreecommitdiff
path: root/src/inp_str.c
diff options
context:
space:
mode:
authorzimmerma <zimmerma@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2009-04-02 09:33:07 +0000
committerzimmerma <zimmerma@211d60ee-9f03-0410-a15a-8952a2c7a4e4>2009-04-02 09:33:07 +0000
commite3e0eddce766fc00e3d49b55eac180c42846f67a (patch)
tree2ad1cda5a7d3e536ede4e1ddcb67e54e9ccac582 /src/inp_str.c
parente12e1242c028482a1add89e0b1b914de11b0bbf7 (diff)
downloadmpc-e3e0eddce766fc00e3d49b55eac180c42846f67a.tar.gz
[inp_str.c] added comment
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@531 211d60ee-9f03-0410-a15a-8952a2c7a4e4
Diffstat (limited to 'src/inp_str.c')
-rw-r--r--src/inp_str.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/inp_str.c b/src/inp_str.c
index 5c5db31..882de60 100644
--- a/src/inp_str.c
+++ b/src/inp_str.c
@@ -130,6 +130,7 @@ extract_string (FILE *stream)
strsize = nread + 1;
}
+ /* Warning: the sprintf does not allow overlap between arguments. */
n = lenstr + sprintf (str + lenstr, "(%s", suffix);
MPC_ASSERT (n == nread);