Files
semi-libc/include
Rich Felker 37bb3cce45 omit declaration of basename wrongly interpreted as prototype in C++
the non-prototype declaration of basename in string.h is an ugly
compromise to avoid breaking 2 types of broken software:

1. programs which assume basename is declared in string.h and thus
would suffer from dangerous pointer-truncation if an implicit
declaration were used.

2. programs which include string.h with _GNU_SOURCE defined but then
declare their own prototype for basename using the incorrect GNU
signature for the function (which would clash with a correct
prototype).

however, since C++ does not have non-prototype declarations and
interprets them as prototypes for a function with no arguments, we
must omit it when compiling C++ code. thankfully, all known broken
apps that suffer from the above issues are written in C, not C++.
2012-05-09 11:47:06 -04:00
..
2011-06-09 21:47:24 -04:00
2012-05-04 00:31:25 -04:00
2012-05-06 16:35:32 -04:00
2011-02-12 00:22:29 -05:00
2012-03-22 20:00:58 -04:00
2011-02-12 00:22:29 -05:00
2011-06-27 01:02:28 -04:00
2011-02-12 00:22:29 -05:00
2011-04-05 11:16:49 -04:00
2011-02-12 00:22:29 -05:00
2011-02-12 00:22:29 -05:00
2012-03-21 12:42:48 -04:00
2011-02-12 00:22:29 -05:00
2011-02-12 00:22:29 -05:00
2011-02-14 21:59:38 -05:00
2012-05-06 16:35:32 -04:00
2011-02-12 00:22:29 -05:00
2011-02-12 00:22:29 -05:00
2011-02-12 00:22:29 -05:00
2012-05-05 22:22:46 -04:00
2011-04-13 15:24:26 -04:00
2012-03-21 00:47:37 -04:00
2011-02-12 00:22:29 -05:00
2011-02-12 00:22:29 -05:00
2011-02-12 00:22:29 -05:00
2011-02-12 00:22:29 -05:00
2012-01-29 11:54:18 -05:00
2011-09-21 21:01:56 -04:00
2011-02-12 00:22:29 -05:00
2011-09-20 14:51:56 -04:00
2011-02-12 00:22:29 -05:00
2011-04-05 15:40:36 -04:00
2011-02-12 00:22:29 -05:00
2012-04-18 13:11:35 -04:00
2012-04-18 12:22:24 -04:00
2011-02-12 00:22:29 -05:00
2011-02-12 00:22:29 -05:00
2012-05-06 16:35:32 -04:00