aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLoren J. Rittle <ljrittle@acm.org>2002-04-22 22:46:34 +0000
committerLoren J. Rittle <ljrittle@gcc.gnu.org>2002-04-22 22:46:34 +0000
commitc5ac5edb613e71297ef7a3c092295508d73e3454 (patch)
treeb5b53d93d35e4fd80d58e607a5b1296471a231c5
parent9340544b77d22d9976a299fe3a348b3bfce2c642 (diff)
downloadgcc-c5ac5edb613e71297ef7a3c092295508d73e3454.zip
gcc-c5ac5edb613e71297ef7a3c092295508d73e3454.tar.gz
gcc-c5ac5edb613e71297ef7a3c092295508d73e3454.tar.bz2
* docs/html/17_intro/porting.texi (_GLIBCPP_AVOID_FSEEK): Remove.
From-SVN: r52642
-rw-r--r--libstdc++-v3/ChangeLog4
-rw-r--r--libstdc++-v3/docs/html/17_intro/porting.texi9
2 files changed, 5 insertions, 8 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 61788e0..14f64f9 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,7 @@
+2002-04-22 Loren J. Rittle <ljrittle@acm.org>
+
+ * docs/html/17_intro/porting.texi (_GLIBCPP_AVOID_FSEEK): Remove.
+
2002-04-20 Jason Merrill <jason@redhat.com>
PR libstdc++/4150
diff --git a/libstdc++-v3/docs/html/17_intro/porting.texi b/libstdc++-v3/docs/html/17_intro/porting.texi
index d5d32b4..f770de9 100644
--- a/libstdc++-v3/docs/html/17_intro/porting.texi
+++ b/libstdc++-v3/docs/html/17_intro/porting.texi
@@ -142,18 +142,11 @@ need to define. You will need to add them to the
target. It will not work to simply define these macros in
@file{os_defines.h}.
-At this time, there are two libstdc++-v3-specific macros which may be
+At this time, there is one libstdc++-v3-specific macro which may be
defined. @code{_G_USING_THUNKS} may be defined to 0 to express that the
port doesn't use thunks (although it is unclear that this is still
useful since libio support isn't currently working and the g++ v3 ABI
invalidates the assumption that some ports don't use thunks).
-@code{_GLIBCPP_AVOID_FSEEK} may be defined if seeking on an interactive
-stream (or one hooked to a pipe) is not allowed by the OS. In this
-case, getc()/ungetc() will be used at some key locations in the library
-implementation instead of fseek(). Currently, the code path to avoid
-fseek() is only enabled when the seek size is 1 character away from the
-current stream position. This is known to improve *-unknown-freebsd*,
-sparc-sun-solaris2.* and *-*-mingw32*.
Finally, you should bracket the entire file in an include-guard, like
this: