[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[debian-hurd-Patches][310743] libsvg hurd patch



Patches item #310743, was opened at 2008-04-27 00: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: Flávio Cruz (flaviocruz-guest)
Date: 2008-04-30 00:20

Message:
Oops, forgot about that.

Do you think 1024 is a good default value? I think that it is used in GNULib.

By the way, do you know a better way to tackle PATH_MAX issues?

----------------------------------------------------------------------

Comment By: Samuel Thibault (sthibaul-guest)
Date: 2008-04-28 23: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: 2008-04-28 23:14

Message:
Updated :-)

----------------------------------------------------------------------

Comment By: Samuel Thibault (sthibaul-guest)
Date: 2008-04-27 19: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


Reply to: