Mail Archives: djgpp-workers/2000/04/27/15:12:58
Hello.
Richard Dawe wrote:
> 2. src/chgrp.c seems to require lstat(). I looked at the fileutils 3.16
> port and chgrp.c seems unchanged. Since the readme describes chgrp as
> being a no-op program, I was wondering how you made it so, Eli?
Well, I found out how the lstat() issue was solved - the lstat() function
was provided in the file djstart.c. This lstat() calls stat(). The code
can be found at the end of the diffs for fileutils 3.16. Sorry about being
a bit dopey there.
The port seems to be going OK so far - I've got all the programs to build.
I've only applied a few of the diffs from fileutils 3.16 port - you seem
to have done much of the work for me already Eli. ;)
I have one question: in the patch from fileutils 3.16 port for dircolors.c
there is a line #ifdef'd on __DJGPP__ that _always_ sets the 'term'
variable to "console". In non-DJGPP cases the terminal is obtained from
the TERM environment variable. Is there any reason why we shouldn't allow
the TERM env var to override "console", e.g. for output redirection?
Bye,
--
Richard Dawe
richdawe AT bigfoot DOT com ICQ 47595498 http://www.bigfoot.com/~richdawe/
- Raw text -