[PATCH] Fix recent fmemopen breakage
Andreas Jaeger
aj@suse.de
Sat Sep 2 08:07:00 GMT 2000
>>>>> Franz Sirl writes:
> Hi,
> the last change to fmemopen.c is a bit optimistic, it's not OK to free mem we
> didn't allocate, it may be a static buffer. The patch makes the testsuite
> happy again.
> Also included a small linuxthreads warning fix, it may be the wrong solution
> though, cause I find it a bit strange that testandset and __comapare_and_swap
> take differing kind of pointers.
> Franz.
> * libio/fmemopen.c (fmemopen_close): Don't free buffer if we didn't allocate
> it.
I've added this one already myself (same patch as yours).
> * linuxthreads/spinlock.h: Warning fix.
Uli has to comment on this,
Thanks,
Andreas
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj
More information about the Libc-alpha
mailing list