projects
/
gapil.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Modifiche rimaste indietro.
[gapil.git]
/
listati
/
DirMonitor.c
diff --git
a/listati/DirMonitor.c
b/listati/DirMonitor.c
index 65173c86ddef116fcf188c8d4d578efb7949d7d0..aa754cc31bf76c7dcdb713f501a3569a589e4b10 100644
(file)
--- a/
listati/DirMonitor.c
+++ b/
listati/DirMonitor.c
@@
-42,7
+42,7
@@
int main(int argc, char *argv[])
while (1) {
MutexLock(mutex); /* lock shared memory */
memset(shmptr, 0, sizeof(struct DirProp)); /* erase previous data */
while (1) {
MutexLock(mutex); /* lock shared memory */
memset(shmptr, 0, sizeof(struct DirProp)); /* erase previous data */
-
DirScan(argv[1], ComputeValues);
/* execute scan */
+
dir_scan(argv[1], ComputeValues);
/* execute scan */
MutexUnlock(mutex); /* unlock shared memory */
sleep(pause); /* sleep until next watch */
}
MutexUnlock(mutex); /* unlock shared memory */
sleep(pause); /* sleep until next watch */
}