##// END OF EJS Templates
fsmonitor: incorporate fixes for Python 3.10 (issue6612)...
Raphaël Gomès -
r49240:5140461e stable
parent child Browse files
Show More
@@ -28,6 +28,7 b' OR TORT (INCLUDING NEGLIGENCE OR OTHERWI'
28 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 */
29 */
30
30
31 #define PY_SSIZE_T_CLEAN
31 #include <Python.h>
32 #include <Python.h>
32 #include <bytesobject.h>
33 #include <bytesobject.h>
33 #ifdef _MSC_VER
34 #ifdef _MSC_VER
@@ -1052,7 +1053,7 b' static int pdu_info_helper('
1052 int64_t* total_len_out) {
1053 int64_t* total_len_out) {
1053 const char* start = NULL;
1054 const char* start = NULL;
1054 const char* data = NULL;
1055 const char* data = NULL;
1055 int datalen = 0;
1056 Py_ssize_t datalen = 0;
1056 const char* end;
1057 const char* end;
1057 int64_t expected_len;
1058 int64_t expected_len;
1058 off_t position;
1059 off_t position;
@@ -1101,7 +1102,7 b' static PyObject* bser_pdu_len(PyObject* '
1101
1102
1102 static PyObject* bser_loads(PyObject* self, PyObject* args, PyObject* kw) {
1103 static PyObject* bser_loads(PyObject* self, PyObject* args, PyObject* kw) {
1103 const char* data = NULL;
1104 const char* data = NULL;
1104 int datalen = 0;
1105 Py_ssize_t datalen = 0;
1105 const char* start;
1106 const char* start;
1106 const char* end;
1107 const char* end;
1107 int64_t expected_len;
1108 int64_t expected_len;
General Comments 0
You need to be logged in to leave comments. Login now