GNU bug report logs - #23848
sed not using unlocked_stdio

Previous Next

Package: sed;

Reported by: Tristan Verniquet <tverniquet <at> gmail.com>

Date: Sat, 25 Jun 2016 17:10:02 UTC

Severity: normal

Tags: fixed

Done: Assaf Gordon <assafgordon <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 23848 <at> debbugs.gnu.org (full text, mbox):

From: Assaf Gordon <assafgordon <at> gmail.com>
To: Tristan Verniquet <tverniquet <at> gmail.com>
Cc: 23848 <at> debbugs.gnu.org
Subject: Re: bug#23848: sed not using unlocked_stdio
Date: Sat, 25 Jun 2016 22:14:30 -0400
[Message part 1 (text/plain, inline)]
Hello Tristan,

> On Jun 25, 2016, at 08:10, Tristan Verniquet <tverniquet <at> gmail.com> wrote:
> Most reading and writing is done in utils.c, but this does not include
> sed.h or the "unlocked-io.h" header.

Thank you for the report.

The attached patch addresses the issue.
I see similar speed-ups on my system.

As sed is in the midst of several code changes, this patch is not yet pushed in to the git repository,
but I'm confident it will included in the upcoming sed-4.3 release.
I'll leave this bug 'open' until the patch is pushed.

regards,
 - assaf

[0001-sed-use-unlocked-io.patch (application/octet-stream, attachment)]

This bug report was last modified 8 years and 178 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.