Patches item #310743, was opened at 27/04/2008 02:49 Status: Open Priority: 3 Submitted By: Flávio Cruz (flaviocruz-guest) Assigned to: Nobody (None) Summary: libsvg hurd patch Category: None Group: None Resolution: None
Initial Comment: libsvg-0.1.4 patch for GNU/Hurd ---------------------------------------------------------------------- >Comment By: Samuel Thibault (sthibaul-guest) Date: 29/04/2008 01:30 Message: Mmm, isn't libsvg supposed to be threadsafe? The assignation of pathmax variable is not safe: it may be -1 when another thread enters the function too. ---------------------------------------------------------------------- Comment By: Flávio Cruz (flaviocruz-guest) Date: 29/04/2008 01:14 Message: Updated :-) ---------------------------------------------------------------------- Comment By: Samuel Thibault (sthibaul-guest) Date: 27/04/2008 21:45 Message: Same comment about sysconf and _PC_PATH_MAX. You can also, when __GLIBC__ is defined, use getcwd(NULL,0) to have the string allocated with the right size. ---------------------------------------------------------------------- You can respond by visiting: http://alioth.debian.org/tracker/?func=detail&atid=410472&aid=310743&group_id=30628 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

