problems with path variable ( i think)
i have written a program in C, which runs perfect under Kubuntu on my PC.
this program is a uni assignment, so i tried to run it under the uni Planet server, but then i encounter some difficulties...
the assignment is about writing new wrapper function instead of open and read syscalls.
so when i write:
and,while ((read = wrapper_read(fd,buf,1000)) > 0 )
under my Kubuntu works perfect.
but then under Planet it exists on errno:
EFAULT - buf is outside your accessible address space.
i guess its about the variable path.
p.s. config.txt is a file i wroted and i have the right permissions to read.
PATH is : [ /u/y2006/navehs/bin:/usr/local/bin:/Common/All/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/java/default/bin:/u/y2006/navehs/bin:. ]
under Planet server
Last edited by shayke23; 04-29-2009 at 08:18 AM.