Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
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ç
LibreOffice
core
Commits
7e9a5972
Kaydet (Commit)
7e9a5972
authored
Eki 08, 2011
tarafından
Matúš Kukan
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Revert "cppcheck reduce scope of var in odk/..unoapploader.c"
This reverts commit
595de860
. MSVC couldn't handle this.
üst
a2c45688
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
unoapploader.c
odk/source/unoapploader/win/unoapploader.c
+2
-1
No files found.
odk/source/unoapploader/win/unoapploader.c
Dosyayı görüntüle @
7e9a5972
...
...
@@ -81,6 +81,7 @@ int WINAPI WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance,
char
*
value
=
NULL
;
char
*
envstr
=
NULL
;
char
*
cmdline
=
NULL
;
int
size
;
STARTUPINFO
startup_info
;
PROCESS_INFORMATION
process_info
;
BOOL
bCreate
;
...
...
@@ -229,7 +230,7 @@ int WINAPI WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance,
* note that this only affects the environment variable of the current
* process, the command processor's environment is not changed
*/
int
size
=
strlen
(
ENVVARNAME
)
+
strlen
(
"="
)
+
strlen
(
path
)
+
1
;
size
=
strlen
(
ENVVARNAME
)
+
strlen
(
"="
)
+
strlen
(
path
)
+
1
;
if
(
value
!=
NULL
)
size
+=
strlen
(
PATHSEPARATOR
)
+
strlen
(
value
);
envstr
=
(
char
*
)
malloc
(
size
);
...
...
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