58 Commits (02c79b209cb51bf749388a8ebd740513ffc7b342)

Author SHA1 Message Date
Peter Johnson eafa108191 * util.h (BitCount): Change bit-counting algorithm; the old one miscounted 20 years ago
Peter Johnson 1a86c34026 * On most files: re-enable $IdPath$ as $Id$, and enable Id keyword expansion. 20 years ago
Peter Johnson 2748972397 Avoid warnings in strsep due to glibc's bits/string2.h string inlining by 22 years ago
Peter Johnson cc3f9486f3 Simplify RCSID() definition. 22 years ago
Peter Johnson f7be0f0fd7 Be a bit friendlier to those compiling without HAVE_CONFIG_H by always 22 years ago
Peter Johnson dd4ae0b63a Only include config.h if HAVE_CONFIG_H is defined. 22 years ago
Peter Johnson b6a212e199 Pre-include libyasm/coretype.h to avoid #defining functions such as 22 years ago
Peter Johnson cfc6bf0ded Clean up and simplify libyasm.h options and symbol visibility: 22 years ago
Peter Johnson d710166b48 Comment for Doxygen documentation generation. Comment-only changes. 22 years ago
Peter Johnson f381195dc1 Undefine __STRICT__ANSI__ when compiling with gcc -ansi and glibc to avoid many 22 years ago
Peter Johnson ddc08a6994 Use system includes instead of local includes. This allows replacement of 22 years ago
Peter Johnson af39a1017c Don't redefine NDEBUG if it's already defined. 22 years ago
Peter Johnson 0786a76895 Make libyasm a "real" library, including installing header files. 22 years ago
Peter Johnson 84ee559be7 The Great Renaming (prefixing with yasm_), Part 2: allocation functions. 22 years ago
Peter Johnson d9f68d6d4b Unmodularize errwarn, while making key errwarn functions replaceable. 22 years ago
Peter Johnson 9d0fa1135c The Great Renaming, Part 2: prefix strcasecmp and strncasecmp with yasm__. 22 years ago
Peter Johnson b1faf6329c Relicense under 2-clause BSD license. 22 years ago
Peter Johnson 86751029a3 Add va_list versions of error and warning errwarn functions. 22 years ago
Peter Johnson 9f6cb6783f Modularize errwarn. gettext()-ize in errwarn, not in every module, eliminating 22 years ago
Peter Johnson b59f5507da Relicense under 3-clause BSD license. 22 years ago
Peter Johnson e54446905d Use automake's standard macro for dmalloc instead of rolling our own. 22 years ago
Peter Johnson 326b77c80c Assume all sys/queue.h implementations are broken, and always use our local 22 years ago
Peter Johnson d0fa038137 Remove obsolete references to HAVE_GNU_C_LIBRARY which were causing build 22 years ago
Peter Johnson da070d5964 Move strndup() declaration outside !DMALLOC #ifdef, as it's not defined by 22 years ago
Peter Johnson f78505a6a5 Add xstrndup() to easily create a 0-terminated duplicate of a 23 years ago
Peter Johnson 1b6ca83117 Splint cleanups on memory allocation routines. 23 years ago
Peter Johnson b9541920f1 Create global macro NELEMS to replace countof macro defined just in main.c. 23 years ago
Peter Johnson bccc5e7ec7 When using Splint, don't try to use gettext(). 23 years ago
Peter Johnson ba2c819e71 Move BitCount() macro from hamt.c to util.h. 23 years ago
Peter Johnson 855891dac2 Fix build problem on Linux with toascii() define. 23 years ago
Peter Johnson b3cb8c0292 Move assert.h include to util.h 23 years ago
Peter Johnson a64ee74f8f Fix typo in HAVE_STRCMPI strncasecmp() #define. 23 years ago
Peter Johnson 3b496cdde7 Do intl more correctly. nointl/libintl.h is unnecessary; it can be detected 23 years ago
Peter Johnson 5cd0858637 Add valparam data structure. 23 years ago
Peter Johnson 8178f883a5 Modify so that almost everything passes LCLint with the options in lclint.sh. 23 years ago
Peter Johnson 4df0191de8 lclint-ize gettext(). 23 years ago
Peter Johnson 21eb7c7fe2 Add some lclint annotations. 23 years ago
Peter Johnson a7ac50c918 Add coretype.h, make util.h do a lot more, use util.h to simplify include 23 years ago
Peter Johnson 665eddf5d7 Conditional x* prototypes on !DMALLOC (as they're defined by dmalloc.h if 23 years ago
Peter Johnson 6f708e3034 Add xfree() to replace calls to free(). 23 years ago
Peter Johnson 0a98a74163 Add mergesort() replacement from BSD sources. 23 years ago
Peter Johnson cdcf358af1 RCSID() breaks under DJGPP because of "__unused". Removing __unused shouldn't 23 years ago
Peter Johnson 193392dcb6 Fix LOTS of little nits. Primary changes: 23 years ago
Peter Johnson b13f4e4f87 malloc->xmalloc, strdup->xstrdup, and calloc->xcalloc. The x* family performs 23 years ago
Peter Johnson df62b73779 Add check and BSD replacement for strsep(3). 23 years ago
Peter Johnson f173e9e042 Include stddef.h for size_t. 23 years ago
Peter Johnson 91f41e241b Try to fix configure and automake files so everything builds a bit cleaner. 23 years ago
Peter Johnson 1284d8d8af Pull in GCC and ELF alternatives for RCSID() if available. 23 years ago
Michael Urman caba67b7d6 Fixed two ansi C errors (empty file and extra semicolon) 23 years ago
Peter Johnson b2890b8f9d $Id$ -> $IdPath$. 23 years ago