History log of /haiku-buildtools/jam/jcache.c
Revision Date Author Comments
# 531916da 25-Jul-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

jam: jcache: read_file(): fail when encountering too long lines

For its input files jam uses a buffer of 512 chars for fgets(). Lines
would therefore be split silently after that length, which could lead to
"interesting" issues. Now we fail to prevent the situation from going
unnoticed.


# 502f1ff9 25-Jul-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

jam: get_jcache(): clean up when reading the cache failed

When reading the cache file failed we have to assume it is corrupt and
we should use any entries read from it. So now we remove the ones we
read again.


# bbab887c 25-Jul-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

jam: delete_jamfile_cache(): don't free cache_file

The value is initialized from a static variable returned by
jcache_name().


# a9f1022a 25-Jul-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

jam: jcache: typo in comment


# a676a7f3 02-Mar-2010 Ingo Weinhold <ingo_weinhold@gmx.de>

Don't use unknown strings as fprintf() format.


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@35719 a95241bf-73f2-0310-859d-f6bbb57e9c96


# ecc89c9a 29-Dec-2005 Ingo Weinhold <ingo_weinhold@gmx.de>

Moved jam into the buildtools modules, where it belongs.


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@15729 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 531916daa2662e6c46d42288a5308788cc6d63af 25-Jul-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

jam: jcache: read_file(): fail when encountering too long lines

For its input files jam uses a buffer of 512 chars for fgets(). Lines
would therefore be split silently after that length, which could lead to
"interesting" issues. Now we fail to prevent the situation from going
unnoticed.


# 502f1ff979aae8f4ce4805ffa8a779819ecf6936 25-Jul-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

jam: get_jcache(): clean up when reading the cache failed

When reading the cache file failed we have to assume it is corrupt and
we should use any entries read from it. So now we remove the ones we
read again.


# bbab887c2f0f0370d3423aec9a8504b76c091fe6 25-Jul-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

jam: delete_jamfile_cache(): don't free cache_file

The value is initialized from a static variable returned by
jcache_name().


# a9f1022a2a7466a1d3d4fe7f103e2990f04ebfc9 25-Jul-2013 Ingo Weinhold <ingo_weinhold@gmx.de>

jam: jcache: typo in comment


# a676a7f33a6aeef4f38b91218f5151a3481754b7 02-Mar-2010 Ingo Weinhold <ingo_weinhold@gmx.de>

Don't use unknown strings as fprintf() format.


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@35719 a95241bf-73f2-0310-859d-f6bbb57e9c96


# ecc89c9a6a5d6741045dc121f17132e587060dec 29-Dec-2005 Ingo Weinhold <ingo_weinhold@gmx.de>

Moved jam into the buildtools modules, where it belongs.


git-svn-id: file:///srv/svn/repos/haiku/buildtools/trunk@15729 a95241bf-73f2-0310-859d-f6bbb57e9c96