httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sam Robb <sr...@wisewire.com>
Subject RE: [PATCH] Improve implementation of -c/-Cdirective reading
Date Thu, 15 Jan 1998 23:44:24 GMT
Don't know if this is what you were asking for, but...

CON, PRN, AUX, NUL, LPTn, COMn.

Some other ones to watch out for with fopen() on NT,
which ends up calling CreateFile():

- CONIN$ and CONOUT$ for console input and output
- devices begin with "\\.\" ("\\.\C:", "\\.\PhysicalDrive0",
"\\.\SbAux0", etc.)
- other names beginning with "\\" might be UNC paths

- Samrobb (srobb@wisewire.com)
- WiseWire Corporation - "Information - Online, On Target, All the Time"
- http://www.wisewire.com
- http://www.lycos.com/webguides/webguides.html

The box said 'Requires Windows 95, or better.' So I bought a Macintosh.



> -----Original Message-----
> From:	Martin Kraemer [SMTP:Martin.Kraemer@mch.sni.de]
> Sent:	Thursday, January 15, 1998 4:10 PM
> To:	new-httpd@apache.org
> Subject:	Re: [PATCH] Improve implementation of -c/-Cdirective
> reading
> 
> On Thu, Jan 15, 1998 at 10:00:26PM +0100, Martin Kraemer wrote:
> > *   And finally, even devices would be considered valid input for
> config
> >     file reading (/dev/zero certainly being the one with the largest
> >     number of bytes in it).
> >     [allowing only /dev/null as a convenience, no other devices
> now.]
> 
> ...and for WIN32 and _EMX_ the test should probably check for names as
> "con" or "con:", "ptn", "prn:" and the like instead of S_IFREG(), or
> is
> there an S_IFREG() in MSVC which returns FALSE for them?
> What other pseudo devices besides "nul", "nul:" and the ones mentioned
> above are there in Windoze?
> 
>     Martin
> -- 
> | S I E M E N S |  <Martin.Kraemer@mch.sni.de>  |      Siemens Nixdorf
> | ------------- |   Voice: +49-89-636-46021     |  Informationssysteme
> AG
> | N I X D O R F |   FAX:   +49-89-636-44994     |   81730 Munich,
> Germany
> ~~~~~~~~~~~~~~~~My opinions only, of course; pgp key available on
> request

Mime
View raw message