comparison src/fileio.c @ 21543:55865851fd69

(file_name_as_directory): For empty arg, return `./'.
author Karl Heuer <kwzh@gnu.org>
date Wed, 15 Apr 1998 06:12:48 +0000
parents 48def841655f
children 89e327fdea93
comparison
equal deleted inserted replaced
21542:19a199aaf3bc 21543:55865851fd69
482 482
483 strcpy (out, in); 483 strcpy (out, in);
484 484
485 if (size < 0) 485 if (size < 0)
486 { 486 {
487 out[0] = '/'; 487 out[0] = '.';
488 out[1] = 0; 488 out[1] = '/';
489 out[2] = 0;
489 return out; 490 return out;
490 } 491 }
491 492
492 #ifdef VMS 493 #ifdef VMS
493 /* Is it already a directory string? */ 494 /* Is it already a directory string? */