Bug 14824 - no '\0' at the end of buffer
Summary: no '\0' at the end of buffer
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Wolfram Schneider
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1999-11-11 12:20 UTC by Sergey Shkonda
Modified: 2005-12-17 05:19 UTC (History)
0 users

See Also:


Attachments
file.diff (310 bytes, patch)
1999-11-11 12:20 UTC, Sergey Shkonda
no flags Details | Diff
file.diff (2.54 KB, patch)
1999-11-11 12:20 UTC, Sergey Shkonda
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Shkonda 1999-11-11 12:20:00 UTC
Sometimes stat(1) outputs bad character at the end of file
descrption

Fix: Here is the patches

How-To-Repeat: 
cd /tmp
touch ab abc
stat abc ab
Comment 1 Steve Price freebsd_committer freebsd_triage 1999-11-14 01:28:27 UTC
Responsible Changed
From-To: freebsd-ports->wosch

Over to port's maintainer. 

Comment 2 Jun Kuriyama freebsd_committer freebsd_triage 2003-07-08 00:57:36 UTC
Hi Wolfram,

Do you have a plan to integrate this patch into your distribution source?
Comment 3 Wolfram Schneider freebsd_committer freebsd_triage 2003-07-08 12:57:01 UTC
On 2003-07-08 08:57:36 +0900, kuriyama@FreeBSD.org wrote:
> Hi Wolfram,
> 
> Do you have a plan to integrate this patch into your distribution source?

Yes. I will create a new distribution next month. 
Be patient, -Wolfram

-- 
Wolfram Schneider <wosch@FreeBSD.org> http://wolfram.schneider.org
Comment 4 Mark Linimon 2003-11-05 06:12:24 UTC
Is this PR about sysutils/stat?  Is there are further progress on it?
Comment 5 Mark Linimon freebsd_committer freebsd_triage 2005-09-30 03:04:49 UTC
State Changed
From-To: open->suspended

With bugmeister hat on, mark this as 'suspended' since nothing has 
happened with it in quite some time.
Comment 6 Sam Lawrance freebsd_committer freebsd_triage 2005-12-17 05:16:55 UTC
State Changed
From-To: suspended->closed

There are two parts to this problem report. 

The description identifies a problem where long symlinks 
will printed without a terminating NUL character.  I have 
committed a fix for that problem. 

The patch section includes a patch providing new format 
functionality for stat.  Since that does not really belong 
in files/, I have not committed that part. 

Thanks for your contribution.