From: VMware, Inc <> Date: Tue, 24 Aug 2010 18:35:42 +0000 (-0700) Subject: Changes in shared code that don't affect open-vm-tools functionality. X-Git-Tag: 2010.08.24-292196~26 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9bb42d3dd4e371ba607957e5edd0861fd45f9eb4;p=thirdparty%2Fopen-vm-tools.git Changes in shared code that don't affect open-vm-tools functionality. Signed-off-by: Marcelo Vanzin --- diff --git a/open-vm-tools/lib/include/productState.h b/open-vm-tools/lib/include/productState.h index cf6be39c6..9d837c0ae 100644 --- a/open-vm-tools/lib/include/productState.h +++ b/open-vm-tools/lib/include/productState.h @@ -69,14 +69,13 @@ typedef enum { /* * Public functions. * - * It is not generally safe to cache returned const pointers; if a caller - * wants to cache a value, they should copy it. + * PR 567850 + * ProductState_Set should only be called once. Subsequent calls will be ignored. */ void ProductState_Set(Product product, const char *name, const char *version, unsigned int buildNumber, ProductCaps capabilities, const char *licenseName, const char *licenseVersion); -void ProductState_Reset(void); Product ProductState_GetProduct(void); Bool ProductState_IsProduct(ProductMask product);