bug-hurd
[Top][All Lists]
Advanced

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

Re: [PATCH 2/3] isofs: also copy the terminating zero in read_symlink_ho


From: Justus Winter
Subject: Re: [PATCH 2/3] isofs: also copy the terminating zero in read_symlink_hook
Date: Tue, 25 Mar 2014 09:05:58 +0100
User-agent: alot/0.3.4

Quoting Cyril Roelandt (2014-03-25 02:43:40)
> On 03/20/2014 02:01 PM, Justus Winter wrote:
> > * isofs/inode.c (read_symlink_hook): Use memcpy, also copy terminating
> > zero.
> > ---
> 
> 
> Are you interested in getting rid of the outdated bcopy() ? I have got a 
> Coccinelle patch ready :)

I'm still not very good with coccinelle, but that kind of patch is
within my reach ;)

I thought about that, but one still has to inspect every change,
because bcopy can cope with overlapping memory regions, whereas memcpy
does not.

Justus



reply via email to

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