| author | Ingo Weinhold <ingo_weinhold@gmx.de> | 2010-03-02 13:30:31.0 +00:00:00 |
|---|---|---|
| committer | Ingo Weinhold <ingo_weinhold@gmx.de> | 2010-03-02 13:30:31.0 +00:00:00 |
| commit | a676a7f33a6aeef4f38b91218f5151a3481754b7 [patch] |
|
| tree | 2459853cac51357c79cde3f8250df011ae2da028 |
|
| parent | 89726009beb14aa5d3fc51839c69ddce416757fe |
|
| download | a676a7f33a6aeef4f38b91218f5151a3481754b7.tar.gz |
|
Don't use unknown strings as fprintf() format.
git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@35719 a95241bf-73f2-0310-859d-f6bbb57e9c96
Diff
jam/jcache.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jam/jcache.c b/jam/jcache.c index 9a0e4db..679001d 100644 --- a/jam/jcache.c +++ b/jam/jcache.c @@ -578,8 +578,8 @@ int j; // the lines for (j = 0; result && j < entry->strings->count; j++) { result = (fprintf(file, entry->strings->strings[j]) > 0); const char* string = entry->strings->strings[j]; result = (fwrite(string, strlen(string), 1, file) > 0); } } else result = 0;