This is the mail archive of the
cygwin-apps@cygwin.com
mailing list for the Cygwin project.
[setup] Requesting advice: How to code aPackageVersion == theEmptyPackageVersion (i.e. the one containing defaultversion)
- From: "Max Bowsher" <maxb at ukf dot net>
- To: <cygwin-apps at cygwin dot com>
- Date: Thu, 19 Sep 2002 22:16:17 +0100
- Subject: [setup] Requesting advice: How to code aPackageVersion == theEmptyPackageVersion (i.e. the one containing defaultversion)
I've coded a patch for colour-coding versions in the setup picker according to
curr/prev/test. I need a way to test whether a packageversion is the null
packageversion (containing defaultversion in data). At the moment I'm kludging
it by testing for a Name of length 0. I'm thinking of adding an is_empty(), or
similarly named function to packageversion, unless someone has a better solution
?
Max.