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
0afae63b
Commit
0afae63b
authored
Mar 26, 2008
by
Arnaud Charlet
Committed by
Arnaud Charlet
Mar 26, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* g-dirope.ads, g-dirope.adb: (Dir_Type_Value): Moved to spec.
From-SVN: r133592
parent
afc5f979
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
5 deletions
+14
-5
gcc/ada/ChangeLog
+4
-0
gcc/ada/g-dirope.adb
+0
-4
gcc/ada/g-dirope.ads
+10
-1
No files found.
gcc/ada/ChangeLog
View file @
0afae63b
2008
-
03
-
26
Arnaud
Charlet
<
charlet
@
adacore
.
com
>
*
g
-
dirope
.
ads
,
g
-
dirope
.
adb
:
(
Dir_Type_Value
):
Moved
to
spec
.
2008
-
03
-
26
Arnaud
Charlet
<
charlet
@
adacore
.
com
>
*
a
-
witeio
.
adb
:
Fix
problem
with
Current_Output
(
introduce
Self
).
Fix
problem
of
status
check
for
null
file
gcc/ada/g-dirope.adb
View file @
0afae63b
...
...
@@ -46,10 +46,6 @@ package body GNAT.Directory_Operations is
use
Ada
;
type
Dir_Type_Value
is
new
System
.
Address
;
--
This
is
the
low
-
level
address
directory
structure
as
returned
by
the
C
--
opendir
routine
.
Filename_Max
:
constant
Integer
:=
1024
;
--
1024
is
the
value
of
FILENAME_MAX
in
stdio
.
h
...
...
gcc/ada/g-dirope.ads
View file @
0afae63b
...
...
@@ -43,6 +43,7 @@
--
directory
names
(
OpenVMS
native
directory
format
is
not
supported
).
--
Read
individual
entries
for
more
specific
notes
on
OpenVMS
support
.
with
System
;
with
Ada
.
Strings
.
Maps
;
package
GNAT
.
Directory_Operations
is
...
...
@@ -254,7 +255,15 @@ package GNAT.Directory_Operations is
private
type
Dir_Type_Value
;
type
Dir_Type_Value
is
new
System
.
Address
;
--
Low
-
level
address
directory
structure
as
returned
by
opendir
in
C
--
--
Note
that
we
used
to
define
this
type
in
the
body
of
this
package
,
--
but
this
was
causing
troubles
in
the
context
of
.
NET
code
generation
--
(
because
Taft
amendment
types
are
not
fully
implemented
and
cause
--
undefined
references
to
the
class
),
so
we
moved
the
type
declaration
--
to
the
spec
's private part, which is no problem in any case here.
type Dir_Type is access Dir_Type_Value;
Null_Dir : constant Dir_Type := null;
...
...
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