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
6d8841c0
Commit
6d8841c0
authored
Aug 14, 1997
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added a bunch of XXX comments about things I'd like to see changed...
parent
0d2390c5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
Modules/posixmodule.c
Modules/posixmodule.c
+8
-1
No files found.
Modules/posixmodule.c
View file @
6d8841c0
...
...
@@ -67,6 +67,7 @@ corresponding Unix manual entries for more information on calls.";
#endif
/* HAVE_FCNTL_H */
/* Various compilers have only certain posix functions */
/* XXX Gosh I wish these were all moved into config.h */
#ifdef __WATCOMC__
/* Watcom compiler */
#define HAVE_GETCWD 1
#define HAVE_OPENDIR 1
...
...
@@ -479,6 +480,8 @@ posix_listdir(self, args)
PyObject
*
self
;
PyObject
*
args
;
{
/* XXX Should redo this putting the three versions of opendir
in separate files instead of having them all here... */
#if defined(MS_WIN32) && !defined(HAVE_OPENDIR)
char
*
name
;
...
...
@@ -832,6 +835,7 @@ posix_utime(self, args)
long
atime
,
mtime
;
int
res
;
/* XXX should define struct utimbuf instead, above */
#ifdef HAVE_UTIME_H
struct
utimbuf
buf
;
#define ATIME buf.actime
...
...
@@ -2222,7 +2226,8 @@ all_ins(d)
}
/* XXX The following should be more unified -- only difference left is
function name and module name. */
#if defined(_MSC_VER) || defined(__WATCOMC__)
void
...
...
@@ -2254,6 +2259,7 @@ initnt()
return
;
finally:
/* XXX Shouldn't */
Py_FatalError
(
"can't initialize NT posixmodule"
);
}
#else
/* not a PC port */
...
...
@@ -2286,6 +2292,7 @@ initposix()
return
;
finally:
/* XXX Shouldn't */
Py_FatalError
(
"can't initialize posix module"
);
}
#endif
/* !_MSC_VER */
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