Create inserted blocks as dirty
commit9dda37b07cb42907cda0f172915ba8f03b639ad4
authorPetr Tesarik <petr@tesarici.cz>
Sat, 20 Oct 2012 05:25:19 +0000 (20 07:25 +0200)
committerPetr Tesarik <petr@tesarici.cz>
Sat, 20 Oct 2012 05:25:19 +0000 (20 07:25 +0200)
tree49fbd43a1385243ab2ccaa6f94c2a28a369d8f97
parente497fdf4f94f68fa3cece29e749de413a91a41fa
Create inserted blocks as dirty

Although a zero-sized block cannot be really dirty, there are only two
things that can happen to an insert block:

  a. It gets extended (and then it is dirty).
  b. It stays at zero size and then it is deleted regardless
     of its dirty status.

In either case we can set the dirty flag at creation.
libhed/file.c