mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-18 17:13:34 +08:00
Improve NFS retry logic
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4845 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
@@ -109,7 +109,7 @@ static inline char *nsh_getdirpath(FAR struct nsh_vtbl_s *vtbl,
|
||||
char *alloc;
|
||||
int len;
|
||||
|
||||
/* Handle the special case where the dirpath is simply */
|
||||
/* Handle the special case where the dirpath is simply "/" */
|
||||
|
||||
if (strcmp(dirpath, "/") == 0)
|
||||
{
|
||||
@@ -151,6 +151,7 @@ FAR const char *nsh_getcwd(void)
|
||||
return nsh_getwd(g_pwd);
|
||||
}
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
* Name: nsh_getfullpath
|
||||
****************************************************************************/
|
||||
|
||||
Reference in New Issue
Block a user