From owner-freebsd-current Tue Jan 19 11:52:27 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA29750 for freebsd-current-outgoing; Tue, 19 Jan 1999 11:52:27 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from uni-sb.de (uni-sb.de [134.96.252.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA29741 for ; Tue, 19 Jan 1999 11:52:25 -0800 (PST) (envelope-from netchild@wurzelausix.cs.uni-sb.de) Received: from Vodix.CS.Uni-SB.de (maxtnt-133.telip.uni-sb.de [134.96.71.4]) by uni-sb.de (8.9.2/1999010400) with ESMTP id UAA14476 for ; Tue, 19 Jan 1999 20:52:17 +0100 (CET) Received: from wurzelausix.cs.uni-sb.de (localhost [127.0.0.1]) by Vodix.CS.Uni-SB.de (8.9.2/8.9.2) with ESMTP id UAA01392 for ; Tue, 19 Jan 1999 20:51:29 +0100 (CET) (envelope-from netchild@wurzelausix.cs.uni-sb.de) Message-Id: <199901191951.UAA01392@Vodix.CS.Uni-SB.de> Date: Tue, 19 Jan 1999 20:51:27 +0100 (CET) From: Alexander Leidinger Subject: readdir & cd9660 & direntp->d_type == bug? To: current@FreeBSD.ORG MIME-Version: 1.0 Content-Type: TEXT/plain; CHARSET=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, dirp = opendir("/cdrom"); direntp = readdir(dirp); results in direntp->d_type == DT_UNKNOWN for every kind of directoryentry, even if it is a directory or file. The man page didn't say it didn't work with CDs, so I assume it should work ( ;) ). current from "Sun Jan 17", Bye, Alexander. -- "Darth Vader sleeps with a Teddywookie." Fortune cookie http://netchild.home.pages.de/ A.Leidinger @ wurzelausix.cs.uni-sb.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message