Skip to content

Commit

Permalink
fix #1630: can't compile source distribution on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
giampaolo committed Nov 26, 2019
1 parent c6cd256 commit e15fbda
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
10 changes: 10 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
*Bug tracker at https://github.com/giampaolo/psutil/issues*


5.6.7
=====

2019-11-26

**Bug fixes**

- 1630_: [Windows] can't compile source distribution due to C syntax error.

5.6.6
=====

Expand Down
2 changes: 1 addition & 1 deletion psutil/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@

__all__.extend(_psplatform.__extra__all__)
__author__ = "Giampaolo Rodola'"
__version__ = "5.6.6"
__version__ = "5.6.7"
version_info = tuple([int(num) for num in __version__.split('.')])

_timer = getattr(time, 'monotonic', time.time)
Expand Down
2 changes: 1 addition & 1 deletion psutil/_psutil_windows.c
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ psutil_proc_kill(PyObject *self, PyObject *args) {
// https://github.com/giampaolo/psutil/issues/1099
if (GetLastError() != ERROR_ACCESS_DENIED) {
PyErr_SetFromOSErrnoWithSyscall("TerminateProcess");
goto error;
return NULL;
}
}

Expand Down

0 comments on commit e15fbda

Please sign in to comment.