Check return value of a few write calls and retry on EINTR, and fix a few other warnings, mostly by printing error messages before giving up.

darcs-hash:20090222202852-ac50b-b0e79142af5b7a99e55271d4001fa252d9684a1d.gz
This commit is contained in:
axel
2009-02-23 06:28:52 +10:00
parent f71c6f3f0e
commit 14c84ffbcb
13 changed files with 122 additions and 30 deletions

View File

@@ -436,6 +436,7 @@ typedef struct
/**
Return the current number of block nestings
*/
/*
static int block_count( block_t *b )
{
@@ -443,7 +444,7 @@ static int block_count( block_t *b )
return 0;
return( block_count(b->outer)+1);
}
*/
void parser_push_block( int type )
{