This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| import argparse, os, io, sys, time | |
| import SocketServer, socket | |
| import Queue | |
| import threading | |
| import tempfile | |
| global thread_storage | |
| thread_storage = {} | |
| class ThreadedTCPServer(SocketServer.ThreadingMixIn, SocketServer.TCPServer): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff -ruN a/coregrind/m_syscall.c b/coregrind/m_syscall.c | |
| --- a/coregrind/m_syscall.c 2016-10-21 04:37:39.000000000 -0600 | |
| +++ b/coregrind/m_syscall.c 2016-10-31 10:02:39.000000000 -0600 | |
| @@ -33,6 +33,7 @@ | |
| #include "pub_core_vki.h" | |
| #include "pub_core_vkiscnums.h" | |
| #include "pub_core_syscall.h" | |
| +#define __private_extern__ extern | |
| /* --------------------------------------------------------------------- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| import argparse | |
| def parseArguments(args=None): | |
| parser = argparse.ArgumentParser(description='argparse tester') | |
| parser.add_argument('-t', '--test', nargs="?", const='moose', help='None, default=moose, or value') | |
| return parser.parse_args(args) | |
| if __name__ == '__main__': | |
| args = parseArguments() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| lldb -p 87187 -o "bt" -o "script import os; os._exit(1)" |
NewerOlder