Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 604414 | Differences between
and this patch

Collapse All | Expand All

(-)work.orig/vmblock-only/shared/vm_basic_defs.h (-1 / +2 lines)
Lines 693-698 Link Here
693
                                                     lfMessageFont)
693
                                                     lfMessageFont)
694
694
695
/* This is not intended to be thread-safe. */
695
/* This is not intended to be thread-safe. */
696
#ifndef DO_ONCE
696
#define DO_ONCE(code)                                                   \
697
#define DO_ONCE(code)                                                   \
697
   do {                                                                 \
698
   do {                                                                 \
698
      static Bool _doOnceDone = FALSE;                                  \
699
      static Bool _doOnceDone = FALSE;                                  \
Lines 701-707 Link Here
701
         code;                                                          \
702
         code;                                                          \
702
      }                                                                 \
703
      }                                                                 \
703
   } while (0)
704
   } while (0)
704
705
#endif
705
/*
706
/*
706
 * Bug 827422 and 838523.
707
 * Bug 827422 and 838523.
707
 */
708
 */
(-)work.orig/vmci-only/shared/vm_basic_defs.h (-1 / +2 lines)
Lines 693-698 Link Here
693
                                                     lfMessageFont)
693
                                                     lfMessageFont)
694
694
695
/* This is not intended to be thread-safe. */
695
/* This is not intended to be thread-safe. */
696
#ifndef DO_ONCE
696
#define DO_ONCE(code)                                                   \
697
#define DO_ONCE(code)                                                   \
697
   do {                                                                 \
698
   do {                                                                 \
698
      static Bool _doOnceDone = FALSE;                                  \
699
      static Bool _doOnceDone = FALSE;                                  \
Lines 701-707 Link Here
701
         code;                                                          \
702
         code;                                                          \
702
      }                                                                 \
703
      }                                                                 \
703
   } while (0)
704
   } while (0)
704
705
#endif
705
/*
706
/*
706
 * Bug 827422 and 838523.
707
 * Bug 827422 and 838523.
707
 */
708
 */
(-)work.orig/vmmon-only/include/vm_basic_defs.h (-1 / +2 lines)
Lines 693-698 Link Here
693
                                                     lfMessageFont)
693
                                                     lfMessageFont)
694
694
695
/* This is not intended to be thread-safe. */
695
/* This is not intended to be thread-safe. */
696
#ifndef DO_ONCE
696
#define DO_ONCE(code)                                                   \
697
#define DO_ONCE(code)                                                   \
697
   do {                                                                 \
698
   do {                                                                 \
698
      static Bool _doOnceDone = FALSE;                                  \
699
      static Bool _doOnceDone = FALSE;                                  \
Lines 701-707 Link Here
701
         code;                                                          \
702
         code;                                                          \
702
      }                                                                 \
703
      }                                                                 \
703
   } while (0)
704
   } while (0)
704
705
#endif
705
/*
706
/*
706
 * Bug 827422 and 838523.
707
 * Bug 827422 and 838523.
707
 */
708
 */
(-)work.orig/vmnet-only/vm_basic_defs.h (-1 / +2 lines)
Lines 693-698 Link Here
693
                                                     lfMessageFont)
693
                                                     lfMessageFont)
694
694
695
/* This is not intended to be thread-safe. */
695
/* This is not intended to be thread-safe. */
696
#ifndef DO_ONCE
696
#define DO_ONCE(code)                                                   \
697
#define DO_ONCE(code)                                                   \
697
   do {                                                                 \
698
   do {                                                                 \
698
      static Bool _doOnceDone = FALSE;                                  \
699
      static Bool _doOnceDone = FALSE;                                  \
Lines 701-707 Link Here
701
         code;                                                          \
702
         code;                                                          \
702
      }                                                                 \
703
      }                                                                 \
703
   } while (0)
704
   } while (0)
704
705
#endif
705
/*
706
/*
706
 * Bug 827422 and 838523.
707
 * Bug 827422 and 838523.
707
 */
708
 */
(-)work.orig/vsock-only/shared/vm_basic_defs.h (-1 / +2 lines)
Lines 693-698 Link Here
693
                                                     lfMessageFont)
693
                                                     lfMessageFont)
694
694
695
/* This is not intended to be thread-safe. */
695
/* This is not intended to be thread-safe. */
696
#ifndef DO_ONCE
696
#define DO_ONCE(code)                                                   \
697
#define DO_ONCE(code)                                                   \
697
   do {                                                                 \
698
   do {                                                                 \
698
      static Bool _doOnceDone = FALSE;                                  \
699
      static Bool _doOnceDone = FALSE;                                  \
Lines 701-707 Link Here
701
         code;                                                          \
702
         code;                                                          \
702
      }                                                                 \
703
      }                                                                 \
703
   } while (0)
704
   } while (0)
704
705
#endif
705
/*
706
/*
706
 * Bug 827422 and 838523.
707
 * Bug 827422 and 838523.
707
 */
708
 */

Return to bug 604414