🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Peter Su Wed, 28 Jun 1989 19:37
More on test -w
#169
Author: Peter Su
Date: Wed, 28 Jun 1989 19:37
8 lines
715 bytes
My last message was kind of bogus, I apologize.

The problem is that test -w always fails on directories. Seems that
the open call in SunOS 4.0 returns and error if you try to open a
directory for writing.  Thus, open may not be the way to handle the -w
switch to test.  Perhaps the fix would be to use access instead?

Pete
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