1. Victor Stinner
  2. python-ptrace

Commits

Jakub Wilk  committed b300b3f

Support GNU/kFreeBSD

  • Participants
  • Parent commits 0e73695
  • Branches default

Comments (0)

Files changed (3)

File AUTHORS

View file
  • Ignore whitespace
 =====================
 
 Dimitris Glynos <dimitris AT census-labs.com> - follow gdb.py commands
+Jakub Wilk <jwilk AT debian.org> - fix for GNU/kFreeBSD
 Mark Seaborn <mrs AT mythic-beasts.com> - Create -i option for strace
 Mickaël Guérin aka KAeL <mickael.guerin AT crocobox.org> - OpenBSD port
 T. Bursztyka aka Tuna <tuna AT lyua.org> - x86_64 port

File ChangeLog

View file
  • Ignore whitespace
 python-ptrace 0.6.4
 -------------------
 
+ * Support GNU/kFreeBSD
  * Support sockaddr_in6 (IPv6 address)
 
 python-ptrace 0.6.3 (2011-02-16)

File ptrace/os_tools.py

View file
  • Ignore whitespace
 RUNNING_PYPY = ("pypy" in version.lower())
 RUNNING_WINDOWS = (platform == 'win32')
 RUNNING_LINUX = (platform == 'linux2')
-RUNNING_FREEBSD = platform.startswith('freebsd')
+RUNNING_FREEBSD = (platform.startswith('freebsd')
+                   or platform.startswith('gnukfreebsd'))
 RUNNING_OPENBSD = platform.startswith('openbsd')
 RUNNING_MACOSX = (platform == 'darwin')
 RUNNING_BSD = RUNNING_FREEBSD or RUNNING_MACOSX or RUNNING_OPENBSD