Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
6c1d5706
Commit
6c1d5706
authored
Sep 17, 1997
by
Ulrich Drepper
Committed by
Ulrich Drepper
Sep 17, 1997
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix all problems reported by the test suite.
From-SVN: r15505
parent
c0727e2a
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
2 deletions
+15
-2
libio/ChangeLog
+6
-0
libio/iostream.cc
+4
-0
libio/libio.h
+3
-0
libio/strops.c
+2
-2
No files found.
libio/ChangeLog
View file @
6c1d5706
1997-09-17 04:08 Ulrich Drepper <drepper@cygnus.com>
* iostream.cc: Add forward declaration for __cvt_double.
* libio.h: Define _IO_USE_DTOA is _G_HAVE_PRINTF_FP is not defined.
* strops.c (_IO_str_count): Correct last change.
1997-09-17 02:50 Ulrich Drepper <drepper@cygnus.com>
* libioP.h: Define __set_errno if not already defined.
...
...
libio/iostream.cc
View file @
6c1d5706
...
...
@@ -42,6 +42,10 @@ extern "C" int __printf_fp (_IO_FILE *, const struct printf_info *,
const
void
*
const
*
);
#else
#include "floatio.h"
# ifndef _IO_USE_DTOA
int
__cvt_double
(
double
number
,
register
int
prec
,
int
flags
,
int
*
signp
,
int
fmtch
,
char
*
startp
,
char
*
endp
)
# endif
#endif
#define BUF (MAXEXP+MAXFRACT+1)
/* + decimal point */
...
...
libio/libio.h
View file @
6c1d5706
...
...
@@ -71,6 +71,9 @@
# define const
#endif
#define _IO_UNIFIED_JUMPTABLES 1
#ifndef _G_HAVE_PRINTF_FP
# define _IO_USE_DTOA 1
#endif
#if 0
# ifdef _IO_NEED_STDARG_H
...
...
libio/strops.c
View file @
6c1d5706
...
...
@@ -200,8 +200,8 @@ _IO_ssize_t
_IO_str_count
(
fp
)
_IO_FILE
*
fp
;
{
return
((
fp
->
_IO_write_
end
>
fp
->
_IO_read_end
?
fp
->
_IO_write_
end
:
fp
->
_IO_read_end
)
return
((
fp
->
_IO_write_
ptr
>
fp
->
_IO_read_end
?
fp
->
_IO_write_
ptr
:
fp
->
_IO_read_end
)
-
fp
->
_IO_read_base
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment