bugGNU Wget - Bugs: bug #33822, [PATCH] don't use PATH_MAX (FTBFS...

 
 

bug #33822: [PATCH] don't use PATH_MAX (FTBFS on hurd)

Submitter:  Noël Köthe <nok>
Submitted:  Sat 23 Jul 2011 07:56:08 AM UTC
   
 
Category:  Feature Request Severity:  3 - Normal
Priority:  5 - Normal Status:  Fixed
Privacy:  Public Assigned to:  gscrivano
Originator Name:  Open/Closed:  Closed
Release:  1.12 Operating System:  None
Reproducibility:  None Fixed Release:  None
Planned Release:  None Regression:  None
Work Required:  None Patch Included:  Yes
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 26 Jul 2011 10:52:54 AM UTC, comment #1: 

thanks.  I have included the patch.

Giuseppe Scrivano <gscrivano>
Group administrator
Sat 23 Jul 2011 07:56:08 AM UTC, original submission:  

Hello,

a forwarded patch from http://bugs.debian.org/595538

--8<--
From: Carlos Martín Nieto <carlos@cmartin.tk>
To: -email is unavailable-
Cc: -email is unavailable-
Subject: wget: [PATCH] don't use PATH_MAX (FTBFS on hurd)
Date: Sun, 05 Sep 2010 00:02:46 +0100

[Message part 1 (text/plain, inline)]

Package: wget
Version: 1.12-2

 The constant PATH_MAX is not defined when building in Hurd. This patch
changes src/init.c:home_dir() to allocate memory dynamically.

 In the first part, we figure out how long the path is and only allocate
that much (+1 for the null terminator).

 In the second part, there is no need to use the `buf' variable at all.
We just point `home' to the path, as it's going to be duplicated later.

 This compiles, but I don't have a DOS box to test.

   cmn
--8<--

Noël Köthe <nok>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #23683:  wget-no-path_max.dpatch added by nok (2KiB - application/octet-stream - patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by gscrivano (Posted a comment)
  • -email is unavailable- added by nok (Submitted the item)
  • -email is unavailable- added by nok
  •  

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-07-26 gscrivano StatusNone Fixed
        Assigned toNone gscrivano
        Open/ClosedOpen Closed
    2011-07-23 nok Attached File- Added wget-no-path_max.dpatch, #23683
        Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code