delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/05/17/01:11:58

From: jazz AT softway DOT com (Jason Zions)
Subject: Re: Picking up include directories automatically
17 May 1997 01:11:58 -0700 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <337CB6C4.4B88.cygnus.gnu-win32@NoSpam.com>
References: <199705152232 DOT PAA00504 AT nz1 DOT netzone DOT com>
Reply-To: jazz AT softway DOT com
Mime-Version: 1.0
X-Mailer: Mozilla 3.01Gold (WinNT; I)
Original-To: Mikey <jeffdb AT netzone DOT com>
Original-CC: cygnus <gnu-win32 AT cygnus DOT com>
Original-Sender: owner-gnu-win32 AT cygnus DOT com

Actually, using a doubled-slash is indeed POSIX; a leading double-slash
in a pathname is explicitly called out as implementation-defined, and a
portable application should (a) deal with it without blowing up, and (b)
not ascribe any particular meaning to it. If anyone is interested, I can
get a specific chapter-and-verse citation.

The OpenNT POSIX-conforming environment for NT uses
//<driveletter>/<path> consistently, with very few (if any) source
changes required to publicly-available code. Once the
tmpdir()/tmpnam()/tempnam() functions are modified to "do the right
thing", most apps simply need slight changes to environment variables or
compile-time #defines to build correctly. Apache, for instance, came up
quite easily under OpenNT 2.0alpha and 2.0beta.

Disclosure: I work for Softway Systems, maker of OpenNT.

Jason Zions
http://www.softway.com
(email address diddled to prevent spamming)

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019