Mail Archives: djgpp-workers/1999/02/25/17:59:27
>
> On Thu, 25 Feb 1999, Mark E. wrote:
>
> > char __djgpp_root [PATH_MAX+1] = { '\0' };
> > int __djgpp_root_len = 0;
> > unsigned int __chroot_flags = __CHROOT_UNIX_EMU_FLAG;
>
> Static/global variables like these that cache information need to be
> reinitialized if the program is restarted (like Emacs, after it dumps its
> own image).
I don't understand why. If the startup routine is modified to read the
environmental variables produced by chroot and then call chroot, then
wouldn't these variables be taken care of during a restart?
Mark
---
Mark Elbrecht
snowball3 AT usa DOT net http://members.xoom.com/snowball3/
- Raw text -