projects
/
platform
/
core
/
system
/
swap-probe.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a7395ae
)
[FIX] Correctly decrement counter in case of irregular descriptor
author
Dmitry Bogatov
<d.bogatov@samsung.com>
Fri, 20 Sep 2013 12:30:52 +0000
(16:30 +0400)
committer
Gerrit Code Review
<gerrit@gerrit.vlan144.tizendev.org>
Fri, 20 Sep 2013 13:22:15 +0000
(13:22 +0000)
Change-Id: I6d0e5a7ad2c39cfa255cdca721265dec53855355
See-also:
272fced7a209be0528725870a135393d9fc43e58
Signed-off-by: Dmitry Bogatov <d.bogatov@samsung.com>
probe_file/da_io.h
patch
|
blob
|
history
diff --git
a/probe_file/da_io.h
b/probe_file/da_io.h
index
3b34d9c
..
71d7512
100755
(executable)
--- a/
probe_file/da_io.h
+++ b/
probe_file/da_io.h
@@
-179,8
+179,9
@@
static inline bool stat_regular_or_socket_p(struct stat *buf)
PACK_COMMON_END(RVAL, newerrno, blockresult); \
PACK_RESOURCE(SIZE, FD, APITYPE, _filesize, _filepath); \
FLUSH_LOCAL_BUF(); \
- POST_PACK_PROBEBLOCK_END(); \
- }
+ } \
+ POST_PACK_PROBEBLOCK_END();
+
#define BEFORE_ORIGINAL_START_END_NOFD(API_ID, FUNCNAME, LIBNAME, APITYPE, INPUTFORMAT, ...) \
DECLARE_VARIABLE_FD; \