[PATCH 2/9] fsdosfsname01: New test

Chris Johns chrisj at rtems.org
Sun Jun 2 23:49:56 UTC 2013


Ralf Kirchner wrote:
> Test handling of file names and directory names according to Microsofts
> specification for the FAT file system. So far tested only for the
> default character set (code page 850).

Is the default character set the same as before in terms of functionality ?

+static void mount_device( const char *start_dir,
+  const rtems_dosfs_mount_options    *mount_opts )
+{
    ....
> +
> +  if ( NULL == opendir( start_dir ) ) {

This is not closed if the dir is present. Why not use a stat or just 
mkdir and check the result ?

Chris



More information about the devel mailing list