aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDavid Walter Seikel2014-01-30 13:58:26 +1000
committerDavid Walter Seikel2014-01-30 13:58:26 +1000
commitc278d23113c9e881bdc4bf0e227df4d9f5afbd19 (patch)
tree1278f007ecf0d1791f663f91291567162afa645c
parentConvert to using pselect(), more portable than ppoll(). (diff)
downloadboxes-c278d23113c9e881bdc4bf0e227df4d9f5afbd19.zip
boxes-c278d23113c9e881bdc4bf0e227df4d9f5afbd19.tar.gz
boxes-c278d23113c9e881bdc4bf0e227df4d9f5afbd19.tar.bz2
boxes-c278d23113c9e881bdc4bf0e227df4d9f5afbd19.tar.xz
Ah, THAT's why the sig atomic thing didn't work.
-rw-r--r--boxes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/boxes.c b/boxes.c
index f358e18..8bd97e6 100644
--- a/boxes.c
+++ b/boxes.c
@@ -658,7 +658,7 @@ static box *rootBox; // Parent of the rest of the boxes, or the only box. Alway
658static box *currentBox; 658static box *currentBox;
659static view *commandLine; 659static view *commandLine;
660static int commandMode; 660static int commandMode;
661static /*sigatomic_t*/ volatile int sigWinch; 661static volatile sig_atomic_t sigWinch;
662 662
663#define MEM_SIZE 128 // Chunk size for line memory allocation. 663#define MEM_SIZE 128 // Chunk size for line memory allocation.
664 664