From: Katy Feng Date: Fri, 23 Dec 2022 00:25:51 +0000 (-0800) Subject: Inclusive terminology - "sanity check" X-Git-Tag: stable-12.2.0~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=082f7f784b28452058ac6a6529f289144b5694d9;p=thirdparty%2Fopen-vm-tools.git Inclusive terminology - "sanity check" Partial "sanity check" clean-up: - Change comments from "sanity check" to "confidence check" --- diff --git a/open-vm-tools/services/plugins/desktopEvents/x11Lock.c b/open-vm-tools/services/plugins/desktopEvents/x11Lock.c index 811f4bf7e..ddc68075d 100644 --- a/open-vm-tools/services/plugins/desktopEvents/x11Lock.c +++ b/open-vm-tools/services/plugins/desktopEvents/x11Lock.c @@ -1,5 +1,5 @@ /********************************************************* - * Copyright (C) 2010-2018 VMware, Inc. All rights reserved. + * Copyright (C) 2010-2018,2022 VMware, Inc. All rights reserved. * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as published @@ -92,7 +92,7 @@ InitGroupLeader(Window *groupLeader, XStoreName(gdk_x11_get_default_xdisplay(), myGroupLeader, VMUSER_TITLE); /* - * Sanity check: Set the override redirect property on our group leader + * Confidence check: Set the override redirect property on our group leader * window (not default), then re-parent it to the root window (default). * This makes sure that (a) a window manager can't re-parent our window, * and (b) that we remain a top-level window. diff --git a/open-vm-tools/services/plugins/dndcp/copyPasteCompatX11.c b/open-vm-tools/services/plugins/dndcp/copyPasteCompatX11.c index 248073405..b73397b6c 100644 --- a/open-vm-tools/services/plugins/dndcp/copyPasteCompatX11.c +++ b/open-vm-tools/services/plugins/dndcp/copyPasteCompatX11.c @@ -1,5 +1,5 @@ /********************************************************* - * Copyright (C) 2005-2019 VMware, Inc. All rights reserved. + * Copyright (C) 2005-2019,2022 VMware, Inc. All rights reserved. * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as published @@ -324,7 +324,7 @@ IsCtxMainLoopActive(void) * Callback for the gtk signal "selection_received". * Called because we previously requested a copy/paste selection and * finally got results of that asynchronous operation. After some basic - * sanity checks, send the result (in selection_data) thru the backdoor + * confidence checks, send the result (in selection_data) thru the backdoor * (version 1) or guestRPC (version 2) so the vmx can copy it to host * clipboard. * diff --git a/open-vm-tools/services/plugins/resolutionSet/resolutionRandR12.c b/open-vm-tools/services/plugins/resolutionSet/resolutionRandR12.c index d4a5e683f..3e5e6ac01 100644 --- a/open-vm-tools/services/plugins/resolutionSet/resolutionRandR12.c +++ b/open-vm-tools/services/plugins/resolutionSet/resolutionRandR12.c @@ -304,7 +304,7 @@ RandR12GetInfo(Display *display, // IN: Pointer to our display connection } /* - * Sanity checks. This should never really happen with current drivers. + * Confidence checks. This should never really happen with current drivers. */ if (nVMWOutput != info->nOutput) { @@ -341,7 +341,7 @@ RandR12GetInfo(Display *display, // IN: Pointer to our display connection } /* - * Sanity check. This should never really happen with our drivers. + * Confidence check. This should never really happen with our drivers. */ if (numVMWCrtc != nVMWOutput) { diff --git a/open-vm-tools/services/plugins/vix/vixTools.c b/open-vm-tools/services/plugins/vix/vixTools.c index 397f12f7e..9f376a728 100644 --- a/open-vm-tools/services/plugins/vix/vixTools.c +++ b/open-vm-tools/services/plugins/vix/vixTools.c @@ -1750,7 +1750,7 @@ VixToolsStartProgramImpl(const char *requestName, // IN goto quit; } - /* sanity check workingDir if set */ + /* confidence check workingDir if set */ if (NULL != workingDir && !File_IsDirectory(workingDir)) { err = VIX_E_NOT_A_DIRECTORY; goto quit; @@ -2411,7 +2411,7 @@ VixToolsUpdateStartedProgramList(VixToolsStartedProgramState *state) // I spList = startedProcessList; while (spList) { /* - * Sanity check we don't have a duplicate entry -- this should + * Confidence check we don't have a duplicate entry -- this should * only happen when the OS re-uses the PID before we reap the record * of its exit status. */ @@ -5801,7 +5801,7 @@ VixToolsListProcessesEx(VixCommandRequestHeader *requestMsg, // IN goto quit; } - // sanity check offset + // confidence check offset if (listRequest->offset > cachedResult->resultBufferLen) { /* * Since this isn't user-set, assume any problem is in the