On Tue, Aug 17, 2010 at 2:34 PM, David Marlin wrote:
> 'lchown02.c' does not build properly due to calls to mmap and
> get_high_address (which references sbrk) when UCLINUX=1 is defined.

you'll need to clarify.  it builds fine for me, it just may not run
correctly due to the assumptions of memory placement.

for runtime issues, how about we change lib/get_high_address.c to
return NULL for UCLINUX targets.  then in lchown.c, we can check for
NULL and skip the test when we get that value.

that leaves your ifdefing of -1 pointer address.  any sane nommu port
should reject that address in the kernel.  if yours isnt, fix your
kernel.
-mike

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

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to