svn commit: r239193 - head/lib/libc/gen
Ian Lepore
freebsd at damnhippie.dyndns.org
Sat Aug 11 15:03:41 UTC 2012
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
More information about the svn-src-head
mailing list