[Pkg-wmaker-commits] [wmfsm] 17/83: wmfsm: Read newly mounted filesystems.
Doug Torrance
dtorrance-guest at moszumanska.debian.org
Sun Aug 23 14:05:41 UTC 2015
This is an automated email from the git hooks/post-receive script.
dtorrance-guest pushed a commit to branch master
in repository wmfsm.
commit 0e4ac79ddfbb6f0ce916a4ac0195b47c894ce8f0
Author: Doug Torrance <dtorrance at monmouthcollege.edu>
Date: Thu Jan 22 00:22:03 2015 -0600
wmfsm: Read newly mounted filesystems.
Patch by Timo Benk <t_benk at web.de> to fix Debian bug #186826 [1].
[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?archive=yes&bug=186826
---
wmfsm/wmfsm.c | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/wmfsm/wmfsm.c b/wmfsm/wmfsm.c
index f8d9458..a82e57f 100644
--- a/wmfsm/wmfsm.c
+++ b/wmfsm/wmfsm.c
@@ -170,7 +170,6 @@ main(int argc, char *argv[])
*/
myName = strdup(argv[0]);
ParseCMDLine(argc, argv);
- readFileSystems();
openXwindow(argc, argv, wmfsm_master_xpm, wmfsm_mask_bits, wmfsm_mask_width, wmfsm_mask_height);
@@ -188,6 +187,10 @@ main(int argc, char *argv[])
}
#endif
while (1) {
+
+ readFileSystems ();
+ usleep (100);
+
/*
* Process any pending X events.
*/
@@ -518,6 +521,8 @@ readFileSystems()
}
}
#endif /* __OpenBSD__ || __FreeBSD__ */
+
+ fclose (fp);
excludeFileSystems();
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmfsm.git
More information about the Pkg-wmaker-commits
mailing list