Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
6f4f5f78
Kaydet (Commit)
6f4f5f78
authored
Mar 10, 1995
tarafından
Guido van Rossum
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
some more changes for NT and Borland
üst
caffcdfc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
posixmodule.c
Modules/posixmodule.c
+5
-3
No files found.
Modules/posixmodule.c
Dosyayı görüntüle @
6f4f5f78
...
@@ -62,6 +62,8 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
...
@@ -62,6 +62,8 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#define HAVE_GETUID 1
#define HAVE_GETUID 1
#define HAVE_KILL 1
#define HAVE_KILL 1
#define HAVE_WAIT 1
#define HAVE_WAIT 1
#define HAVE_OPENDIR 1
#define HAVE_PIPE 1
#endif
#endif
#ifndef NT
#ifndef NT
...
@@ -359,7 +361,7 @@ posix_listdir(self, args)
...
@@ -359,7 +361,7 @@ posix_listdir(self, args)
object
*
self
;
object
*
self
;
object
*
args
;
object
*
args
;
{
{
#if
def NT
#if
defined(NT) && !defined(HAVE_OPENDIR)
char
*
name
;
char
*
name
;
int
len
;
int
len
;
...
@@ -1057,7 +1059,7 @@ posix_times(self, args)
...
@@ -1057,7 +1059,7 @@ posix_times(self, args)
(
double
)
t
.
tms_cstime
/
HZ
);
(
double
)
t
.
tms_cstime
/
HZ
);
}
}
#endif
/* HAVE_TIMES */
#endif
/* HAVE_TIMES */
#if
def NT
#if
defined(NT) && !defined(HAVE_TIMES)
#define HAVE_TIMES
/* so the method table will pick it up */
#define HAVE_TIMES
/* so the method table will pick it up */
static
object
*
static
object
*
posix_times
(
self
,
args
)
posix_times
(
self
,
args
)
...
@@ -1337,7 +1339,7 @@ posix_pipe(self, args)
...
@@ -1337,7 +1339,7 @@ posix_pipe(self, args)
object
*
self
;
object
*
self
;
object
*
args
;
object
*
args
;
{
{
#if
ndef NT
#if
!defined(NT) || defined(HAVE_PIPE)
int
fds
[
2
];
int
fds
[
2
];
int
res
;
int
res
;
if
(
!
getargs
(
args
,
""
))
if
(
!
getargs
(
args
,
""
))
...
...
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