Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Commit [dde633] Maximize Restore History

e2fsck: always make sure e2fsck_global_ctx is set

The e2fsck_global_ctx varible was only being set if HAVE_SIGNAL_H is
defined. There are systems, such as Android, where this is not true.

This was causing e2fsck_set_bitmap_type() to seg fault since
e2fsck_global_ctx was not NULL.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Reported-by: JP Abgrall <jpa@google.com>

Theodore Ts'o Theodore Ts'o 2014-03-05

changed e2fsck
changed e2fsck/unix.c
e2fsck
Directory.
e2fsck/unix.c Diff Switch to side-by-side view
Loading...