public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* gcc/doschk.c
@ 2001-11-01 12:04 Joseph S. Myers
  2001-11-01 12:13 ` gcc/doschk.c Stan Shebs
  2001-11-01 12:34 ` gcc/doschk.c DJ Delorie
  0 siblings, 2 replies; 3+ messages in thread
From: Joseph S. Myers @ 2001-11-01 12:04 UTC (permalink / raw)
  To: gcc

Is the file gcc/doschk.c used for anything in GCC?  If not, does it belong
here?  There is, for example, another version in the src repository,
src/utils/misc/doschk/doschk.c.

-- 
Joseph S. Myers
jsm28@cam.ac.uk

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: gcc/doschk.c
  2001-11-01 12:04 gcc/doschk.c Joseph S. Myers
@ 2001-11-01 12:13 ` Stan Shebs
  2001-11-01 12:34 ` gcc/doschk.c DJ Delorie
  1 sibling, 0 replies; 3+ messages in thread
From: Stan Shebs @ 2001-11-01 12:13 UTC (permalink / raw)
  To: Joseph S. Myers; +Cc: gcc

"Joseph S. Myers" wrote:
> 
> Is the file gcc/doschk.c used for anything in GCC?  If not, does it belong
> here?  There is, for example, another version in the src repository,
> src/utils/misc/doschk/doschk.c.

It was once used to check that filenames met all the length limits
and similar rules for DOS and SysV filesystems.  It doesn't seem
that people worry much about any of that anymore, so if it's not
going to be used, no point in keeping it around.

Stan

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: gcc/doschk.c
  2001-11-01 12:04 gcc/doschk.c Joseph S. Myers
  2001-11-01 12:13 ` gcc/doschk.c Stan Shebs
@ 2001-11-01 12:34 ` DJ Delorie
  1 sibling, 0 replies; 3+ messages in thread
From: DJ Delorie @ 2001-11-01 12:34 UTC (permalink / raw)
  To: jsm28; +Cc: gcc


> Is the file gcc/doschk.c used for anything in GCC?  If not, does it belong
> here?  There is, for example, another version in the src repository,
> src/utils/misc/doschk/doschk.c.

The doschk master is doschk-1.1.tar.gz on the FSF ftp sites (on the
non-gnu side).  There is no need to keep it in any of the
repositories.

Maintainers are encouraged to use doschk on files they add to the
repository, to see any potential conflicts caused by the 8.3 file
limit.  While not an official policy to support such systems (in fact,
even djgpp's gcc is built on a system that supports long file names),
if there is little or no cost in such support there are some benefits
to doing so.

You get reports like this:

./.cvsignore - file name cannot start with dot

The following resolve to the same DOS file names:
BUILTIN-.DEF   : ./builtin-attrs.def
                 ./builtin-types.def
FLOAT-I3.H     : ./config/float-i32.h
                 ./config/float-i386.h

doschk also tests for uniqueness on old unixes with 14-character
limits, like this:

The following resolve to the same SysV file names:
FSFChangeLog.1 : ./FSFChangeLog.10
                 ./FSFChangeLog.11
unwind-dw2-fde : ./unwind-dw2-fde.c
                 ./unwind-dw2-fde.h

The following file names are too long for SysV:
cris_abi_symbo : ./config/cris/cris_abi_symbol.c
irix6-libc-com : ./config/mips/irix6-libc-compat.c
stormy16-lib2. : ./config/stormy16/stormy16-lib2.c

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-11-13  1:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-11-01 12:04 gcc/doschk.c Joseph S. Myers
2001-11-01 12:13 ` gcc/doschk.c Stan Shebs
2001-11-01 12:34 ` gcc/doschk.c DJ Delorie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).