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
5ae9a80a
Commit
5ae9a80a
authored
Sep 17, 1997
by
Ulrich Drepper
Committed by
Ulrich Drepper
Sep 17, 1997
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Handle __set_errno correctly.
From-SVN: r15502
parent
11dbec66
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
libio/ChangeLog
+5
-0
libio/libioP.h
+3
-2
No files found.
libio/ChangeLog
View file @
5ae9a80a
1997-09-17 02:50 Ulrich Drepper <drepper@cygnus.com>
* libioP.h: Define __set_errno if not already defined.
* fileops.c: Don't try to define __set_errno, it's already defined.
1997-09-15 02:37 Ulrich Drepper <drepper@cygnus.com>
1997-09-15 02:37 Ulrich Drepper <drepper@cygnus.com>
* config/linux.mt: Rewrite for use with glibc 2.
* config/linux.mt: Rewrite for use with glibc 2.
...
...
libio/libioP.h
View file @
5ae9a80a
...
@@ -24,8 +24,9 @@
...
@@ -24,8 +24,9 @@
General Public License. */
General Public License. */
#include <errno.h>
#include <errno.h>
/* This is a hack until Uli gets me the real fix. */
#ifndef __set_errno
#define __set_errno(Val) (errno = (Val))
# define __set_errno(Val) errno = (Val)
#endif
#if defined __GLIBC__ && __GLIBC__ >= 2
#if defined __GLIBC__ && __GLIBC__ >= 2
# include <bits/libc-lock.h>
# include <bits/libc-lock.h>
#else
#else
...
...
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