aboutsummaryrefslogtreecommitdiff
path: root/libio
AgeCommit message (Collapse)AuthorFilesLines
2000-11-28gen-params: Put in cases for O_EXCL, O_APPEND not being defined.Geoffrey Keating2-1/+40
2000-11-28 Geoffrey Keating <geoffk@redhat.com> Felix Lee <flee@redhat.com> * gen-params: Put in cases for O_EXCL, O_APPEND not being defined. Co-Authored-By: Felix Lee <flee@redhat.com> From-SVN: r37821
2000-10-18iostream.cc (ends): Release the acquired lock.Jakub Jelinek2-2/+17
* iostream.cc (ends): Release the acquired lock. (endl): Likewise. From-SVN: r36937
2000-10-16iostream.cc (ostream::operator<<(double n)): Initialize new fields wide and ↵Jakub Jelinek2-1/+16
i18n of struct printf_info. * iostream.cc (ostream::operator<<(double n)) [__GLIBC_MINOR__ >= 2]: Initialize new fields wide and i18n of struct printf_info. (ostream::operator<<(long double n)) [__GLIBC_MINOR__ >= 2]: Likewise. From-SVN: r36876
2000-09-23stdstreams.cc: Include <libio.h>, not "libio.h".Franz Sirl4-3/+15
2000-09-23 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> * stdstreams.cc: Include <libio.h>, not "libio.h". * iolibio.h: Likewise. (_IO_pos_BAD): Use _IO_off_t instead of _IO_fpos_t. * libio.h (_IO_USER_LOCK): Define. From-SVN: r36580
2000-09-07Move statement-tree facilities from C++ to C front-end.Mark Mitchell1-1/+1
* c-common.h (c_tree_index): Add CTI_VOID_ZERO. (void_zero_node): New macro. (struct stmt_tree_s): New type. (stmt_tree): New typedef. (struct language_function): New type. (last_tree): New macro. (last_expr_type): Likewise. (walk_tree_fn): New typedef. (current_stmt_tree): New function. (begin_stmt_tree): Likewise. (add_stmt): Likewise. (finish_stmt_tree): Likewise. (statement_code_p): Likewise. (lang_statement_code_p): New variable. (walk_stmt_tree): New function. (STMT_IS_FULL_EXPR_P): New macro. * c-common.c (lang_statement_code_p): New variable. (c_common_nodes_and_builtins): Initialize void_zero_node. (statement_code_p): New function. (walk_stmt_tree): Likewise. * c-decl.c (language_function): Rename to ... (c_language_function): ... this. Include language_function. (push_c_function_context): Adjust accordingly. (pop_c_function_context): Likewise. (mark_c_function_context): Likewise. (current_stmt_tree): Define. * c-semantics.c (begin_stmt_tree): New function. (add_stmt): Likewise. (prune_unused_decls): Likewise. (finish_stmt_tree): Likewise. Move statement-tree facilities from C++ to C front-end. * cp-tree.h (cp_tree_index): Remove CPTI_VOID_ZERO. (void_zero_node): Remove. (stmt_tree): Likewise. (scope_chain): Adjust. (language_function): Rename to cp_language_function. (cp_function_chain): Adjust. (current_stmt_tree): Remove. (last_tree): Likewise. (last_expr_type): Likewise. (struct lang_decl): Adjust. (STMT_IS_FULL_EXPR_P): Remove. (add_tree): Remove. (begin_stmt_tree): Likewise. (finish_stmt_tree): Likewise. (walk_tree_fn): Likewise. (walk_stmt_tree): Likewise. * class.c (finish_struct): Replace use of add_tree with add_stmt. * decl.c (mark_stmt_tree): Adjust type. (init_decl_processing): Don't build void_zero_node. (initialize_local_var): Adjust usage of current_stmt_tree. (finish_enum): Use add_stmt, not add_tree. (save_function_data): Adjust use of language_function. (finish_constructor_body): Use add_stmt, not add_tree. (finish_destructor_body): Likewise. (push_cp_function_context): Adjust use of language_function. (pop_cp_function_context): Likewise. (mark_lang_function): Likewise. (mark_cp_function_context): Likewise. * init.c (build_aggr_init): Adjust use of current_stmt_tree. (build_vec_init): Likewise. * semantics.c (SET_LAST_STMT): Remove. (RECHAIN_STMTS): Don't use it. (stmts_are_full_exprs_p): Adjust use of current_stmt_tree. (current_stmt_tree): Define. (add_tree): Remove. (finish_goto_stmt): Use add_stmt, not add_tree. (finish_expr_stmt): Likewise. (begin_if_stmt): Likewise. (finish_then_clause): Likewise. (begin_while_stmt): Likewise. (begin_do_stmt): Likewise. (finish_return_stmt): Likewise. (begin_for_stmt): Likewise. (finish_break_stmt): Likewise. (finish_continue_stmt): Likewise. (begin_switch_stmt): Likewise. (finish_case_label): Likewise. (begin_try_block): Likewise. (begin_function_try_block): Likewise. (begin_handler): Likewise. (begin_catch_block): Likewise. (begin_compound_stmt): Likewise. (begin_asm_stmt): Likewise. (finish_asm_stmt): Likewise. (finish_label_stmt): Likewise. (add_decl_stmt): Likewise. (finish_subobject): Likewise. (finish_decl_cleanup): Likewise. (finish_named_return_value): Likewise. (setup_vtbl_ptr): Likewise. (add_scope_stmt): Likewise. (finish_stmt_expr): Likewise. (prune_unused_decls): Remove. (begin_stmt_tree): Likewise. (finish_stmt_tree): Likewise. (prep_stmt): Adjust use of current_stmt_tree. (lang_expand_stmt): Likewise. * tree.c (statement_code_p): Remove. (cp_statement_code_p): New function. (walk_stmt_tree): Remove. (init_tree): Set lang_statement_code_p. From-SVN: r36221
2000-08-18editbuf.h (edit_streambuf): Fix syntax error in friend-declaration.Gabriel Dos Reis2-1/+6
* editbuf.h (edit_streambuf): Fix syntax error in friend-declaration. From-SVN: r35782
2000-08-14top level:Zack Weinberg2-10/+20
* configure: Make enable_threads and enable_shared defaults explicit. Substitute enable_threads into generated Makefiles. * configure.in: Accept *-*-linux* not just *-*-linux-gnu*. * libtool.m4: Accept *-*-linux* not just *-*-linux-gnu*. gcc: * configure.in: Accept *-*-linux* not just *-*-linux-gnu*. * fixinc/inclhack.def: Likewise. * fixinc/mkfixinc.sh: Likewise. * configure: Regenerate. * fixinc/fixincl.x: Regenerate. * install.texi: Document equivalence of linux and linux-gnu. libio: * configure.in: Accept *-*-linux* not just *-*-linux-gnu*. Honor --disable-threads. libstdc++: * configure.in: Accept *-*-linux* not just *-*-linux-gnu*. Honor --disable-threads. libstdc++-v3: * configure: Regenerate after change to ../libtool.m4. libobjc: * configure: Regenerate after change to ../libtool.m4. From-SVN: r35680
2000-07-23* gen-params: Added trailing space for 'long long int' regexp.Krister Walfridsson2-1/+5
From-SVN: r35200
2000-06-30in libiberty/ChangeLog:Alex Samuel3-5/+11
* cp-demangle.c (demangle_encoding): Accept no substitutions. (demangle_name): Handle <substitution> followed by <unqualified-template-name>. (demangle_type): Follow special substitutions with <class-enum-type> (demangle_subtitution): Set template_p for special substitutions. (main): Fix typos. in gcc/cp/ChangeLog: * mangle.c (find_substitution): Use same_type_p. (write_encoding): Don't check for substitutions. in libio/ChangeLog: * libioP.h (VTABLE_LABEL): Update for new vtable mangling. * stdstrbufs.cc (filebuf_vtable): Likewise. (stdiobuf_vtable): Likewise. From-SVN: r34811
2000-06-10Revert previous patchMark Mitchell3-11/+32
From-SVN: r34482
2000-06-08libioP.h: Remove old ABI mangling code.Mark Mitchell3-32/+11
* libioP.h: Remove old ABI mangling code. * stdstrbufs.cc: Likewise. From-SVN: r34459
2000-06-04libioP.h: Handle new ABI mangling.Mark Mitchell3-4/+22
* libioP.h: Handle new ABI mangling. * stdstrbufs.cc: Likewise. From-SVN: r34395
2000-05-24Update.Ulrich Drepper1-4/+9
From-SVN: r34129
2000-05-24(endl): Fix bug in last change.Ulrich Drepper1-2/+3
(ends): Make same change as for endl. From-SVN: r34128
2000-05-23iostream.cc (endl): Verify stream can accept characters before writing its eol.Jeff Law2-1/+8
* iostream.cc (endl): Verify stream can accept characters before writing its eol. From-SVN: r34122
2000-05-23bcp-1.c: Replace abort in arg of __builtin_constant_p with a generic ↵Zack Weinberg2-0/+6
external function. gcc/testsuite: * c-torture/execute/bcp-1.c: Replace abort in arg of __builtin_constant_p with a generic external function. * gcc.dg/20000108-1.c, gcc.dg/980211-1.c, gcc.dg/980414-1.c, gcc.dg/990119-1.c, gcc.dg/990409.c, gcc.dg/990424-1.c, gcc.dg/991230-1.c, gcc.dg/clobbers.c, gcc.dg/lineno.c, gcc.dg/noreturn-1.c, gcc.dg/trigraphs.c, gcc.dg/uninit-4.c: Prototype abort and/or exit. * gcc.dg/990407-1.c, gcc.dg/strpaste.c, gcc.dg/special/alias-1.c, gcc.dg/special/gcsec-1.c, gcc.dg/special/weak-1.c, gcc.dg/special/weak-2.c, gcc.dg/special/wkali-1.c, gcc.dg/special/wkali-2.c: Include stdlib.h. libio/tests: * tfformat.c: Include stdlib.h. From-SVN: r34110
2000-05-15config.shared: Change "pic" to depend on $(PICFLAG), not on $(enable_shared).David Edelsohn2-7/+14
* config.shared: Change "pic" to depend on $(PICFLAG), not on $(enable_shared). From-SVN: r33920
2000-05-11configure.in: Remove special casing for sco3.2v[45].Robert Lipe3-4/+6
2000-05-11 Robert Lipe <robertlipe@usa.net> * configure.in: Remove special casing for sco3.2v[45]. * config/sco4.mt: Deleted. From-SVN: r33864
2000-05-11config.table: Use mh-sparcpic for sparc*-*-*.Jakub Jelinek2-0/+5
* config.table: Use mh-sparcpic for sparc*-*-*. * configure.in: Use mh-sparcpic for sparc*-*-*. From-SVN: r33848
2000-04-02* configure.in: Indent the # of #include_next one space.Zack Weinberg2-1/+5
From-SVN: r32871
2000-03-29* configure.in: -linux-gnu*, not -linux-gnu.Jason Merrill2-2/+6
From-SVN: r32823
2000-01-28fstream.h (ifstream::ifstream): Add ios::in to mode.Martin v. Löwis2-5/+12
* fstream.h (ifstream::ifstream): Add ios::in to mode. (ifstream::open): Likewise. (ofstream::ofstream): Add ios::out to mode. (ofstream::open): Likewise. From-SVN: r31666
2000-01-28dbz.c, dbzmain.c: Include stdlib.h.Zack Weinberg3-12/+8
* dbz/dbz.c, dbz/dbzmain.c: Include stdlib.h. Don't declare malloc, calloc, free, atol, atoi, or errno. (errno.h was already being included.) From-SVN: r31659
2000-01-12configure.in (*-*-beos*): Recognize.Fred Fish3-0/+31
* configure.in (*-*-beos*): Recognize. * config/beos.mt: New file. From-SVN: r31374
1999-12-22libio.h (_IO_cookie_io_functions_t): Use _IO_off_t instead of _IO_fpos_t.Jakub Jelinek5-34/+49
* libio.h (_IO_cookie_io_functions_t): Use _IO_off_t instead of _IO_fpos_t. (_IO_seekoff, _IO_seekpos): Likewise. Use _IO_off64_t instead of _IO_fpos64_t. * libioP.h (_IO_seekoff_t, _IO_seekpos_t, _IO_seek_t): Likewise. (_IO_seekoff, _IO_seekpos): Likewise. (_IO_default_seekoff, _IO_default_seekpos): Likewise. (_IO_default_seek): Likewise. (_IO_file_seekoff, _IO_file_seek, _IO_str_seekoff): Likewise. * streambuf.h (streampos): Typedef to _IO_off_t resp. _IO_off64_t. * parsestream.h (class parsebuf::pos_at_line_start): Change type to _IO_off_t. From-SVN: r31068
1999-12-21Add commentary:Remove seek for ios::app if not.Martin v. Löwis1-0/+1
From-SVN: r31059
1999-12-21* filebuf.cc (open): Support ios::ate if _G_HAVE_IO_FILE_OPEN.Martin v. Löwis2-4/+16
From-SVN: r31057
1999-12-15filedoalloc.c, [...]: Remove advertising clause from BSD license, pursuant withJason Merrill5-44/+103
* filedoalloc.c, floatio.h, iovfprintf.c, iovfscanf.c: Remove advertising clause from BSD license, pursuant with ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change From-SVN: r30947
1999-12-15strstream.h (strstreambuf::streambuf): Rename parameters to avoid shadow ↵Martin v. Löwis3-5/+11
warning. * strstream.h (strstreambuf::streambuf): Rename parameters to avoid shadow warning. * stream.h (WS): Likewise. From-SVN: r30941
1999-09-30* editbuf.cc, parsestream.cc, pfstream.cc: Include string.h.Jeffrey A Law4-0/+7
From-SVN: r29725
1999-09-27configure.in: Recognize target *vxworks* and add fragment vxworks.mt.Ulrich Drepper4-8/+21
* configure.in: Recognize target *vxworks* and add fragment vxworks.mt. * config/vxworks.mt: New file. * gen-params: Let configure override HAVE_PRINTF_FP. From-SVN: r29679
1999-09-27Kill RCSid strings.Jeff Law2-8/+0
From-SVN: r29678
1999-09-13* config/mpeix.mt: New for MPEiX port.Mark Klein2-0/+24
From-SVN: r29374
1999-09-08* configure.in: Add mpeix.mt make fragment.Mark Klein2-0/+5
From-SVN: r29202
1999-09-04dummy checkin to prevent merge lossageJeff Law1-1/+1
From-SVN: r29102
1999-08-09streambuf.h (ios::streamsize): Declare as _IO_ssize_t, as in the global scope.Alexandre Oliva2-1/+6
* streambuf.h (ios::streamsize): Declare as _IO_ssize_t, as in the global scope. From-SVN: r28604
1999-08-07iostream.cc: Add missing calls to isfx and setup a cleanup region for the ↵Andreas Schwab6-7/+94
locked stream. * iostream.cc: Add missing calls to isfx and setup a cleanup region for the locked stream. * iostream.h: Likewise. * isgetline.cc: Likewise. * isgetsb.cc: Likewise. * isscan.cc: Likewise. From-SVN: r28573
1999-06-28configure.in (post-target): Use "$(topsrcdir)", not "$(srcdir)/..".Hans-Peter Nilsson2-1/+5
8 * configure.in (post-target): Use "$(topsrcdir)", not "$(srcdir)/..". From-SVN: r27836
1999-06-23libio.exp (test_libio): Use additional_flags, not additional_options.Mark Mitchell2-1/+6
* lib/libio.exp (test_libio): Use additional_flags, not additional_options. From-SVN: r27716
1999-06-01* configure.in: Added DG/UX target fragmentEric Raskin2-1/+6
From-SVN: r27294
1999-05-30* libio/dgux.mt: New file for DG/UX configuration of libioEric Raskin2-0/+29
From-SVN: r27248
1999-05-19libchill, libf2c, libobjc:Jeff Law2-13/+5
* configure.in (AC_PREREQ): Update to 2.13. (AC_EXEEXT): Call to find possible file extension. (compiler_name): Use. * configure: Regenerate. libio, libstdc++ * configure.in: Test for ${compiler_name}.exe as well. From-SVN: r27050
1999-05-17* libioP.h: Only include libc-lock.h if _IO_MTSAFE_IO is defined.Mark Kettenis2-6/+13
From-SVN: r26980
1999-05-12configure.in (compiler_name): Don't do the skip-this-dir thing if we're ↵Jason Merrill2-1/+8
reconfiguring. * configure.in (compiler_name): Don't do the skip-this-dir thing if we're reconfiguring. From-SVN: r26899
1999-04-29* streambuf.h (ios::~ios): Use operator delete[] to remove _arrays.Nathan Sidwell2-1/+7
From-SVN: r26691
1999-04-27Fixed some old ChangeLog entries I wrote before becoming aware of the GNUAlexandre Oliva1-3/+3
coding standards. From-SVN: r26679
1999-04-12filedoalloc.c (_POSIX_SOURCE): Remove definition.Mumit Khan7-11/+14
* filedoalloc.c (_POSIX_SOURCE): Remove definition. * fileops.c (_POSIX_SOURCE): Likewise. * iopopen.c (_POSIX_SOURCE): Likewise. * procbuf.cc (_POSIX_SOURCE): Likewise. * libioP.h (_POSIX_SOURCE): And define it here. * stdiostream.cc: Include libioP.h before others. From-SVN: r26380
1999-04-06* configure.in: Check cygwin*, not cygwin32*.Geoffrey Noer2-1/+5
From-SVN: r26235
1999-04-02configure (gxx_include_dir): Removed.H.J. Lu3-0/+35
* configure (gxx_include_dir): Removed. * configure.in (gxx_include_dir): Handle it. * Makefile.in: Likewise. * libio/configure.in (gxx_include_dir): Handle it. * libio/Makefile.in: Likewise. * libstdc++/configure.in (gxx_include_dir): Handle it. * libstdc++/Makefile.in: Likewise. From-SVN: r26126
1999-03-24configure.in (EXEEXT): Define.Mumit Khan1-3/+18
0 * configure.in (EXEEXT): Define. (compiler_name): Use. From-SVN: r25950