changeset 35516 | f0d335e847c5 |
parent 35217 | ce4b5303a813 |
child 43671 | a152f2d3320e |
35491:663c609dfeee | 35516:f0d335e847c5 |
---|---|
169 return NULL; |
169 return NULL; |
170 } |
170 } |
171 |
171 |
172 if (strlen(libname) >= sizeof(newlib->name)) { |
172 if (strlen(libname) >= sizeof(newlib->name)) { |
173 print_debug("libname %s too long\n", libname); |
173 print_debug("libname %s too long\n", libname); |
174 free(newlib); |
|
174 return NULL; |
175 return NULL; |
175 } |
176 } |
176 strcpy(newlib->name, libname); |
177 strcpy(newlib->name, libname); |
177 |
178 |
178 newlib->base = base; |
179 newlib->base = base; |