Hi,

Yes, I believe it's an error. The spawn_ptrace_child.c file is necessary to
ptrace04 and ptrace06. To do a #include *.c file is not a good coding style.

The simplest solution is to rename the spawn_ptrace_child.c to 
spawn_ptrace_child.h

Also you can add __inline__ as the prefix of functions, then the
spawn_ptrace_child.h file looks more like a header file.

Thanks,
- Jin Bing Guo


On 10/08 02:12AM, Mark Ver wrote:
> Hi,
> 
> The new ltp-full-20080930.tgz seems to include some new ptrace tests (ptrace04
> and ptrace06) that do a #include for spawn_ptrace_child.c
> Now I find that if I do a "make clean" it removes this spawn_ptrace_child.c 
> ...
> is this expected and desired?
> Also is there supposed to be a way to generate the spawn_ptrace_child.c and 
> any
> other files removed after "make clean" ?
> 
> 
> Thanks,
> - Mark Ver
> 
> office: Building 710 / Room 2-RF-10
> phone: (845) 435-7794 [tie 8 295-7794]

> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Ltp-list mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ltp-list


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to