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
8f9ab92e
Kaydet (Commit)
8f9ab92e
authored
Ock 19, 2011
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
distinguish between failure exit due to dmake failure vs signal aborted
üst
b0ae2ae4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
dmake.h
dmake/dmake.h
+2
-1
quit.c
dmake/quit.c
+4
-2
No files found.
dmake/dmake.h
Dosyayı görüntüle @
8f9ab92e
...
...
@@ -28,7 +28,8 @@
#define MAX_INC_DEPTH 10
/* max of ten nested include files */
#define MAX_COND_DEPTH 20
/* max nesting level of conditionals */
#define ERROR_EXIT_VALUE 255
/* return code of aborted make */
#define ERROR_ABORT_VALUE 254
/* return code of aborted make */
#define ERROR_EXIT_VALUE 255
/* return code of failed make */
#define CONTINUATION_CHAR '\\'
/* line continuation \<nl> */
#define DEF_ESCAPE_CHAR '\\'
/* escape char for used chars */
#define ESCAPE_CHAR *Escape_char
...
...
dmake/quit.c
Dosyayı görüntüle @
8f9ab92e
...
...
@@ -37,6 +37,8 @@ Quit( sig )/*
======== Error or quit */
int
sig
;
{
int
ret
=
ERROR_ABORT_VALUE
;
if
(
sig
==
SIGINT
)
fprintf
(
stderr
,
"Caught SIGINT. Trying to quit ...
\n
"
);
else
...
...
@@ -48,7 +50,7 @@ int sig;
#endif
if
(
sig
==
0
)
/* Don't be verbose during regular program termination. */
;
ret
=
ERROR_EXIT_VALUE
;
else
fprintf
(
stderr
,
"Caught signal %d. Trying to quit ...
\n
"
,
sig
);
...
...
@@ -78,7 +80,7 @@ int sig;
if
(
_quitting
==
0
)
_handle_quit
(
".ERROR"
);
Set_dir
(
Makedir
);
/* No Error message if we can't do it */
Epilog
(
ERROR_EXIT_VALUE
);
Epilog
(
ret
);
}
...
...
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