Bug 14965 - stat port doesn't know fifo file type
Summary: stat port doesn't know fifo file type
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-18 00:00 UTC by krentel
Modified: 2003-03-04 07:34 UTC (History)
0 users

See Also:


Attachments
file.diff (401 bytes, patch)
1999-11-18 00:00 UTC, krentel
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description krentel 1999-11-18 00:00:01 UTC
The stat-1.3 port (sysutils) doesn't recognize type FIFO.
Instead, it reports Filetype: "Unknown" and Mode: "?".

In Mark's Humble Opinion, I prefer "FIFO" to "Named Pipe".

P.S. If someone commits this patch, please also take a look
at PR ports/12761 and PR ports/13823 (other minor problems 
with stat).

How-To-Repeat: % mkfifo myfifo
% /usr/local/bin/stat myfifo 
  File: "myfifo"
  Size: 0       Allocated Blocks: 0     Filetype: Unknown
  Mode: (0755/?rwxr-xr-x)       Uid: (1000/krentel) Gid: (1000/krentel)
Device: 263173  Inode: 316429   Links: 1        
Access: Wed Nov 17 15:18:22 1999
Modify: Wed Nov 17 15:18:22 1999
Change: Wed Nov 17 15:18:22 1999

%
Comment 1 cpiazza freebsd_committer freebsd_triage 1999-11-25 00:43:24 UTC
Responsible Changed
From-To: freebsd-ports->wosch

Over to maintainer 
Comment 2 Kris Kennaway freebsd_committer freebsd_triage 2003-03-04 07:34:38 UTC
State Changed
From-To: open->closed

Patch committed, thanks!