From: rhabacker (ralf.habacker_at_freenet.de)
Date: Thu Aug 11 2005 - 23:05:50 CEST
From: rhabacker <ralf.habacker@freenet.de> Message-Id: <20050811210550.7D9E12730327@einstein.suse.de> Date: Thu, 11 Aug 2005 23:05:50 +0200 (CEST) Subject: [taskjuggler-devel] pathname clash on windows/cygwin
Hi all,
I have tried to compile taskjuggler 2.1.1 on cygwin using kde 3.4.1 http://kde-cygwin.sf.net/kde3 and recognized a pathname problem.
Windows does not distinguish upper and lower case path and file names, which results in a merge of the files in the taskjuggler
and the TaskJuggler directory. It would be nice if one of this directories could be renamed.
This belongs also to the name of of cmdline and gui taskjuggler application (taskjuggler.exe and TaskJuggler.exe), which will result in only one application after installing.
Besides this there is only a small patch required to get taskjuggler running on cygwin.
--- ./Utility.cpp.bak 2005-08-11 17:29:47.967644000 +0200
+++ ./Utility.cpp 2005-08-11 18:55:51.933062400 +0200
@@ -812,7 +812,11 @@
return 0;
}
+#ifdef __CYGWIN__
+ struct tm t = { sec, min, hour, d, m - 1, y - 1900, 0, 0, -1 };
+#else
struct tm t = { sec, min, hour, d, m - 1, y - 1900, 0, 0, -1, 0, 0 };
+#endif
time_t localTime = mktime(&t);
if (restoreTZ)
Regards
Ralf
-- To unsubscribe, email: taskjuggler-devel-unsubscribe@suse.com For additional commands, email: taskjuggler-devel-help@suse.com
This archive was generated by hypermail 2.1.7 : Thu Aug 11 2005 - 23:05:58 CEST