Sha256: b20d3a8ab6a4eba7846659f7996e79467f68e86a2cb3c7ba92e9c60ac82ca347
Contents?: true
Size: 846 Bytes
Versions: 4
Compression:
Stored size: 846 Bytes
Contents
# # The flex-generated lexer handles some allocation errors with a fatal error. # The fatal error still calls fprintf() before exiting. We do the same as # PostgreSQL and redefine fprintf() to a function that -- in our case -- calls # longjmp(). The error is then handled in parser.c. # # With this scheme, blocks allocated by yy_scan_buffer() are still lost *if* # an allocation failure is deliberately triggered within that function. # # IOW, this leak only occurs when tests/runtests is compiled with -DTEST_ALLOC # and ndt_alloc_fail() is active. # { flex_inadequate_error_handling_lexer Memcheck:Leak match-leak-kinds: all ... fun:ndt_yy_scan_buffer fun:_ndt_from_string } { flex_inadequate_error_handling_bplexer Memcheck:Leak match-leak-kinds: all ... fun:ndt_bp_scan_buffer fun:ndt_from_bpformat }
Version data entries
4 entries across 4 versions & 1 rubygems