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
f7875596
Kaydet (Commit)
f7875596
authored
Haz 24, 2012
tarafından
Georg Brandl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Whitespace cleanup.
üst
9dcbfc35
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
posixmodule.c
Modules/posixmodule.c
+6
-6
No files found.
Modules/posixmodule.c
Dosyayı görüntüle @
f7875596
...
@@ -522,7 +522,7 @@ dir_fd_converter(PyObject *o, void *p) {
...
@@ -522,7 +522,7 @@ dir_fd_converter(PyObject *o, void *p) {
* or if path was an integer and path.allow_fd was set,
* or if path was an integer and path.allow_fd was set,
* both path.wide and path.narrow will be NULL
* both path.wide and path.narrow will be NULL
* and path.length will be 0.
* and path.length will be 0.
*
*
* path_converter takes care to not write to the path_t
* path_converter takes care to not write to the path_t
* unless it's successful. However it must reset the
* unless it's successful. However it must reset the
* "cleanup" field each time it's called.
* "cleanup" field each time it's called.
...
@@ -2421,7 +2421,7 @@ posix_access(PyObject *self, PyObject *args, PyObject *kwargs)
...
@@ -2421,7 +2421,7 @@ posix_access(PyObject *self, PyObject *args, PyObject *kwargs)
Py_END_ALLOW_THREADS
Py_END_ALLOW_THREADS
/*
/*
* Access is possible if
* Access is possible if
* * we didn't get a -1, and
* * we didn't get a -1, and
* * write access wasn't requested,
* * write access wasn't requested,
* * or the file isn't read-only,
* * or the file isn't read-only,
...
@@ -2578,7 +2578,7 @@ posix_chdir(PyObject *self, PyObject *args, PyObject *kwargs)
...
@@ -2578,7 +2578,7 @@ posix_chdir(PyObject *self, PyObject *args, PyObject *kwargs)
return_value
=
Py_None
;
return_value
=
Py_None
;
Py_INCREF
(
Py_None
);
Py_INCREF
(
Py_None
);
exit:
exit:
path_cleanup
(
&
path
);
path_cleanup
(
&
path
);
return
return_value
;
return
return_value
;
...
@@ -2996,7 +2996,7 @@ posix_chown(PyObject *self, PyObject *args, PyObject *kwargs)
...
@@ -2996,7 +2996,7 @@ posix_chown(PyObject *self, PyObject *args, PyObject *kwargs)
* (But we still have an lchown symbol because of weak-linking.)
* (But we still have an lchown symbol because of weak-linking.)
* It doesn't have fchownat either. So there's no possibility
* It doesn't have fchownat either. So there's no possibility
* of a graceful failover.
* of a graceful failover.
*/
*/
if
((
!
follow_symlinks
)
&&
(
lchown
==
NULL
))
{
if
((
!
follow_symlinks
)
&&
(
lchown
==
NULL
))
{
follow_symlinks_specified
(
"chown"
,
follow_symlinks
);
follow_symlinks_specified
(
"chown"
,
follow_symlinks
);
goto
exit
;
goto
exit
;
...
@@ -3316,7 +3316,7 @@ posix_listdir(PyObject *self, PyObject *args, PyObject *kwargs)
...
@@ -3316,7 +3316,7 @@ posix_listdir(PyObject *self, PyObject *args, PyObject *kwargs)
PyObject
*
v
;
PyObject
*
v
;
DIR
*
dirp
=
NULL
;
DIR
*
dirp
=
NULL
;
struct
dirent
*
ep
;
struct
dirent
*
ep
;
int
arg_is_unicode
=
1
;
int
arg_is_unicode
=
1
;
#endif
#endif
memset
(
&
path
,
0
,
sizeof
(
path
));
memset
(
&
path
,
0
,
sizeof
(
path
));
...
@@ -8511,7 +8511,7 @@ posix_mknod(PyObject *self, PyObject *args, PyObject *kwargs)
...
@@ -8511,7 +8511,7 @@ posix_mknod(PyObject *self, PyObject *args, PyObject *kwargs)
return_value
=
Py_None
;
return_value
=
Py_None
;
Py_INCREF
(
Py_None
);
Py_INCREF
(
Py_None
);
exit:
exit:
path_cleanup
(
&
path
);
path_cleanup
(
&
path
);
return
return_value
;
return
return_value
;
...
...
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