jjd@BBN.COM (James J Dempsey) (07/25/89)
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