Skip to content

Commit 48fd1ad

Browse files
committed
Memory corruption on HashTable.h
https://bugs.webkit.org/show_bug.cgi?id=88419 Reviewed by Martin Robinson. Simplify definition of WTF_USE_PTHREADS and HAVE_PTHREAD_RWLOCK for the GTK platform using OS(LINUX) instead of HAVE(PTHREAD_H). * wtf/Platform.h: Canonical link: https://commits.webkit.org/107593@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@121010 268f45cc-cd09-0410-ab3c-d52691b4dbfc
1 parent 76b5da5 commit 48fd1ad

2 files changed

Lines changed: 13 additions & 6 deletions

File tree

Source/WTF/ChangeLog

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
2012-06-22 Mario Sanchez Prada <msanchez@igalia.com>
2+
3+
Memory corruption on HashTable.h
4+
https://bugs.webkit.org/show_bug.cgi?id=88419
5+
6+
Reviewed by Martin Robinson.
7+
8+
Simplify definition of WTF_USE_PTHREADS and HAVE_PTHREAD_RWLOCK
9+
for the GTK platform using OS(LINUX) instead of HAVE(PTHREAD_H).
10+
11+
* wtf/Platform.h:
12+
113
2012-06-21 Parth Patel <parpatel@rim.com>
214

315
[Blackberry] BlackBerry::Platform::Settings::get() rename to BlackBerry::Platform::Settings::instance() to make it consistent with our other singletons

Source/WTF/wtf/Platform.h

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -648,12 +648,7 @@
648648
#endif
649649
#endif
650650

651-
#if PLATFORM(GTK)
652-
#if HAVE(PTHREAD_H)
653-
#define WTF_USE_PTHREADS 1
654-
#define HAVE_PTHREAD_RWLOCK 1
655-
#endif
656-
#elif PLATFORM(QT) && OS(UNIX)
651+
#if OS(UNIX) && (PLATFORM(GTK) || PLATFORM(QT))
657652
#define WTF_USE_PTHREADS 1
658653
#define HAVE_PTHREAD_RWLOCK 1
659654
#endif

0 commit comments

Comments
 (0)