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
01a94627
Commit
01a94627
authored
Nov 01, 2001
by
Jack Jansen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Under MachO-Python unconditionally import macfsn.
parent
b73efee6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
Mac/Modules/macfsmodule.c
Mac/Modules/macfsmodule.c
+6
-0
No files found.
Mac/Modules/macfsmodule.c
View file @
01a94627
...
...
@@ -39,8 +39,10 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include "getapplbycreator.h"
#ifndef TARGET_API_MAC_OSX
#include "pythonresources.h"
extern
PyMac_PrefRecord
PyMac_options
;
#endif
#ifdef USE_TOOLBOX_OBJECT_GLUE
extern
int
_PyMac_GetFSSpec
(
PyObject
*
,
FSSpec
*
);
...
...
@@ -1218,7 +1220,9 @@ PyObject *PyMac_BuildFSSpec(FSSpec *v)
static
void
PyMac_InstallNavServicesForSF
(
void
)
{
#ifndef TARGET_API_MAC_OSX
if
(
!
PyMac_options
.
nonavservice
)
{
#endif
PyObject
*
m
=
PyImport_ImportModule
(
"macfsn"
);
if
(
m
==
NULL
)
{
...
...
@@ -1232,7 +1236,9 @@ PyMac_InstallNavServicesForSF(void)
}
PyErr_Clear
();
}
#ifndef TARGET_API_MAC_OSX
}
#endif
}
...
...
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