diff options
author | Sergei Litvin | 2018-09-15 09:05:21 +0300 |
---|---|---|
committer | Sergei Litvin | 2018-09-15 09:05:21 +0300 |
commit | cc7efd00835a7a4055510d346b4a068bde18dc56 (patch) | |
tree | 3ab00f55b627b3b67dd80c6aad2eb614cb21a7cf /0006-Fix-restoring-regs-after-longjmp.patch | |
download | aur-cc7efd00835a7a4055510d346b4a068bde18dc56.tar.gz |
Initial commit
Diffstat (limited to '0006-Fix-restoring-regs-after-longjmp.patch')
-rw-r--r-- | 0006-Fix-restoring-regs-after-longjmp.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/0006-Fix-restoring-regs-after-longjmp.patch b/0006-Fix-restoring-regs-after-longjmp.patch new file mode 100644 index 000000000000..92ccdcd9d34a --- /dev/null +++ b/0006-Fix-restoring-regs-after-longjmp.patch @@ -0,0 +1,29 @@ +From 9b7ee75fa095fa0bc9408a9929a1a980fb878cae Mon Sep 17 00:00:00 2001 +From: litvin <litvindev@gmail.com> +Date: Fri, 23 Dec 2016 05:21:37 +0300 +Subject: [PATCH 06/33] Fix restoring regs after longjmp (causes infinite loop) + +--- + src/main.c | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/src/main.c b/src/main.c +index 3c53e6c..2c4b27b 100644 +--- a/src/main.c ++++ b/src/main.c +@@ -3189,9 +3189,9 @@ void mainCallXref(int argc, char **argv) { + static int fc,pfc; + static int inputIn; + static int firstPassing,mess,atLeastOneProcessed; +- S_fileItem *ffc, *pffc; +- int messagePrinted = 0; +- int numberOfInputs, inputCounter, pinputCounter; ++ static S_fileItem *ffc, *pffc; ++ static int messagePrinted = 0; ++ static int numberOfInputs, inputCounter, pinputCounter; + + /* some compilers have problems with restoring regs after longjmp */ + dummy(&cxFreeBase0, &cxFreeBase, &ffc, &pffc, &inputIn, &firstPassing); +-- +2.18.0 + |