Date: Tue, 11 May 1999 12:12:27 +0200 (CEST) From: Harold Gutch <logix@foobar.franken.de> To: FreeBSD-gnats-submit@freebsd.org Subject: docs/11645: The dir(5) manpage does not mention the unportability of d_type (fix included) Message-ID: <199905111012.MAA12150@foobar.franken.de>
next in thread | raw e-mail | index | archive | help
>Number: 11645 >Category: docs >Synopsis: The dir(5) manpage does not mention the unportability of d_type (fix included) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Tue May 11 03:20:01 PDT 1999 >Closed-Date: >Last-Modified: >Originator: Harold Gutch >Release: FreeBSD 3.1-STABLE i386 >Organization: >Environment: Not relevant. >Description: The member d_type of struct dirent is FreeBSD-specific. The dir(5) manpage mentions d_type but does not mention the unportability in any way. It also does not mention that d_type does not work on all filesystems. >How-To-Repeat: Read the fine manpage. >Fix: --- dir.5.orig Tue May 11 11:52:08 1999 +++ dir.5 Tue May 11 11:57:30 1999 @@ -148,6 +148,9 @@ .Sh SEE ALSO .Xr fs 5 , .Xr inode 5 +.Sh BUGS +The usage of the member d_type of struct dirent is unportable as it is FreeBSD-specific. +It also may fail on certain filesystems, for example the cd9660 filesystem. .Sh HISTORY A .Nm >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199905111012.MAA12150>