Message141534
| Author |
ogait87 |
| Recipients |
amaury.forgeotdarc, giampaolo.rodola, mluis, neologix, ogait87, orsenthil, rosslagerwall, slanden |
| Date |
2011年08月01日.20:57:51 |
| SpamBayes Score |
0.00012698681 |
| Marked as misclassified |
No |
| Message-id |
<1312232274.32.0.0277076999045.issue10141@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
I think that this time i have included almost every proposed changes.
For the unitTest I did not included the condition "os.getuid() == 0" because of this information in the Linux documentation "3.3 network security issues (capabilities)" http://www.mjmwired.net/kernel/Documentation/networking/can.txt#212. For example, the Ubuntu 10.10 does not require to be root to access socketCAN network interfaces.
For the "return Py_BuildValue("O&h", PyUnicode_DecodeFSDefault, ifname, a->can_family);" i have kept the "h" because in the header file the "a->can_family" is defined as an short int. |
|