/*
* YAFFS: Yet Another Flash File System. A NAND-flash specific file system.
*
- * Copyright (C) 2002-2010 Aleph One Ltd.
+ * Copyright (C) 2002-2011 Aleph One Ltd.
* for Toby Churchill Ltd and Brightstar Engineering
*
* Created by Charles Manning <charles@aleph1.co.uk>
/* got to the end of the string */
return dir;
else{
- if(strcmp(str,_Y(".")) == 0)
- {
+ if(strcmp(str,_Y(".")) == 0){
/* Do nothing */
- }
- else if(strcmp(str,_Y("..")) == 0)
+ } else if(strcmp(str,_Y("..")) == 0) {
dir = dir->parent;
- else{
+ } else{
dir = yaffs_find_by_name(dir,str);
dir = yaffsfs_FollowLink(dir,symDepth,loop);