Paul Eggert
0e56d268c0
* config/srclist.txt: Add glibc bug 321 for obstack.c, obstack.h.
...
* lib/obstack.c [defined _LIBC && defined USE_IN_LIBIO]: Don't
include <wchar.h>; no longer needed.
* lib/obstack.c (print_and_abort) [defined _LIBC]: Use __fxprintf
instead of inline stream orientation test and two separate
function calls. Pay no attention to USE_IN_LIBIO.
* lib/obstack.h [!__STDC__] (obstack_int_grow_fast): Fix misnamed
macro argument.
Reported by Matej Vela <vela@debian.org >.
2005-10-14 23:23:50 +00:00
Paul Eggert
267a39bafd
*** empty log message ***
2005-05-14 06:03:57 +00:00
Paul Eggert
3dec705e02
(obstack_empty_p): Don't assume that chunk->contents is suitably
...
aligned.
2004-08-10 05:16:29 +00:00
Jim Meyering
1e5e485be4
(obstack_base): Cast to (void *), per documentation.
2004-06-24 06:04:10 +00:00
Paul Eggert
39e82e46dd
Remove unused vars and decls in obstack.
2004-05-19 20:04:16 +00:00
Paul Eggert
e868156834
Port obstack to the AS/400.
2004-05-17 07:52:52 +00:00
Paul Eggert
62506e7817
Import obstack changes from libc.
2004-05-07 04:22:56 +00:00
Paul Eggert
19e15828f6
Merge changes from glibc obstack; minor cleanups to make it easier to
...
merge back in the future.
2003-10-22 05:10:04 +00:00
Paul Eggert
ff0ca1ea25
Don't use lvalue casts, as GCC plans to remove support for them in GCC 3.5.
2003-10-22 01:02:47 +00:00
Paul Eggert
e5c0881413
Remove K&R cruft.
2003-09-09 23:00:43 +00:00
Paul Eggert
aef0001b00
White-space changes only; from coreutils.
2003-08-15 03:12:34 +00:00
Paul Eggert
57153f2edb
(__INT_TO_PTR): Revert change of 2003-03-13; it breaks C++ compilation.
...
[!__GNUC__ || !__STDC__] (obstack_finish): Cast result to void*.
2003-07-11 23:33:34 +00:00
Paul Eggert
4589d52c7c
Switch from LGPL to GPL.
2003-07-09 22:48:52 +00:00
Jim Meyering
c36b7b511f
Merge changes from Coreutils.
...
(obstack_object_size): Declare temporary, __o, to be const,
in order to avoid warnings.
(obstack_room): Likewise.
(obstack_empty_p): Likewise.
2003-03-14 09:59:32 +00:00
Paul Eggert
70ec9ea693
(__INT_TO_PTR) [__STDC__]: Cast result to
...
(void *) to avoid diagnostic with native c89 on SGI IRIX 6.5
when compiling Bison 1.875's `bitset bset = obstack_alloc
(bobstack, bytes);'. Problem reported by Nelson H. F. Beebe.
2003-03-13 21:13:59 +00:00
Jim Meyering
063e0ea873
tweak a comment
2000-11-18 09:53:33 +00:00
Jim Meyering
291a8b36a3
Formatting changes.
...
(obstack_grow, obstack_grow0): Don't cast WHERE at all: that would
prevent type checking.
(obstack_ptr_grow, obstack_ptr_grow_fast): When assigning, don't
cast the value to (void *): assigning a `foo *' to a `void *'
variable is valid.
(obstack_int_grow, obstack_int_grow_fast): Don't cast AINT to int.
2000-11-18 09:50:09 +00:00
Jim Meyering
8ccdfffb64
Update from GNU libc.
2000-11-10 11:10:39 +00:00
Jim Meyering
89f2b48926
back out Copyright date changes for files with no changes year
2000-08-07 15:48:18 +00:00
Jim Meyering
d349992d82
update copyright date
2000-07-09 07:22:43 +00:00
Jim Meyering
1315b9b945
update from glibc -- solely white space changes
2000-05-04 07:19:24 +00:00
Jim Meyering
a97855187e
update from GNU libc
1997-11-13 14:22:56 +00:00
Jim Meyering
05fdbef0c8
update from glibc
1997-08-22 14:55:01 +00:00
Jim Meyering
e4ccac4d27
new obstack from libc
1997-02-04 03:20:29 +00:00
Jim Meyering
4d8692e44a
Include config.h.
...
[!HAVE_BCOPY && HAVE_MEMCPY && !defined (bcopy)]: Define bcopy
in terms of memcpy. Reported by Marcus Daniels.
1996-12-10 05:22:12 +00:00
Jim Meyering
2b7f7f6f6d
from franc,ois
1996-11-04 18:15:56 +00:00
Jim Meyering
6d8337bfc8
update FSF address in copyright
1996-07-15 03:36:16 +00:00
Jim Meyering
c89f48f01f
Include config.h.
...
Define bcopy to memcpy if possible.
1995-08-09 05:15:31 +00:00
Jim Meyering
d6435a176c
merge with 1.12
1994-11-06 17:51:31 +00:00
Jim Meyering
9f657ec184
merge with 3.10
1994-11-05 13:37:49 +00:00
Jim Meyering
bc244b778a
merge with 3.9u1
1994-11-04 16:50:15 +00:00
Jim Meyering
94f5c09e0f
Initial revision
1994-10-20 16:10:00 +00:00