From: cherry314159 (cherry314159_at_[hidden])
Date: 2004-10-22 01:51:42
Jam is able to read Microsoft LIB libraries (i.e. extract member names
and timestamp). However, non-MS libraries such as those produced by
the GNU tool chain (cygwin, mingw, etc) have a slightly different
format for handling library members whose file name length is greater
than 15 characters. Long names are stored in a special string section
and the Microsoft way separates these names with a NUL characters;
the GNU way uses a line feed ('\n'). The patch below allows Jam to
handle both types.
Here's the output of diff filent.c.old filent.c
> while (*endname != '\0' && *endname != '\n')
> if (string_table)
The second changes frees the string_table avoiding a minor memory leak;
the version on unix also frees the string_table.
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk