$Log$
keyword.
When it expands, it will write extra lines in the
workfile. These lines must be prefixed with a string which indicates that
the line is a comment in that particular language.
To recognize the language, RCS on Unix reads the file extension. So a file main.c would be a C source file, loop.s would be an assembler source file, etc.
File extensions on RiscOS are, for historical reasons, handled in a very different way. A directory is used to indicate the kind of source file. So a file on Unix called hop/main.c is called hop.c.main on RiscOS.
In order to be able to recognize this extension directory on RiscOS, the file names on the command line must include the directory. A side-effect is that the RCS directory where the RCS file is searched will be one directory up. Internally the translation goes:
Command line | : | ci -Z hop.c.main |
Translated to Unix style by roname() | : | hop/main.c |
Corresponding RCS file | : | hop/RCS/main.c |
Translated to RiscOS style by UnixLib | : | hop.RCS.c.main |
$Log$
keyword. It simply copies the string that precedes
the keyword itself. Makes sense when you think about it.
For backwards compatibility they still maintain the comment field in the RCS file in the old way. This field is however no longer used in the actual expansion.
A description of this change, along with many others, can be found in the NEWS file supplied with the GNU sources.
To change the behaviour of the current issue of RCS for RiscOS (v5.7.1.2),
set the environment variable UnixFS$sfix
to an empty string.
*Set UnixFS$sfix ""A good place to do this is in the RCSstart file.
RCS$sfix
)
$Id: suffixes.html 1.3 2003/11/26 17:56:09 erikgrnh Exp $