Procházet zdrojové kódy

Consider only dirs and files in nftw(3)

master
Arun Prakash Jana před 8 roky
rodič
revize
b730c116d6
V databázi nebyl nalezen žádný známý klíč pro tento podpis ID GPG klíče: A75979F35C080412
1 změnil soubory, kde provedl 2 přidání a 7 odebrání
  1. +2
    -7
      nnn.c

+ 2
- 7
nnn.c Zobrazit soubor

@@ -1149,13 +1149,8 @@ show_help(void)
static int
sum_bsizes(const char *fpath, const struct stat *sb, int typeflag, struct FTW *ftwbuf)
{
/* Handle permission problems */
if(typeflag == FTW_NS) {
printmsg("No stats (permissions ?)");
return 0;
}

blk_size += sb->st_blocks;
if(typeflag == FTW_F || typeflag == FTW_D)
blk_size += sb->st_blocks;

return 0;
}


Načítá se…
Zrušit
Uložit