[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: [PATCH] Write logs to $HOME/.gEDA/logs/.



> 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.

Also Windows frequently uses a leading underscore (_) rather than dot (.).
Both should be allowed.


_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user