Rev 4264 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 4264 | Rev 4265 | ||
|---|---|---|---|
| Line 64... | Line 64... | ||
| 64 | int rc; |
64 | int rc; |
| 65 | size_t size; |
65 | size_t size; |
| 66 | 66 | ||
| 67 | if (!(rc = stricmp(name, component))) |
67 | if (!(rc = stricmp(name, component))) |
| 68 | return rc; |
68 | return rc; |
| 69 | if (!strchr(name, '.')) { |
69 | if (!str_chr(name, '.')) { |
| 70 | /* |
70 | /* |
| 71 | * There is no '.' in the name, so we know that there is enough |
71 | * There is no '.' in the name, so we know that there is enough |
| 72 | * space for appending an extra '.' to name. |
72 | * space for appending an extra '.' to name. |
| 73 | */ |
73 | */ |
| 74 | size = str_size(name); |
74 | size = str_size(name); |