116 |
pos2 = next_arg(optarg, '='); |
pos2 = next_arg(optarg, '='); |
117 |
strcpy(g_rdpdr_device[*id].name, optarg); |
strcpy(g_rdpdr_device[*id].name, optarg); |
118 |
|
|
119 |
toupper(g_rdpdr_device[*id].name); |
toupper_str(g_rdpdr_device[*id].name); |
120 |
|
|
121 |
/* add trailing colon to name. */ |
/* add trailing colon to name. */ |
122 |
strcat(g_rdpdr_device[*id].name, ":"); |
strcat(g_rdpdr_device[*id].name, ":"); |
212 |
return STATUS_NO_SUCH_FILE; |
return STATUS_NO_SUCH_FILE; |
213 |
} |
} |
214 |
} |
} |
215 |
handle = dirfd(dirp); |
handle = dirfd(dirp); /* FIXME: dirfd is not portable */ |
216 |
} |
} |
217 |
else |
else |
218 |
{ |
{ |