🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.bash.bug
Article #380

more on previous message about sockets

#380
From: James J Dempsey
Date: Tue, 25 Jul 1989 14:04
16 lines
959 bytes
Re: sockets completing as directories

I guess I gave the wrong proposed solution in my previous message.
Instead of checking that st_mode is S_IFDIR and not S_IFSOCK, it looks
like you are supposed to mask st_mode with S_IFMT and then check to
see if it is equal to S_IFDIR.

A quick grep through the sources (for "S_IF") indicates that this
mistake might also exist in execute_cmd.c in execute_simple_command().  

		--Jim Dempsey--
		BBN Communications
		jjd@bbn.com (ARPA Internet)
                ..!{decvax, harvard, wjh12, linus}!bbn!jjd

	
Technical Details
Message-ID: <8907251414.AA11629@life.ai.mit.edu>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!tmsoft!dptcdc!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!BBN.COM!jjd

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!mnetor!tmsoft!dptcdc!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!BBN.COM!jjd
From: jjd@BBN.COM (James J Dempsey)
Newsgroups: gnu.bash.bug
Subject: more on previous message about sockets
Message-ID: <8907251414.AA11629@life.ai.mit.edu>
Date: 25 Jul 89 14:04:48 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 16