projects
/
gapil.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Informazioni varie
[gapil.git]
/
listati
/
ComputeValues.c
diff --git
a/listati/ComputeValues.c
b/listati/ComputeValues.c
index bc11c2850a7c965b1e13768f781bec8e5491ea05..1ad64ff6ca0f77a0626ed37a157d06a2e3cab8b5 100644
(file)
--- a/
listati/ComputeValues.c
+++ b/
listati/ComputeValues.c
@@
-1,8
+1,8
@@
-/* Routine to compute directory properties inside
DirS
can */
+/* Routine to compute directory properties inside
dir_s
can */
int ComputeValues(struct dirent * direntry)
{
struct stat data;
int ComputeValues(struct dirent * direntry)
{
struct stat data;
- stat(direntry->d_name, &data);
/* get stat data */
+ stat(direntry->d_name, &data); /* get stat data */
shmptr->tot_size += data.st_size;
shmptr->tot_files++;
if (S_ISREG(data.st_mode)) shmptr->tot_regular++;
shmptr->tot_size += data.st_size;
shmptr->tot_files++;
if (S_ISREG(data.st_mode)) shmptr->tot_regular++;