| 119 | ****************************************************************************/ |
| 120 | |
| 121 | static char *find_value_end(char *ptr) |
| 122 | { |
| 123 | while (*ptr && !isspace((int)*ptr)) |
| 124 | { |
| 125 | if (*ptr == '"') |
| 126 | { |
| 127 | do ptr++; while (*ptr && *ptr != '"'); |
| 128 | if (*ptr) ptr++; |
| 129 | } |
| 130 | else |
| 131 | { |
| 132 | do ptr++; while (*ptr && !isspace((int)*ptr) && *ptr != '"'); |
| 133 | } |
| 134 | } |
| 135 | |
| 136 | return ptr; |
| 137 | } |
| 138 | |
| 139 | /**************************************************************************** |
| 140 | * Name: read_line |