projects
/
yaffs2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
af64dde
)
Fix looping on handles
author
charles
<charles>
Mon, 13 Oct 2008 03:47:26 +0000
(
03:47
+0000)
committer
charles
<charles>
Mon, 13 Oct 2008 03:47:26 +0000
(
03:47
+0000)
direct/yaffsfs.c
patch
|
blob
|
history
diff --git
a/direct/yaffsfs.c
b/direct/yaffsfs.c
index 5461a48b397edb6fba64afa1d96c2a43dde1e3ec..9084038c9812934a60aeb6864edf19c627c94df6 100644
(file)
--- a/
direct/yaffsfs.c
+++ b/
direct/yaffsfs.c
@@
-24,7
+24,7
@@
#endif
#endif
-const char *yaffsfs_c_version="$Id: yaffsfs.c,v 1.2
2 2008-08-19 23:14:22
charles Exp $";
+const char *yaffsfs_c_version="$Id: yaffsfs.c,v 1.2
3 2008-10-13 03:47:26
charles Exp $";
// configurationList is the list of devices that are supported
static yaffsfs_DeviceConfiguration *yaffsfs_configurationList;
// configurationList is the list of devices that are supported
static yaffsfs_DeviceConfiguration *yaffsfs_configurationList;
@@
-489,7
+489,7
@@
int yaffs_open(const YCHAR *path, int oflag, int mode)
// Check if the object is already in use
alreadyOpen = alreadyExclusive = 0;
// Check if the object is already in use
alreadyOpen = alreadyExclusive = 0;
- for(i = 0; i <
=
YAFFSFS_N_HANDLES; i++)
+ for(i = 0; i < YAFFSFS_N_HANDLES; i++)
{
if(i != handle &&
{
if(i != handle &&