🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by James J Dempsey Tue, 25 Jul 1989 14:04
more on previous message about sockets
#380
Author: 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

	
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads