On Sunday 18 January 2009 01:07:13 Bob Paddock wrote:
> > I'd appreciate comments as to whether this will work (or even compile)
> > on Windows!
>
> + dir_path = g_build_filename (g_getenv ("HOME"),
> + ".gEDA", "logs", NULL);
>
> Should test to see if HOME really exists on Windows,
> it usually doesn't by default. You don't want to report
> the failure of HOME not existing in the log during
> the install process.
>
What should it do if HOME doesn't exist? That seems like a pathological case.
Default to using the CWD?
Peter
--
Peter Brett
Electronic Systems Engineer
Integral Informatics Ltd
Attachment:
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ geda-user mailing list geda-user@xxxxxxxxxxxxxx http://www.seul.org/cgi-bin/mailman/listinfo/geda-user