bug-gnu-utils
[Top][All Lists]
Advanced

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

Bug Report: sed-4.1.4 misinterprets uClibc's malloc (patch included)


From: Yuri Vasilevski
Subject: Bug Report: sed-4.1.4 misinterprets uClibc's malloc (patch included)
Date: Tue, 23 Aug 2005 23:17:40 -0500

Hi,

Recent versions of sed expect glibc behavior form malloc, i.e.
malloc(0) return live pointer. This is not true for uClibc (and many
other old/classical libc implementations).

So I made and attach a patch to solve this problem. It basically makes
re_node_set_alloc(set,0) behave exactly as re_node_set_init_empty(set).

Yuri.

Attachment: sed-4.1.4-malloc.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]