xf86config patch

Alexander Gottwald Alexander.Gottwald@informatik.tu-chemnitz.de
Sun Jul 7 15:33:00 GMT 2002


On Sun, 7 Jul 2002, Harold Hunt wrote:

> Alexander,
>
> 1) In winconfig.c, why is this there:
>
> #ifndef PROJECTROOT
> #define PROJECTROOT "/usr/X11R6"
> #endif

Hm, I just copied it from xf86Config.c. Just to be sure it's defined.

>
>
> 2) Are any of these files significantly copied from hw/xfree86, or anywhere
> else that we should attribute?

I took hw/xfree86/xf86Config.c as base.

> 3) Will there be any effect, whatsoever, on users that do not use an
> XF86Config file?

No. If the config file is not found, the compiled in defaults are used and
XWin behaves like the current release.

But it's good you asked, I just found a missing NULL-pointer check.
I attached the modified xwinconfig.c

bye
    ago
-- 
 Alexander.Gottwald@informatik.tu-chemnitz.de
 http://www.gotti.org           ICQ: 126018723
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: winconfig.c
URL: <http://cygwin.com/pipermail/cygwin-xfree/attachments/20020707/865ddf5c/attachment.c>


More information about the Cygwin-xfree mailing list