Peter Johnson
ab13bd719e
Remove YASM_LIB_INTERNAL. It never really gained us that much in terms of
...
visibility savings, as basically everything defined it.
svn path=/trunk/yasm/; revision=1893
17 years ago
Peter Johnson
513fbd0234
Fix issue with [1843]; we can't use strlen() here as we can be given
...
an unterminated input string.
svn path=/trunk/yasm/; revision=1849
18 years ago
Peter Johnson
b2b92e20d8
Fix yasm__xstrdup() for the case when the destination is larger than the
...
source.
svn path=/trunk/yasm/; revision=1843
18 years ago
Peter Johnson
00473ca981
Bite the bullet and convert tabs to spaces. Previously yasm's source has
...
been using a mix of tabs and 4 spaces to indent; this looks horrible if
tab size is ever not 8. While I debated converting to tab-only indentation
that would have been a far higher impact to the source.
svn path=/trunk/yasm/; revision=1825
18 years ago
Peter Johnson
e974b3d13e
* xstrdup.c: Remove compatibility shims that, due to this file's inclusion in gap, broke DJGPP
...
build.
svn path=/trunk/yasm/; revision=1469
19 years ago
Peter Johnson
1a86c34026
* On most files: re-enable $IdPath$ as $Id$, and enable Id keyword expansion.
...
svn path=/trunk/yasm/; revision=1137
20 years ago
Peter Johnson
cfc6bf0ded
Clean up and simplify libyasm.h options and symbol visibility:
...
- Move config.h and util.h from libyasm (and installed libyasm) to top level.
- Move yasm_* functions from util.h to coretype.h.
- Remove a number of autoconf-related YASM_*_INTERNAL options from libyasm.h.
- Rename YASM_INTERNAL to YASM_LIB_INTERNAL; it now actually means what the
comment describes: enables definitions that violate the yasm_* namespace.
While we're at it, no longer define YASM_LIB_INTERNAL from yasm frontend, so
it's closer to what a real typical libyasm-using application would look like.
svn path=/trunk/yasm/; revision=944
22 years ago
Peter Johnson
0786a76895
Make libyasm a "real" library, including installing header files.
...
Start separating modules and frontends from libyasm internals.
svn path=/trunk/yasm/; revision=849
22 years ago
Peter Johnson
84ee559be7
The Great Renaming (prefixing with yasm_), Part 2: allocation functions.
...
svn path=/trunk/yasm/; revision=843
22 years ago
Peter Johnson
e54446905d
Use automake's standard macro for dmalloc instead of rolling our own.
...
svn path=/trunk/yasm/; revision=777
22 years ago
Peter Johnson
f78505a6a5
Add xstrndup() to easily create a 0-terminated duplicate of a
...
non-zero-terminated source string.
svn path=/trunk/yasm/; revision=649
23 years ago
Peter Johnson
a7ac50c918
Add coretype.h, make util.h do a lot more, use util.h to simplify include
...
sections of C files. Also remove IdPath from top comment in files where
RCSID() is used. Move RCSID() to immediately after util.h include.
svn path=/trunk/yasm/; revision=313
23 years ago
Peter Johnson
adf5a95e89
Add option for malloc debugging using dmalloc library ( http://dmalloc.com/ ).
...
Remove unnecessary stdlib includes (because we use xmalloc instead of malloc).
svn path=/trunk/yasm/; revision=297
23 years ago
Peter Johnson
b13f4e4f87
malloc->xmalloc, strdup->xstrdup, and calloc->xcalloc. The x* family performs
...
error checking. Remove check for strdup() from configure, as we don't need it.
svn path=/trunk/yasm/; revision=253
23 years ago
Peter Johnson
b2890b8f9d
$Id$ -> $IdPath$.
...
svn path=/trunk/yasm/; revision=174
23 years ago
Peter Johnson
86f7268ea8
Add RCSID().
...
svn path=/trunk/yasm/; revision=151
23 years ago
Peter Johnson
77fc6dd491
Standardize order of include statements as well as autoconf'ing those source
...
files that weren't yet.
svn path=/trunk/yasm/; revision=150
23 years ago
Peter Johnson
5faba8f40f
Change copyright and code to match original UCB source.
...
svn path=/trunk/yasm/; revision=65
24 years ago
Peter Johnson
80c2b676be
Use autoconf to determine when to include our implementation of strdup, so
...
remove util.c and create strdup.c. Make util.h, strdup.c, and several source
files use config.h defines.
svn path=/trunk/yasm/; revision=62
24 years ago
Peter Johnson
6b93227482
Use autoconf to determine when to include our implementation of strdup, so
...
remove util.c and create strdup.c. Make util.h, strdup.c, and several source
files use config.h defines.
svn path=/trunk/yasm/; revision=61
24 years ago
Peter Johnson
2141d4f43d
Initial check-in of utility functions.
...
svn path=/trunk/yasm/; revision=49
24 years ago
Peter Johnson
d3a51f5835
Initial check-in.
...
svn path=/trunk/yasm/; revision=7
24 years ago