|
>> More than once I have wracked my brain looking for >> a problem because something has the exact, >> precise same code as always and the last time >> it was changed was eight years ago, and yet some >> new data value or some new situation, >> or who knows what, was different today. I was party to one such problem many years ago. To cut a long story short, in the intervening 8 years changes had been made in the way the compiler laid out storage. Among other changes, some additional pointers were being generated to speed up program calls. The result was that the corruption that had been occurring for years was suddenly screwing up a pointer and the program blew up. Previously the corruption had been occurring in a buffer that was subsequently space filled anyway! Always make sure parameter lengths match! This is but one of many reasons why prototyping your parameters is a really good idea. Jon Paris Partner400 www.Partner400.com
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.