Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 358530 Details for
Bug 482512
=dev-python/py-freebsd-0.9.3-r1 - error: 'CTLTYPE_QUAD' undeclared (first use in this function)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
freebsd9_patch-src-sysctl.c.patch
freebsd9_patch-src-sysctl.c.patch (text/plain), 1.11 KB, created by
Alice Ferrazzi
on 2013-09-12 12:06:59 UTC
(
hide
)
Description:
freebsd9_patch-src-sysctl.c.patch
Filename:
MIME Type:
Creator:
Alice Ferrazzi
Created:
2013-09-12 12:06:59 UTC
Size:
1.11 KB
patch
obsolete
>--- src/sysctl.c.orig 2013-08-26 15:33:52.000000000 +0900 >+++ src/sysctl.c 2013-08-26 15:35:22.000000000 +0900 >@@ -121,7 +121,7 @@ > 0, /* CTLTYPE_NODE */ > sizeof(int), /* CTLTYPE_INT */ > 0, /* CTLTYPE_STRING */ >- sizeof(quad_t), /* CTLTYPE_QUAD */ >+ sizeof(quad_t), /* CTLTYPE_S64 */ > 0, /* CTLTYPE_OPAQUE */ > sizeof(unsigned int), /* CTLTYPE_UINT */ > sizeof(long), /* CTLTYPE_LONG */ >@@ -329,7 +329,7 @@ > case CTLTYPE_UINT: > case CTLTYPE_LONG: > case CTLTYPE_ULONG: >- case CTLTYPE_QUAD: >+ case CTLTYPE_S64: > if (!PyInt_Check(newobj) && !PyLong_Check(newobj)) { > PyErr_SetString(PyExc_TypeError, > "argument 2 must be integer for this node"); >@@ -350,7 +350,7 @@ > case CTLTYPE_ULONG: > val.m_ulong = PyLong_AsUnsignedLong(newobj); > break; >- case CTLTYPE_QUAD: >+ case CTLTYPE_S64: > val.m_quad = (quad_t)PyLong_AsLongLong(newobj); > break; > } >@@ -439,7 +439,7 @@ > case CTLTYPE_STRING: > ret = PyString_FromStringAndSize(oldp, oldlen - 1); > break; >- case CTLTYPE_QUAD: >+ case CTLTYPE_S64: > assert(oldlen == sizeof(quad_t)); > ret = PyLong_FromLongLong((long long)*(quad_t *)oldp); > break;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 482512
:
358528
| 358530 |
358532