PRINTF("\ngLockVendor %s \n", gLockVendor);
nsresult nsPref::getLockPrefFileInfo()//----------------------------------------------------------------------------------------{    nsresult rv = NS_OK;     gLockFileName = nsnull;    gLockVendor = nsnull;     if (gLockInfoRead)        return rv;        gLockInfoRead = PR_TRUE;    if (NS_SUCCEEDED(rv = CopyCharPref("general.config.filename",			&gLockFileName)) && (gLockFileName))     {#ifdef NS_DEBUG        printf("\ngLockFileName %s \n", gLockFileName);#endif        if (NS_SUCCEEDED(rv = CopyCharPref("general.config.vendor",			&gLockVendor)) && (gLockVendor))         {#ifdef NS_DEBUG            printf("\ngLockVendor %s \n", gLockVendor);#endif        }        else        {            /* No vendor name specified, hence cannot verify it */            rv = NS_ERROR_FAILURE;            return rv;        }    }    else    {        /* config file is not specified, hence no need to read it.*/        rv =  NS_OK;        return rv;    }    return rv;} // nsPref::getLockPrefFileInfo