diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-02-01 19:07:57 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-02-01 19:07:57 +0000 |
commit | 6d35541209058b86bda7b34e47fa28c8c959d365 (patch) | |
tree | 058c4031d3edf80d524112e76c6da2bdc0be8e5c /apps/nshlib/nsh_fscmds.c | |
parent | 4b8f5a9e6dc87bad723af14933cb8c17284eade6 (diff) | |
download | nuttx-6d35541209058b86bda7b34e47fa28c8c959d365.tar.gz nuttx-6d35541209058b86bda7b34e47fa28c8c959d365.tar.bz2 nuttx-6d35541209058b86bda7b34e47fa28c8c959d365.zip |
Move lib/stdio/lib_fgets.c to apps/system/readline; simplify fgets(); use readline instead of fgets in NSH
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4356 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/nshlib/nsh_fscmds.c')
-rw-r--r-- | apps/nshlib/nsh_fscmds.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/nshlib/nsh_fscmds.c b/apps/nshlib/nsh_fscmds.c index f0451ce02..350055fae 100644 --- a/apps/nshlib/nsh_fscmds.c +++ b/apps/nshlib/nsh_fscmds.c @@ -1,8 +1,8 @@ /**************************************************************************** * apps/nshlib/nsh_fscmds.c * - * Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt <spudmonkey@racsa.co.cr> + * Copyright (C) 2007-2009, 2011-2012 Gregory Nutt. All rights reserved. + * Author: Gregory Nutt <gnutt@nuttx.org> * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -1277,7 +1277,7 @@ int nsh_script(FAR struct nsh_vtbl_s *vtbl, const char *cmd, const char *path) do { - /* Get the next line of input from the file*/ + /* Get the next line of input from the file */ fflush(stdout); pret = fgets(buffer, CONFIG_NSH_LINELEN, stream); |