mod/maxgui.mod/fltkmaxgui.mod/src/fl_utf8.cxx
char fl_make_path( const char *path ) {
  if (fl_access(path, 0)) {
    const char *s = strrchr( path, '/' );
    if ( !s ) return 0;
    int len = s-path;
    char *p = (char*)malloc( len+1 );
    memcpy( p, path, len );
    p[len] = 0;
    fl_make_path( p );
    free( p );
    fl_mkdir(path, 0700);
  }
  return 1;
}
// recursively create a path in the file system
recursively create a path in the file system
recursively create a path in the file system
char fl_make_path( const char *path ) {
  if (fl_access(path, 0)) {
    const char *s = strrchr( path, '/' );
    if ( !s ) return 0;
    int len = s-path;
    char *p = (char*)malloc( len+1 );
    memcpy( p, path, len );
    p[len] = 0;
    fl_make_path( p );
    free( p );
    fl_mkdir(path, 0700);
  }
  return 1;
}
char fl_make_path ( const char * path ) { if ( fl_access ( path , 0 ) ) { const char * s = strrchr ( path , ' ' ) ; if ( ! s ) return 0 ; int len = s - path ; char * p = ( char * ) malloc ( len + 1 ) ; memcpy ( p , path , len ) ; p [ len ] = 0 ; fl_make_path ( p ) ; free ( p ) ; fl_mkdir ( path , 0700 ) ; } return 1 ; }
recursively create a path in the file system
recursively create a path in the file system