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

[debian-hurd-Patches][312483] sound/hexter-0.6.1



Patches item #312483, was changed at 01/05/2010 16:18 by Samuel Thibault
You can respond by visiting: 
https://alioth.debian.org/tracker/?func=detail&atid=410472&aid=312483&group_id=30628

Status: Open
Priority: 3
Submitted By: Gokturk Yuksek (gokturk-guest)
Assigned to: Nobody (None)
Summary: sound/hexter-0.6.1 
Category: posix
Group: unreviewed
Resolution: None


Initial Comment:
Proposed patch solves PATH_MAX problem by calling 'snprintf' function with (NULL, 0, ...)  parameters to calculate how many characters to read (including the \0 character), and then calling it again with an allocated buffer to do actual operation.

Build log is also attached.

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

>Comment By: Samuel Thibault (sthibault)
Date: 01/05/2010 16:41

Message:
Mmm, wouldn't it be simpler to allocate strlen(project_directory)+1+1?


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

You can respond by visiting: 
https://alioth.debian.org/tracker/?func=detail&atid=410472&aid=312483&group_id=30628


Reply to: