File tree Expand file tree Collapse file tree 1 file changed +3
-18
lines changed
Expand file tree Collapse file tree 1 file changed +3
-18
lines changed Original file line number Diff line number Diff line change @@ -213,23 +213,6 @@ int resolve_symlinks(char* outbuf, const char* path)
213213}
214214#endif
215215
216- /**
217- * Set path in scriptbuf for given impl.
218- *
219- * @bufp points to the buffer.
220- *
221- * @impl holds the implementation name.
222- *
223- * @progname contains the program basename.
224- */
225- static void set_scriptbuf (char * bufp , const char * impl ,
226- const char * progname )
227- {
228- strcpy (bufp , impl );
229- strcat (bufp , "/" );
230- strcat (bufp , progname );
231- }
232-
233216/**
234217 * Set preference for implementation, if it is not set already.
235218 *
@@ -565,7 +548,9 @@ int main(int argc, char* argv[])
565548 continue ;
566549 found_any = 1 ;
567550
568- set_scriptbuf (bufpy , i -> name , fnpos );
551+ strcpy (bufpy , i -> name );
552+ strcat (bufpy , "/" );
553+ strcat (bufpy , fnpos );
569554 execute (scriptbuf , argv );
570555 }
571556
You can’t perform that action at this time.
0 commit comments