DJ Delorie
6dd7f013b4
merge from gcc
20 years ago
Vladimir Prus
53d7966f2a
include/
* libiberty.h (PEX_STDERR_TO_PIPE): New define.
(PEX_BINARY_ERROR): New define.
(pex_read_err): New function.
libiberty/
* pex-common.h (struct pex_obj): New fields
stderr_pipe and read_err.
* pex-common.c (pex_init_common): Initialize
stderr_pipe.
(pex_run_in_environment): Add error checking
for PEX_STDERR_TO_PIPE. Create a pipe
for stderr if necessary.
(pex_read_err): New.
(pex_free): Close read_err.
* pexecute.txh: Document changes.
* functions.texi: Regenerated.
20 years ago
DJ Delorie
208c16740c
merge from gcc
20 years ago
Ben Elliston
71f2e6f41f
* strsignal.c (psignal): Change type of signo to int.
* functions.texi: Regenerate.
20 years ago
Ben Elliston
0bbe7a79f5
* pex-unix.c (writeerr): Cast write result to void.
20 years ago
DJ Delorie
2da20a1b40
merge from gcc
20 years ago
Ben Elliston
cc0732ba28
* choose-temp.c (choose_temp_base): Check the result of the call
to mktemp rather than testing the length of the modified string.
20 years ago
Geoffrey Keating
6ef6358e51
* cp-demangle.h: Add comment explaining what to do to avoid
overrunning string.
(d_check_char): New.
(d_next_char): Don't advance past trailing '\0'.
* cp-demangle.c (cplus_demangle_mangled_name): Use d_check_char.
(d_nested_name): Likewise.
(d_special_name): Likewise.
(d_call_offset): Likewise.
(d_function_type): Likewise.
(d_array_type): Likewise.
(d_pointer_to_member_type): Likewise.
(d_template_param): Likewise.
(d_template_args): Likewise.
(d_template_arg): Likewise.
(d_expr_primary): Likewise.
(d_local_name): Likewise.
(d_substitution): Likewise.
(d_ctor_dtor_name): Use d_advance rather than d_next_char.
* testsuite/test-demangle.c: Include sys/mman.h.
(MAP_ANONYMOUS): Define.
(protect_end): New.
(main): Use protect_end.
* testsuite/demangle-expected: Add testcases for overrunning
the end of the string.
20 years ago
Joern Rennecke
d8f813d405
include:
2006-05-03 Andrew Stubbs <andrew.stubbs@st.com>
J"orn Rennecke <joern.rennecke@st.com>
PR driver/29931
* libiberty.h (make_relative_prefix_ignore_links): Declare.
libiberty:
2006-05-03 Andrew Stubbs <andrew.stubbs@st.com>
J"orn Rennecke <joern.rennecke@st.com>
PR driver/29931
* make-relative-prefix.c (make_relative_prefix_1): New function,
broken out of make_relative_prefix. Make link resolution dependent
on new parameter.
(make_relative_prefix): Use make_relative_prefix_1.
(make_relative_prefix_ignore_links): New function.
20 years ago
DJ Delorie
3c9f59e48f
merge from gcc
20 years ago
Vladimir Prus
fb3471960f
2006-11-08 Vladimir Prus <vladimir@codesourcery.com>
* pex-win32.c (no_suffixes): Remove.
(std_suffixes): Add "" as first element.
(find_executable): Remove detection of already-present
extension. Try all suffixes in std_suffixes.
20 years ago
Julian Brown
9e59254c41
* floatformat.c (get_field): Fix segfault with little-endian word
order on 64-bit hosts.
(put_field): Likewise.
(min): Move definition.
20 years ago
DJ Delorie
3ac01eb265
merge from gcc
20 years ago
DJ Delorie
78de3ccc2a
merge from gcc
20 years ago
DJ Delorie
bff368bd19
merge from gcc
20 years ago
DJ Delorie
e63f184e3f
merge from gcc
20 years ago
DJ Delorie
b5d60b683c
merge from gcc
20 years ago
Corinna Vinschen
069e4b1944
* configure.ac: Add case for Mingw as host.
* configure: Regenerate.
20 years ago
DJ Delorie
cb6c09ace5
merge from gcc
20 years ago
DJ Delorie
a7d421b815
merge from gcc
20 years ago
Alexandre Oliva
6816f9950e
ChangeLog:
* ltconfig: chmod 644 before ranlib during install.
libiberty/ChangeLog:
* Makefile.in: chmod 644 before ranlib during install.
20 years ago
DJ Delorie
7741be99dd
merge from gcc
20 years ago
DJ Delorie
014a8caf46
merge from gcc
20 years ago
DJ Delorie
069c63e246
merge from gcc
20 years ago
DJ Delorie
f6b66e9075
merge from gcc
21 years ago
Julian Brown
c77d28aca7
* floatformat.c (floatformat_to_double): Fix (biased) exponent=0 case.
21 years ago
DJ Delorie
3db2e6ddf6
merge from gcc
21 years ago
DJ Delorie
545c9aee9b
merge from gcc
21 years ago
DJ Delorie
8e1e9959c5
merge from gcc
21 years ago
DJ Delorie
57b126a363
merge from gcc
21 years ago
DJ Delorie
9223c9457d
merge from gcc
21 years ago
DJ Delorie
96f4851a80
merge from gcc
21 years ago
DJ Delorie
1c7a49d207
merge from gcc
21 years ago
DJ Delorie
e27d251e32
merge from gcc
21 years ago
DJ Delorie
fd7d450d2b
merge from gcc
21 years ago
DJ Delorie
67d78caad5
merge from gcc
21 years ago
DJ Delorie
648c3dc081
merge from gcc
21 years ago
DJ Delorie
7887b2ce66
merge from gcc
21 years ago
DJ Delorie
718c0ded1f
merge from gcc
21 years ago
DJ Delorie
fb10537e39
merge from gcc
21 years ago
Mark Mitchell
5209596cca
* at-file.texi: Fix typo.
21 years ago
Mark Mitchell
7b96829ccc
* at-file.texi: New file.
21 years ago
Mark Mitchell
48e79b0a53
* argv.c (expandargv): Do not use xmalloc_failed.
21 years ago
Mark Mitchell
7b17bc2995
* libiberty.h (expandargv): New function.
* argv.c (safe-ctype.h): Include it.
(ISBLANK): Remove.
(stdio.h): Include.
(buildargv): Use ISSPACE instead of ISBLANK.
(expandargv): New function.
* Makefile.in: Regenerated.
21 years ago
DJ Delorie
f59e96e06c
merge from gcc
21 years ago
DJ Delorie
3b6940c0d1
merge from gcc
21 years ago
Kelley Cook
a9479c3f88
2005-08-17 Kelley Cook <kcook@gcc.gnu.org>
* strverscmp.c: Update FSF address.
* testsuite/Makefile.in: Likewise.
* testsuite/test-demangle.c: Likewise.
* testsuite/test-pexecute.c: Likewise.
21 years ago
DJ Delorie
55060c0b16
merge from gcc
21 years ago
DJ Delorie
6038baea6c
merge from gcc
21 years ago
DJ Delorie
c750388a85
merge from gcc
21 years ago