projects
/
oweals
/
cde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
77d1000
)
libtt/tt_file_system.C: coverity CID 86024; array vs singlton
author
Jon Trulson
<jon@radscan.com>
Sun, 1 Apr 2018 01:05:35 +0000
(19:05 -0600)
committer
Jon Trulson
<jon@radscan.com>
Sun, 1 Apr 2018 01:05:35 +0000
(19:05 -0600)
cde/lib/tt/lib/util/tt_file_system.C
patch
|
blob
|
history
diff --git
a/cde/lib/tt/lib/util/tt_file_system.C
b/cde/lib/tt/lib/util/tt_file_system.C
index 05c81b71029e4b693ec756005a54b610cf506e0f..368d3401fbdaab2a9457aa323efd17ac52afca3a 100644
(file)
--- a/
cde/lib/tt/lib/util/tt_file_system.C
+++ b/
cde/lib/tt/lib/util/tt_file_system.C
@@
-443,7
+443,7
@@
updateFileSystemEntries ()
// XXX Due to bug #1126575 - MNTTAB temporarily goes to
// size 0 during automounter updates. The file stats
// OK, but has no data in it.
- pollfd poll_fd;
+
struct
pollfd poll_fd;
while (mount_table_stat.st_size == 0) {
(void)poll (&poll_fd, 0, 100);
// Must use lstat here; mtab is often a symlink