Skip to content

Instantly share code, notes, and snippets.

From cb1ed02e82b8db7fc67f2094f1bd7e346f383042 Mon Sep 17 00:00:00 2001
From: Mark Chandler <mchandler@blizzard.com>
Date: Wed, 28 Oct 2015 07:38:53 -0700
Subject: [PATCH] Centos 5 fixes
---
blizzard/build.sh | 4 +++
.../tools/lldb/include/lldb/Host/linux/Signalfd.h | 12 ++++++-
vendor/tools/lldb/source/Host/common/File.cpp | 16 ++++++++++
.../lldb/source/Host/linux/HostThreadLinux.cpp | 3 +-
#!/bin/bash
if [ -f /opt/rh/devtoolset-2/enable ]; then
source /opt/rh/devtoolset-2/enable
fi
if [ -f /opt/rh/python27/enable ]; then
source /opt/rh/python27/enable
fi
/build/robotics/workspace/lldb_publish/llvm/tools/lldb/source/Host/common/File.cpp: In member function ‘lldb_private::Error lldb_private::File::Open(const char*, uint32_t, uint32_t)’:
/build/robotics/workspace/lldb_publish/llvm/tools/lldb/source/Host/common/File.cpp:300:18: error: ‘O_CLOEXEC’ was not declared in this scope
oflag |= O_CLOEXEC;
/build/robotics/workspace/lldb_publish/llvm/tools/lldb/source/Host/posix/FileSystem.cpp:21:25: fatal error: linux/magic.h: No such file or directory
#include <linux/magic.h>
/build/robotics/workspace/lldb_publish/llvm/tools/lldb/source/Host/posix/FileSystem.cpp: In function ‘bool IsLocal(const statfs&)’:
/build/robotics/workspace/lldb_publish/llvm/tools/lldb/source/Host/posix/FileSystem.cpp:266:10: error: ‘NFS_SUPER_MAGIC’ was not declared in this scope
case NFS_SUPER_MAGIC:
From 32339a202769c7474ee51c82cf4703cec67dbbc5 Mon Sep 17 00:00:00 2001
From: Mark Chandler <mark@moddb.com>
Date: Mon, 30 Aug 2010 20:40:59 -0700
Subject: [PATCH] Fixes bug when offset is over 32bits but node.js returns -1 instead of correct offset
---
src/node_file.cc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/node_file.cc b/src/node_file.cc