HP 3000 Manuals

Terminating File Name Strings [ New Features of MPE/iX: Using the Hierarchical File System ] MPE/iX 5.0 Documentation


New Features of MPE/iX: Using the Hierarchical File System

Terminating File Name Strings 

Many MPE/iX intrinsics that access a file by its file name require that
you terminate the file name string specified in the formaldesignator 
parameter with a nonalphanumeric character that is not reserved by
MPE/iX. Prior to MPE/iX Release 4.5, you could use the nonalphanumeric
characters, such as "-" and "_" to terminate a file name string.

Beginning with MPE/iX Release 4.5, the hyphen "-" and underscore "_"
characters can be interpreted as part of the file name if the system is
interpreting the name using HFS syntax.  (The system could then attempt
to interpret invalid data on the stack as part of the file name.)
Therefore, these two characters should no longer be used by the following
intrinsics to terminate a file name string:

   *   CATOPEN
   *   FLABELINFO
   *   FOPEN
   *   FPARSE
   *   FRENAME
   *   STACKDUMP

The above mentioned characters can still be used to terminate MPE syntax
names, but this is not recommended practice, because these characters
will not terminate an HFS-Escaped name.  The recommended practice is to
terminate a file name string with an ASCII null character.

For additional information about these intrinsics, refer to the
appropriate intrinsic descriptions located in the MPE/iX Intrinsics 
Reference Manual (32650-90028).



MPE/iX 5.0 Documentation