{
int size = strlen (in) - 1;
- if (size < 0)
- error ("Empty file name");
-
strcpy (out, in);
+ if (size < 0)
+ {
+ out[0] = '/';
+ out[1] = 0;
+ return out;
+ }
+
#ifdef VMS
/* Is it already a directory string? */
if (in[size] == ':' || in[size] == ']' || in[size] == '>')