rc-list - mailing list for the rc(1) shell
 help / color / mirror / Atom feed
From: Byron Rakitzis <byron>
To: rc
Subject: bizarre configuration error on the SGI
Date: Thu, 2 Apr 1992 09:42:40 -0600	[thread overview]
Message-ID: <92Apr2.094240cst.45331@archone.tamu.edu> (raw)

If you compile rc-1.4beta as-is on the SGI, then globbing will fail under
certain peculiar circumstances (for me: globbing in an NFS-mounted directory
from a NeXT. NOT from a Sun or another SGI, just a NeXT).

After some hair-pulling, I figured out that SGI has two different versions
of opendir & friends (!) one for BSD and one for System V. I guess one uses
"struct direct" and the other one "struct DIR", though it beats me why they
need to have both.

So anyway, it turns out that the BSD version is flawed, and that somehow
rc was getting compiled with that version instead of the SysV opendir. A
little more hunting showed that it's my fault: my config.h sets "NODIRENT"
if the macro "host_mips" is defined. Now, I was informed that this macro
was probably unique to RISCos machines, but lo and behold, SGI defines
it also.

So:

1) if you are compiling 1.4beta on an SGI, you need to edit config.h to
take out the #ifdef host_mips stuff.

2) if you have a RISCos machine, PLEASE let me know what a unique-to-RISCos
preprocessor macro might be.





                 reply	other threads:[~1992-04-02 15:42 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=92Apr2.094240cst.45331@archone.tamu.edu \
    --to=rc@hawkwind.utcs.toronto.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).