Michal Privoznik
|
8290cbbc38
|
viralloc: Report OOM error on failure
Similarly to VIR_STRDUP, we want the OOM error to be reported in
VIR_ALLOC and friends.
|
2013-07-10 11:07:31 +02:00 |
|
Ján Tomko
|
d0d0413e48
|
util: switch virBufferTrim to void
We don't care whether the trim was succesful or not anywhere
except the tests.
Switch it to void and set the buffer error on wrong usage.
|
2013-06-19 09:21:09 +02:00 |
|
John Ferlan
|
79611c5968
|
util: Check for negative indent in virBufferAdd
Since virBufferGetIndent() will check and fail on buf->error, I
removed that check from virBufferAdd() and used the -1 return as the
way to exit.
|
2013-01-16 10:52:39 +01:00 |
|
Daniel P. Berrange
|
ab9b7ec2f6
|
Rename memory.{c,h} to viralloc.{c,h}
|
2012-12-21 11:17:14 +00:00 |
|
Daniel P. Berrange
|
2005f7b552
|
Rename buf.{c,h} to virbuffer.{c,h}
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
|
2012-12-21 11:17:12 +00:00 |
|