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
eceebb87
Kaydet (Commit)
eceebb87
authored
Haz 28, 2000
tarafından
Guido van Rossum
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Jack Jansen: Moved includes to the top, removed think C support
üst
40ced50c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
18 deletions
+20
-18
fileobject.c
Objects/fileobject.c
+20
-18
No files found.
Objects/fileobject.c
Dosyayı görüntüle @
eceebb87
...
@@ -38,6 +38,26 @@ PERFORMANCE OF THIS SOFTWARE.
...
@@ -38,6 +38,26 @@ PERFORMANCE OF THIS SOFTWARE.
#include <sys/types.h>
#include <sys/types.h>
#endif
/* DONT_HAVE_SYS_TYPES_H */
#endif
/* DONT_HAVE_SYS_TYPES_H */
/* We expect that fstat exists on most systems.
It's confirmed on Unix, Mac and Windows.
If you don't have it, add #define DONT_HAVE_FSTAT to your config.h. */
#ifndef DONT_HAVE_FSTAT
#define HAVE_FSTAT
#ifndef DONT_HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#ifndef DONT_HAVE_SYS_STAT_H
#include <sys/stat.h>
#else
#ifdef HAVE_STAT_H
#include <stat.h>
#endif
#endif
#endif
/* DONT_HAVE_FSTAT */
#ifdef HAVE_UNISTD_H
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#include <unistd.h>
#endif
#endif
...
@@ -54,9 +74,6 @@ PERFORMANCE OF THIS SOFTWARE.
...
@@ -54,9 +74,6 @@ PERFORMANCE OF THIS SOFTWARE.
#endif
#endif
#endif
#endif
#ifdef THINK_C
#define HAVE_FOPENRF
#endif
#ifdef __MWERKS__
#ifdef __MWERKS__
/* Mwerks fopen() doesn't always set errno */
/* Mwerks fopen() doesn't always set errno */
#define NO_FOPEN_ERRNO
#define NO_FOPEN_ERRNO
...
@@ -445,21 +462,6 @@ file_isatty(f, args)
...
@@ -445,21 +462,6 @@ file_isatty(f, args)
return
PyInt_FromLong
(
res
);
return
PyInt_FromLong
(
res
);
}
}
/* We expect that fstat exists on most systems.
It's confirmed on Unix, Mac and Windows.
If you don't have it, add #define DONT_HAVE_FSTAT to your config.h. */
#ifndef DONT_HAVE_FSTAT
#define HAVE_FSTAT
#ifndef DONT_HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#ifndef DONT_HAVE_SYS_STAT_H
#include <sys/stat.h>
#endif
#endif
/* DONT_HAVE_FSTAT */
#if BUFSIZ < 8192
#if BUFSIZ < 8192
#define SMALLCHUNK 8192
#define SMALLCHUNK 8192
...
...
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