📄 news
字号:
-------------------------------------------------------------------------------$Id: NEWS,v 1.120 2004/10/19 14:50:52 gray Exp $-------------------------------------------------------------------------------Version 5.4.2 (10/19/2004): * Fixed a couple of longer standing stupid alloc/free blank bugs.Version 5.4.1 (10/12/2004): * Found and fixed a stupid little testing bug.Version 5.4.0 (10/12/2004): * Added return.h support for ARM processors. * Made allocation of 0 sized chunks the default. * Fixed some missing ; and a int/unsigned-int bug. * Added return.h support for AIX 4.3 RS/6000. * Added backwards compatibility for %d usage in logfile name. * Removed force-linear token because made invalid with mmap addition. * Added mmap usage inside of the library. Should it be the default? * Internal random algorithm now seeded with fixed value. * Really improved the logging of error information about pointers. * Added return.h support for ia64 machine type. * Increased the maximum source file length from 10k to 30k. * Added compat and arg_checking of atoi, atol, and memmove. * Added arg checking to internal strdup functions.Version 5.3.0 (01/28/2004): * Fixed bad bug where arch_check funcs weren't locking point checks. * Added dmalloc_verify_pnt function for proper external pointer checks. * Added dmalloc_memory_allocated function to help memory size checks. * Added --start-size to dmalloc to start checks after alloc X bytes. * Added check-shutdown token and support to check pointers on shutdown. * Added dmalloc_count_changed function. * Added ability to disable the LARGEST_ALLOCATION setting it to 0.Version 5.2.4 (11/18/2003): * Fixed bug with check-fence and check-funcs interaction. Thanks John. * Added support for rc shell. Thanks Michael. * Fixed a logfile NULL pointer printf. Thanks John. * Fleshed out the error code documentation. * Fixed Makefile.in to properly refer to docs directory. Thanks Mike. * Improved the docs about alias creation and usage. * Added testing for destructors in configure.Version 5.2.3 (09/29/2003): * Added new GetEnvironmentVariableA Cygwin call. Thanks to Rolf. * Added quick checks for the constructor attribute. * Changed configure script to define HAVE_... to 0 or 1. Thanks Brian. * Removed usage of environ from dmalloc_argv.c. Thanks Brian.Version 5.2.2 (09/08/2003): * Added a Cygwin section to the manual. * Added GETENV_SAFE testing for Cygwin environments. Feedback needed. * Fixed bug in function args pnt checking. Thanks TJ and Philippe. * Improved pnt checking code to properly check free space above alloc. * Fixed possible lock leak in the shutdown code. Thanks TJ. * Changed the installing of libraries to install-data. Version 5.2.1 (07/08/2003): * Fixed problems with macro arguments not in (). Thanks Paul. * Fixed problem with strdup not returning char *. Thanks Dan, Juhani.Version 5.2.0 (06/10/2003): * Renamed the "max memory space wasted" to "max unused memory space". * Added PDF documentation files to the installation. * Fixed a problem with the global Makefile and dmalloc_t. Thanks Bert. * Added new logfile expansion of %u as getuid() output. * Added new logfile expansion of %h as gethostname() output. * Added new logfile expansion of %t as time() output. * Added new logfile expansion of %p as getpid() output. * Added new logfile expansion of %i as thread-id output. * Removed the old logfile % processing. %d no longer expands to pid. * Added LOG_PID to settings.dist to log pid on each line of logfile. * Added LOG_REOPEN to reopen log if pid changes (fork). Thanks James. * Renamed LOG_ITERATION_COUNT to LOG_ITERATION in settings.dist. * Renamed STORE_SEEN_COUNT to LOG_PNT_SEEN_COUNT in settings.dist. * Renamed STORE_ITERATION_COUNT to LOG_PNT_ITERATION in settings.dist. * Renamed STORE_TIME to LOG_PNT_TIME in settings.dist. * Renamed STORE_TIMEVAL to LOG_PNT_TIMEVAL in settings.dist. * Renamed LOG_THREAD_ID to LOG_PNT_THREAD_ID in settings.dist. * Improved the log_stats and log_changed output a bit.Version 5.1.0 (06/08/2003): * Fixed the FREED_POINTER_DELAY functionality. * Removed PROTECT_BLOCKS from settings.dist because was unused. * Added contrib/tsecs perl script which converts epoch secs to ctime. * Removed the unused check-lists debug token. * Fixed the realloc-copy and never-reuse functionality. * Improved the stats output. * Added many automatic tests to dmalloc_t. * Expanded the arguments to dmalloc_examine to return more information. * Found/fixed problem where last-used mark was not set right properly. * Found/fixed bad problem where leaked memory was not being reported.Version 5.0.2 (06/04/2003): * Fixed some problems and improved code in the test utility dmalloc_t. * Integrated an internal random number generator to stop recursion. * Improved some of the configure script internals. * Added support for a.exe and other cc output forms for Windoze.Version 5.0.1 (05/20/2003): * Updated configure.ac script. * Added dmalloc_page_size() function. * Improved the auto-testing in dmalloc_t. * Found a [bad] problem with putting pointers back on the free list. * Added some checking of pointers on the free list. * Added the per-pointer checking for cleared free memory. * Compressed the per-pointer admin structure by 8 bytes.Version 5.0.0 (05/16/2003): * Added -M --memory-limit argument to dmalloc to limit allocations. * Deprecated log-blocks and heap-check-map debug tokens. * Added a currently in use stats to log-stats. * Removed a number of old error codes. * Fixed some literal ranlib entries in the Makefile.in. * Removed the USE_DMALLOC_LEAP functionality to simplify. * Added a function to re-open the logfile when processing flags. * Added section to docs about debugging daemon and CGI processes. * Made some cosmetic improvements to the configure.in script. * Due to public pressure, I've made free(0L) not an error by default. * Added separate characters for blanking allocs (0xda) vs frees (0xdf). * Removed short token support. Was anyone using this? * Did some more work on testing and chunk.c changes. * Added better autoconf checking of thread libraries for FreeBSD. * Added dmalloc_debug_setup function to set dmalloc flags thru a call. * Significantly changed how the library manages fence protected allocs. * Renamed _dmalloc_logpath to dmalloc_logpath to match the docs and .h. * Solved problem with dmalloc_t and no sbrk. * Added INTERNAL_MEMORY_SPACE setting to the settings.dist file. * Added the 'How It Works' section to the manual. * Removed necessity of strcat. * Removed use of strcpy internally. * Fixed problem with use of start-count and start-file.Version 4.8.2 (02/26/2001): * Installed new configure script to remove C++ requirement. * Added more information to error messages on freed memory overwrite. * Added heap checking when we shutdown if check-blank is enabled. * Added separate ALLOC_BLANK_CHAR and FREE_BLANK_CHAR to settings.dist.Version 4.8.1 (11/14/2000): * Added --enable-shlib to configure to enable building of shared libs. * Added autoconf handling of the shlibdir for installing shared libs. * Added improvements to the shared library creation in the Makefile. * Fixed the #ident "..."; semi-colon problem.Version 4.8.0 (11/10/2000): * Added OpenBSD port information. Hopefully Free/Net/... BSD as well. * Renamed malloc.h to malloc_funcs.h to avoid system conflicts. * Made log-unknown the default and depreciated the token. * Added log-known token to _only_ report on known (file/line) memory. * malloc_verify, dmalloc_verify now return [D]MALLOC_VERIFY_[NO]ERROR. * Just about every dmalloc function now initializes the library. * dmalloc_debug now takes unsigned-int flags and returns the old flags. * debug_current now returns an unsigned int flag value. * Added autoconfig handling of #ident. I hate Unix's lack of standards. * Fixed a bug in chunk.c.Version 4.7.1 (07/25/2000): * Fixed problem with check-blank on but not free-blank or alloc-blank.Version 4.7.0 (07/24/2000): * Added support for --disable-cxx and --enable-threads to configure. * Added autoconf code to see if the return macros work for an system. * Renamed USE_RET_ADDRESS to USE_RETURN_MACROS in settings.dist/h. * Added threaded C++ library support to Makefile. * Fixed problems with -p and -m not setting the debug flags. * Added 'force-linear' and depreciated the 'allow-nonlinear' token.Version 4.6.0 (05/17/2000): * Reworked internal init values for env vars pointed out by Carlton. * Fixed bug found by Mcvey where the 1st dblock alloc in block missed. * Moved to 'make cxx' and 'make installcxx' for building C++ library. * Removed DMALLOC_VERIFY_[NO]ERROR and replaced with DMALLOC_[NO]ERROR. * dmalloc_examine now returns DMALLOC_[NO]ERROR not [NO]ERROR. * Added initial mprotect configuration and stub functions. * Added autoconf building of cxx library per Dimitri's comments. * Revamped rpm.spec and renamed to dmalloc.rpm per Dimitri's comments.Version 4.5.2 (04/18/2000): * Fixed bug in chunk.c pointer checking. Thanks Ezra. * Cleaned up some of the compat.[ch] headers to better match reality. * Reorganized dmalloc.texi documentation and moved to using makeinfo.Version 4.5.1 (03/30/2000): * Fixed a compilation problem in dmalloc_lp.c.Version 4.5.0 (03/29/2000): * Added new dmalloc_mark() and dmalloc_log_changed() functions.Version 4.4.0 (03/20/2000): * Removed the stupid old Deansify.pl script. * Added rpm.spec file to the distribution. * Added code to fix some recursive problems with open and atexit. * Basically encorporated Randell's changes [finally]. Thanks dude. * Removed the stupid chunk.c unions. Why did I ever do that? * www.dmalloc.com -> dmalloc.com. * Added better help messages to dmalloc. * Fixed Makefile.dep creation with _th.o special objects. * Fixed the outputting of gratuitous colons. * Added @uref texinfo tags and new texinfo.tex.Version 4.3.0 (11/08/1999): * Fixed problems on Linux with the strdup macro. * Added copyright and url info for ident and what. * Added support for PTHREAD_MUTEX_INITIALIZER. * Added USE_DMALLOC_LEAP define in the settings.dist file. * Dmalloc now looks in the current directory for .dmallocrc before ~. * Rewrote a significant piece of the dmalloc utility. * Increased the filename size from 40 to 100 characters.Version 4.2.0 (03/11/1999): * Improved the autoconfig of abort and qsort safety. * Added memory tracking function to be called on each mem transaction. * Added DUMP_UNFREED_SUMMARY_ONLY variable to settings.dist. * Added MEMORY_TABLE_SIZE and MEMORY_TABLE_LOG vars to settings.dist. * Fixed problem with valloc exposed by moving to random(). * Fixed long standing problem with the NEVER-REUSE token. * Added memory table code for grouping of allocated and non-freed mem. * Removed a number of static variables for string buffers. * Removed PERMISSION file and all references to commercial-ness. * Moved to internal sprintf code for snprintf, etc.. * Added dmalloc_message to the exported list of functions.Version 4.1.2 (12/11/1998): * Fixed really bad bug which basically killed pthread support.Version 4.1.1 (11/16/1998): * Fixed signal autoconfiguration.Version 4.1.0 (11/16/1998): * Added HTML versions of the manuals to the releases. * Added FREED_POINTER_DELAY in settings.h. Delays pointer reuse. * Renamed allow-zero token to be allow-free-null. * Added LOG_TIME_NUMBER and LOG_CTIME_STRING to the settings.h. * Disabled the log-thread-id macro. Use LOG_THREAD_ID in settings.h. * Disabled the log-stamp macro. Use LOG_TIME_NUMBER in settings.h. * Added -g (--gdb) flag to dmalloc utility along with gdb script. * Added missing delete[] function to the C++ code. * Moved some settings from chunk_loc.h into settings.dist. * Improved the handling of free(NULL) and malloc(0) settings. * Added initial memalign support with a first-time error message. * Renamed print-error token to print-messages. * Increased the default max memory size from 16mb to 64mb.Version 4.0.3 (10/15/1998): * Found and fixed a bug when reallocing a previous valloced section.Version 4.0.2 (10/15/1998): * Fixed a problem in return.h and DMALLOC_UNKNOWN_FILE.Version 4.0.1 (10/08/1998): * Added startup messages acknowledging the thread status. * Fixed problem with thread compilation and chunk.c. * Fixed possible race condition with synchronizing with external sbrks.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -