🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.bugs.sys5
Article #860

Bug in bs(1)

#860
From: Barnacle Wes
Date: Tue, 20 Sep 1988 02:16
15 lines
1007 bytes
There is a bug in the ftype() function in bs(1).  Ftype() is supposed to
return a character indicating the file type of the file named in the
first argument.  Ftype() returns a "d" for block-special files, when it
is supposed to return a "b"; "d" indicates a directory.  This has been
tested (and failed) on V.2 on 286 (MicroPort), NCR Tower (Unisys
5000/50), and the Tahoe System V environment (i.e. Unisys 7000/40).

If this has been noted before, I apologize for the redundancy.

		Wes Peters
-- 
                     {hpda, uwmcsd1}!sp7040!obie!wes

         "How do you make the boat go when there's no wind?"
                                 -- Me --
Technical Details
Message-ID: <186@obie.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!att!rutgers!mit-eddie!ll-xn!ames!lll-tis!oodis01!uplherc!sp7040!obie!wes

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!att!rutgers!mit-eddie!ll-xn!ames!lll-tis!oodis01!uplherc!sp7040!obie!wes
From: wes@obie.UUCP (Barnacle Wes)
Newsgroups: comp.bugs.sys5
Subject: Bug in bs(1)
Keywords: bs(1) ftype() wrong
Message-ID: <186@obie.UUCP>
Date: 20 Sep 88 02:16:40 GMT
Organization: the Well of Souls
Lines: 15