Date: Tue, 19 Jan 1999 20:51:27 +0100 (CET) From: Alexander Leidinger <netchild@wurzelausix.cs.uni-sb.de> To: current@FreeBSD.ORG Subject: readdir & cd9660 & direntp->d_type == bug? Message-ID: <199901191951.UAA01392@Vodix.CS.Uni-SB.de>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901191951.UAA01392>