-
-
usr/src/lib/pyzfs/common/ioctl.c (Diff revision 1) I think if you change this line to
const char *keystr = PyUnicode_AsUTF8(key);
you should be safe with both 3.5 and 3.7. -
usr/src/lib/pyzfs/common/ioctl.c (Diff revision 1) I think if you change this line to
const char *valstr = PyUnicode_AsUTF8(value);
you should be safe with both 3.5 and 3.7.
-
-
usr/src/lib/pyzfs/common/ioctl.c (Diff revision 1) Isn't it better to make the local variable "const", rather than subvert the attributes of the function?
Same below?
Commit: |
|
||||
---|---|---|---|---|---|
Diff: |
Revision 2 (+6 -4) |