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
d39d861a
Kaydet (Commit)
d39d861a
authored
Ock 08, 2006
tarafından
Neal Norwitz
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fix icc warnings: strlen() returns size_t
üst
2841af4c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
zipimport.c
Modules/zipimport.c
+5
-4
pystrtod.c
Python/pystrtod.c
+2
-3
No files found.
Modules/zipimport.c
Dosyayı görüntüle @
d39d861a
...
...
@@ -62,7 +62,7 @@ static int
zipimporter_init
(
ZipImporter
*
self
,
PyObject
*
args
,
PyObject
*
kwds
)
{
char
*
path
,
*
p
,
*
prefix
,
buf
[
MAXPATHLEN
+
2
];
in
t
len
;
size_
t
len
;
if
(
!
_PyArg_NoKeywords
(
"zipimporter()"
,
kwds
))
return
-
1
;
...
...
@@ -231,7 +231,7 @@ get_subname(char *fullname)
static
int
make_filename
(
char
*
prefix
,
char
*
name
,
char
*
path
)
{
in
t
len
;
size_
t
len
;
char
*
p
;
len
=
strlen
(
prefix
);
...
...
@@ -249,7 +249,7 @@ make_filename(char *prefix, char *name, char *path)
*
p
=
SEP
;
}
len
+=
strlen
(
name
);
return
len
;
return
(
int
)
len
;
}
enum
zi_module_info
{
...
...
@@ -659,7 +659,8 @@ read_directory(char *archive)
FILE
*
fp
;
long
compress
,
crc
,
data_size
,
file_size
,
file_offset
,
date
,
time
;
long
header_offset
,
name_size
,
header_size
,
header_position
;
long
i
,
l
,
length
,
count
;
long
i
,
l
,
count
;
size_t
length
;
char
path
[
MAXPATHLEN
+
5
];
char
name
[
MAXPATHLEN
+
5
];
char
*
p
,
endof_central_dir
[
22
];
...
...
Python/pystrtod.c
Dosyayı görüntüle @
d39d861a
...
...
@@ -44,7 +44,7 @@ PyOS_ascii_strtod(const char *nptr, char **endptr)
double
val
=
-
1
.
0
;
struct
lconv
*
locale_data
;
const
char
*
decimal_point
;
in
t
decimal_point_len
;
size_
t
decimal_point_len
;
const
char
*
p
,
*
decimal_point_pos
;
const
char
*
end
=
NULL
;
/* Silence gcc */
...
...
@@ -165,9 +165,8 @@ PyOS_ascii_formatd(char *buffer,
{
struct
lconv
*
locale_data
;
const
char
*
decimal_point
;
int
decimal_poin
t_len
;
size_t
decimal_point_len
,
res
t_len
;
char
*
p
;
int
rest_len
;
char
format_char
;
/* g_return_val_if_fail (buffer != NULL, NULL); */
...
...
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