Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
a0e76beb
Commit
a0e76beb
authored
Jun 09, 1995
by
Jack Jansen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ported to CodeWarrior 6
parent
b81cf9d6
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
5 deletions
+10
-5
Mac/Compat/macstat.h
Mac/Compat/macstat.h
+5
-0
Mac/Modules/macmodule.c
Mac/Modules/macmodule.c
+1
-0
Mac/Unsupported/mactcp/macdnrmodule.c
Mac/Unsupported/mactcp/macdnrmodule.c
+4
-5
No files found.
Mac/Compat/macstat.h
View file @
a0e76beb
...
@@ -26,3 +26,8 @@ struct macstat {
...
@@ -26,3 +26,8 @@ struct macstat {
#define S_IREAD 0400
#define S_IREAD 0400
#define S_IWRITE 0200
#define S_IWRITE 0200
#define S_IEXEC 0100
#define S_IEXEC 0100
/* To stop inclusion of MWerks header: */
#ifndef _STAT
#define _STAT
#endif
Mac/Modules/macmodule.c
View file @
a0e76beb
...
@@ -454,6 +454,7 @@ mac_write(self, args)
...
@@ -454,6 +454,7 @@ mac_write(self, args)
}
}
#endif
/* !__MWERKS__ */
#endif
/* !__MWERKS__ */
#undef MALLOC_DEBUG
#ifdef MALLOC_DEBUG
#ifdef MALLOC_DEBUG
static
object
*
static
object
*
mac_mstats
(
self
,
args
)
mac_mstats
(
self
,
args
)
...
...
Mac/Unsupported/mactcp/macdnrmodule.c
View file @
a0e76beb
...
@@ -32,9 +32,8 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
...
@@ -32,9 +32,8 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#ifndef HAVE_UNIVERSAL_HEADERS
#ifndef HAVE_UNIVERSAL_HEADERS
#define ResultUPP ResultProcPtr
#define ResultUPP ResultProcPtr
#define NewResultProc(x) (x)
#define NewResultProc(x) (x)
/* The '2' has move in this name... */
#define ResultProc2UPP ResultProc2Ptr
#define Result2UPP ResultProc2Ptr
#define NewResultProc2Proc(x) (x)
#define NewResult2Proc(x) (x)
#endif
#endif
static
object
*
ErrorObject
;
static
object
*
ErrorObject
;
...
@@ -365,7 +364,7 @@ dnr_HInfo(self, args)
...
@@ -365,7 +364,7 @@ dnr_HInfo(self, args)
OSErr
err
;
OSErr
err
;
char
*
hostname
;
char
*
hostname
;
dnrrobject
*
rv
;
dnrrobject
*
rv
;
Result
2UPP
cb_upp
=
NewResult
2Proc
(
dnrr_done
);
Result
Proc2UPP
cb_upp
=
NewResultProc
2Proc
(
dnrr_done
);
if
(
!
newgetargs
(
args
,
"s"
,
&
hostname
))
if
(
!
newgetargs
(
args
,
"s"
,
&
hostname
))
return
NULL
;
return
NULL
;
...
@@ -398,7 +397,7 @@ dnr_MXInfo(self, args)
...
@@ -398,7 +397,7 @@ dnr_MXInfo(self, args)
OSErr
err
;
OSErr
err
;
char
*
hostname
;
char
*
hostname
;
dnrrobject
*
rv
;
dnrrobject
*
rv
;
Result
2UPP
cb_upp
=
NewResult
2Proc
(
dnrr_done
);
Result
Proc2UPP
cb_upp
=
NewResultProc
2Proc
(
dnrr_done
);
if
(
!
newgetargs
(
args
,
"s"
,
&
hostname
))
if
(
!
newgetargs
(
args
,
"s"
,
&
hostname
))
return
NULL
;
return
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