From 590b7ecf905bd71fa513dbe0132fdfc1bf4f472e Mon Sep 17 00:00:00 2001
From: oliva <oliva@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Mon, 9 Aug 1999 00:07:09 +0000
Subject: [PATCH] * streambuf.h (ios::streamsize): Declare as _IO_ssize_t, as
 in the global scope.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28604 138bc75d-0d04-0410-961f-82ee72b054a4
---
 libio/ChangeLog   | 5 +++++
 libio/streambuf.h | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/libio/ChangeLog b/libio/ChangeLog
index 36150ed49ead..3342feb13fa6 100644
--- a/libio/ChangeLog
+++ b/libio/ChangeLog
@@ -1,3 +1,8 @@
+1999-08-08  Alexandre Oliva  <oliva@dcc.unicamp.br>
+
+	* streambuf.h (ios::streamsize): Declare as _IO_ssize_t, as in the 
+	global scope.
+
 1999-08-07  Andreas Schwab  <schwab@suse.de>
 
 	* iostream.cc: Add missing calls to isfx and setup a cleanup
diff --git a/libio/streambuf.h b/libio/streambuf.h
index d472cbece2c6..8785d96c694e 100644
--- a/libio/streambuf.h
+++ b/libio/streambuf.h
@@ -130,7 +130,7 @@ class ios : public _ios_fields {
     typedef __fmtflags fmtflags;
     typedef int iostate;
     typedef int openmode;
-    typedef int streamsize;
+    typedef _IO_ssize_t streamsize;
     enum io_state {
 	goodbit = _IOS_GOOD,
 	eofbit = _IOS_EOF,
-- 
GitLab