Hi,

Sean has left the following comment at Create a utility library (LIBBU) API unit test ... for backtrace.c http://www.google-melange.com/gci/task/view/google/gci2012/8012216:


buffer size


So this looks almost perfect. :)

The fixed buffer size is a bug report waiting to happen, especially since debug/crash output can vary. Since you have a file handle, you can call fstat() to get the file size and allocate a buffer of the appropriate size.


Greetings,
The Google Open Source Programs Team


---
You are receiving this message because you are subscribed to Create a utility library (LIBBU) API unit test ... for backtrace.c. To stop receiving these messages, go to: http://www.google-melange.com/gci/task/view/google/gci2012/8012216.

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
BRL-CAD Tracker mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-tracker

Reply via email to