aboutsummaryrefslogtreecommitdiff
path: root/gcc/libgcc2.c
diff options
context:
space:
mode:
authorZack Weinberg <zack@midnite.ec.rhno.columbia.edu>1999-01-26 09:12:47 +0000
committerDave Brolley <brolley@gcc.gnu.org>1999-01-26 04:12:47 -0500
commit554fbeef31814272ba1b41d16669e372df3123b8 (patch)
tree3123f9a18afb9afd6a268cc6ba587e9baa25bf6e /gcc/libgcc2.c
parent0034cf7299679aa804e365e087d390b9cabb646c (diff)
downloadgcc-554fbeef31814272ba1b41d16669e372df3123b8.zip
gcc-554fbeef31814272ba1b41d16669e372df3123b8.tar.gz
gcc-554fbeef31814272ba1b41d16669e372df3123b8.tar.bz2
cppfiles.c (safe_read): Deleted.
1999-01-26 12:11 -0500 Zack Weinberg <zack@midnite.ec.rhno.columbia.edu> * cppfiles.c (safe_read): Deleted. (read_and_prescan): New function, replaces safe_read, converts and/or warns about trigraphs, silently converts odd line terminators (\r, \n\r, \r\n). Warns about no newline at EOF. (finclude): Use read_and_prescan; turn off nonblocking mode on the input descriptor; remove file-size-examination and no-newline-at-EOF gunk which is longer necessary; be more careful about checking that we've been handed a legitimate file to read (only real files, pipes, and ttys are acceptable). * cpplib.h (cpp_options): Rename no_trigraphs flag to `trigraphs' and invert its sense. (trigraph_table): Declare. (cpp_warning_with_line): Prototype. * cpplib.c: Remove all references to trigraph_pcp. Define trigraph_table; initialize it in initialize_char_syntax. Open files in nonblocking mode. s/no_trigraphs/trigraphs/ throughout, and invert sense. Put cpp_warning_with_line back in and export it. From-SVN: r24870
Diffstat (limited to 'gcc/libgcc2.c')
0 files changed, 0 insertions, 0 deletions