* Add a backslash to any name not ending in /, \ or : There must * be room for the \ */
| 1095 | * be room for the \ |
| 1096 | */ |
| 1097 | void |
| 1098 | append_slash(char *name) |
| 1099 | { |
| 1100 | char *ptr; |
| 1101 | |
| 1102 | if (!*name) |
| 1103 | return; |
| 1104 | ptr = name + (strlen(name) - 1); |
| 1105 | if (*ptr != '\\' && *ptr != '/' && *ptr != ':') { |
| 1106 | *++ptr = '\\'; |
| 1107 | *++ptr = '\0'; |
| 1108 | } |
| 1109 | return; |
| 1110 | } |
| 1111 | |
| 1112 | void set_default_prefix_locations(const char *programPath); |
| 1113 | boolean |
no outgoing calls
no test coverage detected