Add support for AIX 5.x - 9.x. Many thanks to Jens Rehsack <rehsack@googlemail.com> for providing the patch for this work. Thanks!
Add WIN32 support via MINGW. We'll need to add stuff to the README file about what this requires to build. All the hard work done by: skel
Merge in patch to provide support for HP-UX 11.11. Contributed by Roy Keene - thanks Roy!
Remove extraneous consts.
Clear errno_value on errors that don't have a valid errno.
Do the errno capturing in a nicer way.
Add function to allow grabbing of the current errno. Should we store errno too maybe?
... and include tools.h to get the definition of sg_strlcpy.
sg_strlcpy, not strlcpy. (I think that bit of code's won the "most errors in a three-line commit" award...)
Bugfix in error setting code - we can't strlcpy a NULL. Test out the error code in an example.
Add sg_get_error_arg. It uses a static buffer for storage rather than sg_update_string because we can't do anything about a malloc failure at that point. Remove the default case in the switch, so GCC will give an "unhandled enum value in switch" warning if we add a new error code without a string.
The rest of the error handling stuff (except the vector code). I've been extremely unimaginative with the string names in error.c, but they're all in one place so much easier to tidy up. I'm also beginning to wonder if we actually needed an SG_ERROR_SYSTEM_CALL to indicate some call into the system failed - because the majority of our errors are those :-) Still to do, then: - vector code - better string names in error.c - deal with arg string in some way - make use of the error status in statgrab/saidar/examples
Error reporting for disk_stats.
Whitespace tidyup - change spaces to tabs.
Add error reporting to cpu_stats.
Add sg_realloc, and a macro fo sg_malloc.
Add SG_ERROR_NONE. Make sg_str_error return const char *.
Some very basic startings of error handling stuff. I've not put much thought into this yet, it's basically just the idea we've discussed. Of course, this is the easy task. The hard job is creating a whole list of different errors and using them across libstatgrab :-)
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.