Revision: 41331
http://brlcad.svn.sourceforge.net/brlcad/?rev=41331&view=rev
Author: brlcad
Date: 2010-11-12 12:18:00 +0000 (Fri, 12 Nov 2010)
Log Message:
-----------
in fact, remove the BU_ prefix so there's no confusion
Modified Paths:
--------------
brlcad/trunk/src/libbu/vlb.c
Modified: brlcad/trunk/src/libbu/vlb.c
===================================================================
--- brlcad/trunk/src/libbu/vlb.c 2010-11-12 12:16:38 UTC (rev 41330)
+++ brlcad/trunk/src/libbu/vlb.c 2010-11-12 12:18:00 UTC (rev 41331)
@@ -25,14 +25,14 @@
#include "bu.h"
-#define BU_VLB_BLOCK_SIZE 512
+#define VLB_BLOCK_SIZE 512
void
bu_vlb_init(struct bu_vlb *vlb)
{
- vlb->buf = bu_calloc(1, BU_VLB_BLOCK_SIZE, "bu_vlb");
- vlb->bufCapacity = BU_VLB_BLOCK_SIZE;
+ vlb->buf = bu_calloc(1, VLB_BLOCK_SIZE, "bu_vlb");
+ vlb->bufCapacity = VLB_BLOCK_SIZE;
vlb->nextByte = 0;
vlb->magic = BU_VLB_MAGIC;
}
@@ -63,7 +63,7 @@
currCapacity = vlb->bufCapacity;
while (currCapacity <= (vlb->nextByte + len)) {
addBlocks++;
- currCapacity += BU_VLB_BLOCK_SIZE;
+ currCapacity += VLB_BLOCK_SIZE;
}
if (addBlocks) {
@@ -122,6 +122,7 @@
ret = fwrite(vlb->buf, 1, vlb->nextByte, fd);
}
+
/*
* Local Variables:
* mode: C
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Centralized Desktop Delivery: Dell and VMware Reference Architecture
Simplifying enterprise desktop deployment and management using
Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
client virtualization framework. Read more!
http://p.sf.net/sfu/dell-eql-dev2dev
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits