This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] add gdb.threads/pthread_cond_wait.* in fnchange.lst


> Date: Wed, 19 May 2004 15:00:40 -0700
> From: Joel Brobecker <brobecker@gnat.com>
> 
>         * config/djgpp/fnchange.lst: Add entries for pthread_cond_wait.exp
>         and pthread_cond_wait.c.
> 
> I must admit that i was confused a bit by what I saw. For instance,
> I saw that we didn't translate the "testsuite" part in the path,
> although it has 9 characters. Nor did we translate directory names
> such as "gdb.base" or "gdb.arch" (extension has more than 3 chars).

The OS truncates the names to 8+3 limits automatically when the
tarball is untarred; that truncation is an integral part of the
operation of the DOS system calls which work with file names.  So the
only 2 problems that we need to fix with entries in fnchange.lst are:

  - When 2 or more files produce the same name after truncation to
    8+3;

  - When a file's name includes characters that are disallowed in DOS
    file names.  Examples of such characters include `+', `,', `:',
    and a few more.  File names with leading dots, like .gdbinit, are
    also not allowed.

The fnchange.lst file is submitted to a program used to untar the
distribution (see djunpack.bat for the gory details), and which
performs the renaming on the fly.  That program automatically renames
some of the files whose names are invalid on DOS and are frequently
used in GNU software, like foo.c++, .foobar, etc.  This is another
reason that some invalid names might be missing from fnchange.lst.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]