Skip to content

Commit

Permalink
Merge branch 'jb49745' into 'master'
Browse files Browse the repository at this point in the history
[scratchbox2] Use stat64 in place of stat. JB#49745

See merge request mer-core/scratchbox2!28
  • Loading branch information
Matti Kosola committed Jun 4, 2020
2 parents 9007aa2 + b7548fa commit 16dd119
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scratchbox2/utils/sb2-show.c
Expand Up @@ -764,9 +764,9 @@ static int cmd_verify_pathlist_mappings(const command_table_t *cmdp,
}

if (opts->opt_ignore_directories) {
struct stat statbuf;
struct stat64 statbuf;

if ((stat(mapped_path, &statbuf) == 0) &&
if ((stat64(mapped_path, &statbuf) == 0) &&
S_ISDIR(statbuf.st_mode)) {
if (opts->opt_verbose)
printf("%s => %s: dir, ignored\n",
Expand Down

0 comments on commit 16dd119

Please sign in to comment.