Hi!
> > +/* declared in tst_tmpdir.c */
> > +const char *tst_get_startwd(void);
> 
> use a proper header instead.  extern func decls only leads to bit rot and 
> hard 
> to debug crashes.

This is internal only API for the LTP lib that does not have a proper
header (I was too lazy to create a header for the function that is used
only once). I can fix that if desired.

> use fork()+execvp() instead.  there's no need to normalize to a string and 
> then run through a shell.
> 
> wonder if we should add a util func for this ...

That sounds like good idea.

-- 
Cyril Hrubis
[email protected]

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to