Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Aug 2012 09:03:31 -0600
From:      Ian Lepore <freebsd@damnhippie.dyndns.org>
To:        svn-src-head@freebsd.org, src-committers@freebsd.org, svn-src-all@freebsd.org
Subject:   Re: svn commit: r239193 - head/lib/libc/gen
Message-ID:  <1344697411.1186.2.camel@revolution.hippie.lan>
In-Reply-To: <50266C9D.7080603@shatow.net>
References:  <201208111207.q7BC7OjO054225@svn.freebsd.org> <50266C9D.7080603@shatow.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 2012-08-11 at 09:30 -0500, Bryan Drewery wrote:
> On 8/11/2012 7:07 AM, Ed Schouten wrote:
> > Author: ed
> > Date: Sat Aug 11 12:07:24 2012
> > New Revision: 239193
> > URL: http://svn.freebsd.org/changeset/base/239193
> > 
> > Log:
> >   Rename aux.c to auxv.c.
> >   
> >   On Windows, AUX is the auxiliary device, usually pointing to COM1.
> >   Therefore it is forbidden to create a file named aux.c. To make it a bit
> >   easier for Windows users to check out our source code, rename this file
> >   to auxv.c.
> 
> FWIW, here's the entire list [1] to try to avoid:
> 
> CON, PRN, AUX, NUL, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8,
> COM9, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, and LPT9
> 
> [1] http://msdn.microsoft.com/en-us/library/aa365247.aspx
> 
> 

If we're worrying about such things (which I'm agnostic about),
filenames ending in a dot are apparently also not allowed.  When I turn
a fresh checkout of -current into a mercurial repo I get these warnings:

warning: filename contains 'aux', which is reserved on Windows: 'share/examples/libusb20/aux.c'
warning: filename contains 'aux', which is reserved on Windows: 'share/examples/libusb20/aux.h'
warning: filename ends with '.', which is not allowed on Windows: 'tools/test/sort/bigtest/q-1.024.003.'

-- Ian





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1344697411.1186.2.camel>