Hi Paul and others, The gnulib macro 'allocsa' allocates memory on the stack or on the heap, depending whether the requested memory size is smaller than a threshold or not. 'freesa' frees such allocated memory.
The newest Microsoft runtime libraries contain functions with identical semantics under the names '_malloca', '_freea': http://msdn2.microsoft.com/en-us/library/5471dc8s(VS.80).aspx http://msdn2.microsoft.com/en-us/library/k8984a8h(VS.80).aspx There are the same now, and are not likely to change (given that the functions take just one argument). There is no reason for programmers to learn two different names for a facility, and the Microsoft naming is not so bad: 'malloca' reminds both 'malloc' and 'alloca'. Since Microsoft will probably not align their function names to gnulib naming (at least not in the immediately foreseeable future :-)), I propose to rename the functions and their modules: allocsa -> malloca freesa -> freea xallocsa -> xmalloca Of course we don't want the function name to start with an underscore; this is a Microsoftism. Objections? Have there been proposals to add functions/macros with these semantics to POSIX? Bruno
