Changeset 7311863 in rtems


Ignore:
Timestamp:
Jan 23, 2009, 12:12:31 AM (11 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
4.10, 4.11, master
Children:
b2b9ba12
Parents:
5ad3a91e
Message:

2009-01-23 Chris Johns <chrisj@…>

  • libmisc/shell/shell.c: Fix command line parsing of valid characters.
Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    r5ad3a91e r7311863  
     12009-01-23      Chris Johns <chrisj@rtems.org>
     2
     3        * libmisc/shell/shell.c: Fix command line parsing of valid
     4        characters.
     5
    162009-01-21      Nickolay Kolchin <nbkolchin@gmail.com>
    27                Joel Sherrill <joel.sherrill@oarcorp.com>
  • cpukit/libmisc/shell/shell.c

    r5ad3a91e r7311863  
    312312
    313313        case '\b':
    314         case '\x7e':
    315314        case '\x7f':
    316315          if (col > 0)
     
    354353
    355354        default:
    356           if ((col < (size - 1)) && (c >= ' ') && (c <= 'z')) {
     355          if ((col < (size - 1)) && (c >= ' ') && (c <= '~')) {
    357356            int end = strlen (line);
    358357            if (inserting && (col < end) && (end < size)) {
Note: See TracChangeset for help on using the changeset viewer.