Hallo all,

on my maching the globallyUniqueString produced by NSProcessInfo wasn't
always globally unique since the precision of the date output only evaluated
to seconds. Also some of apps I know use this string to create filenames and
the usage of ':' causes problems. Therefor I propose the following patch.
Yet if some apps already rely on the date format, I've included another
alternative. But I believe, relying on the format of this string is a bug.
I've also included a patch for Testing/nsprocessinfo to include a test on
the uniqueness of subsequent calls to globallyUniqueString.

Cheers,
Dave

Attachment: NSProcessInfo.patch
Description: Binary data

Attachment: NSProcessInfo_v2.patch
Description: Binary data

Attachment: Testing_nsprocessinfo.patch
Description: Binary data

Reply via email to