This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]