ChangeLog, dir_iterate.c:
dir_iterate.c (ext2fs_process_dir_block): Check for corrupted
directory entry before calling the callback function. This should
prevent some core dumps of insufficiently paranoid callback functions.
ChangeLog, unix.c:
unix.c (main): Add missing space in the disk write-protected message.
diff --git a/e2fsck/ChangeLog b/e2fsck/ChangeLog
index 3752671..5894054 100644
--- a/e2fsck/ChangeLog
+++ b/e2fsck/ChangeLog
@@ -1,3 +1,8 @@
+1999-06-21 <tytso@rsts-11.mit.edu>
+
+ * unix.c (main): Add missing space in the disk write-protected
+ message.
+
1999-05-22 <tytso@rsts-11.mit.edu>
* problem.c, problem.h (PR_0_INODE_COUNT_WRONG): Add new problem
diff --git a/e2fsck/unix.c b/e2fsck/unix.c
index fb67f6a..e25bbf3 100644
--- a/e2fsck/unix.c
+++ b/e2fsck/unix.c
@@ -255,7 +255,8 @@
if (fd > 2)
break;
if (fd < 0) {
- fprintf(stderr, "ERROR: Couldn't open /dev/null (%s)\n",
+ fprintf(stderr, "ERROR: Couldn't open "
+ "/dev/null (%s)\n",
strerror(errno));
break;
}
@@ -556,7 +557,7 @@
printf("Possibly non-existent or swap device?\n");
#ifdef EROFS
else if (retval == EROFS)
- printf("Disk write-protected; use the -n option"
+ printf("Disk write-protected; use the -n option "
"to do a read-only\n"
"check of the device.\n");
#endif