summaryrefslogtreecommitdiffstats
path: root/catsprintf.c
Commit message (Collapse)AuthorAgeFilesLines
* Renamed to a more appropriate name.nima2008-10-291-111/+0
| | | | git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@75 abc39116-655e-4be6-ad55-d661dc543056
* Committing new dmidecode helper functions, and next, renaming it to anima2008-10-291-3/+5
| | | | | | | meaningful name. git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@74 abc39116-655e-4be6-ad55-d661dc543056
* Completed `case 4', which was thought to have been completed falsely before.nima2008-07-271-0/+2
| | | | git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@26 abc39116-655e-4be6-ad55-d661dc543056
* Next phase is to start converting all pure C functions returning `char *' androot2008-07-251-53/+46
| | | | | | | | | | | | such to new Pythonized functions returning `PyObject *', to save from having to `PyString_FromString()' and similar, and more importantly, some functions return a long string that could better be represented by a PyDict, PyList etc. This is the first commit of many more to come, converting a `case XX:' at a time, making sure that each commit can actually compile and run. git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@21 abc39116-655e-4be6-ad55-d661dc543056
* This was the culprit causing the `Abort' crash, valgrind showed that this fileroot2008-07-251-4/+10
| | | | | | | | | is where the error lied. Stephen Darragh discovered this, and the fix has been to use vsnprintf() and not vsprintf(), which should have been the case to begin with really. git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@18 abc39116-655e-4be6-ad55-d661dc543056
* Cleaner to not vsprintf() at all if `format' is NULL.root2008-07-251-1/+4
| | | | git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@17 abc39116-655e-4be6-ad55-d661dc543056
* Cleanup.nima2008-07-241-2/+2
| | | | git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@14 abc39116-655e-4be6-ad55-d661dc543056
* Some cleaning, crash in interactive mode on dmidecode.bios() still not fixed.nima2008-07-241-2/+2
| | | | git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@13 abc39116-655e-4be6-ad55-d661dc543056
* Now that code has been converted, work has started on "bios", and at the pointnima2008-07-241-1/+3
| | | | | | | of proof-of-concept. git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@12 abc39116-655e-4be6-ad55-d661dc543056
* Removing printf() statements, instead adding to Python dictionary object,nima2008-07-041-6/+14
| | | | | | | untested. git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@11 abc39116-655e-4be6-ad55-d661dc543056
* Major changes have been implemented, alas, untested, in hope to move towardsnima2008-07-031-8/+83
| | | | | | | | | | a new version of dmi decode where rather than having data just printed to screen in functions, data is passed around, and some data structure is constructed, which is then used to construct the Python list/dicitonary objects. git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@10 abc39116-655e-4be6-ad55-d661dc543056
* WIP - Adding h->type value to catsprintf (as int major), later will add minornima2008-07-021-1/+1
| | | | | | | | too, and finally will replace the buffer with a linked list of structs, which will be added to the python dictionary/list. git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@9 abc39116-655e-4be6-ad55-d661dc543056
* First commit to SVN.nima2008-06-301-0/+20
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@1 abc39116-655e-4be6-ad55-d661dc543056