[Top][All Lists]

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

Re: [Bug-tar] readlink(2) semantics

From: Sergey Poznyakoff
Subject: Re: [Bug-tar] readlink(2) semantics
Date: Thu, 22 Apr 2004 20:54:32 +0300

Christian Weisgerber <address@hidden> wrote:

> readlink(2) does NOT append a \0 character to the buffer, so the
> len+1 allocation doesn't make sense here and passing len+1 to
> readlink() is wrong.

Yes, you're right, though it won't hurt, anyway.

Thank you


reply via email to

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