malloc.h has never existed on Darwin. Programs that #include <malloc.h> without verifying whether it exists are considered buggy and have to be patched.
1/ Then I have no idea where I got the copy that I had before I reinstalled everything. Could it have been installed by a fink package, or do they usually stay out of /usr and such? (xfree excepted of course)
2/ That's half the world and his brother that just includes malloc.h. I'd say Apple is in a minority position here.
3/ But looking it up in the C standard (section 7.10.3.3) I find that you're right: the prototype should be in stdlib.h, and the standard does not mandate the existence of malloc.h.
You learn something every day.
--
Victor Eijkhout <[EMAIL PROTECTED]>, 329 Claxton, Comp Sci, UT, Knoxville TN 37996.
tel: 865 974 9308 (W), 865 673 6998 (H), 865 974 8296 (F)
http://www.cs.utk.edu/~eijkhout/
------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Fink-beginners mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-beginners