]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Inclusive terminology - "sanity check"
authorKaty Feng <fkaty@vmware.com>
Fri, 23 Dec 2022 00:25:51 +0000 (16:25 -0800)
committerKaty Feng <fkaty@vmware.com>
Fri, 23 Dec 2022 00:25:51 +0000 (16:25 -0800)
Partial "sanity check" clean-up:
- Change comments from "sanity check" to "confidence check"

open-vm-tools/services/plugins/desktopEvents/x11Lock.c
open-vm-tools/services/plugins/dndcp/copyPasteCompatX11.c
open-vm-tools/services/plugins/resolutionSet/resolutionRandR12.c
open-vm-tools/services/plugins/vix/vixTools.c

index 811f4bf7eef6905ef5b6e15c4a0b5dcd584ccdf0..ddc68075d870920b3319ae816572e5628ef60e85 100644 (file)
@@ -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.
index 248073405632e11e2c774d0606fe85a0154a5f00..b73397b6c42836ce0aff0cc523e6507d1ab1114b 100644 (file)
@@ -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.
  *
index d4a5e683f9922df9a8fb336d7cbffaa1c5d7f86b..3e5e6ac01de8181764d034459737d27df300d41a 100644 (file)
@@ -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) {
index 397f12f7ea804bd8c27e2e104439b555246c5567..9f376a728006d0c4b95a19b7a3c2052ec2501552 100644 (file)
@@ -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