From: David Levine Date: Sun, 27 Jan 2013 16:11:10 +0000 (-0600) Subject: In the sortm warning message, say "file modification time" X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/a5a4757843a36d3b02be797d209655546c3d5304?hp=-c In the sortm warning message, say "file modification time" instead of "file mtime", per Paul F.'s suggestion. --- a5a4757843a36d3b02be797d209655546c3d5304 diff --git a/test/folder/test-sortm b/test/folder/test-sortm index 930b0581..0753ecb0 100755 --- a/test/folder/test-sortm +++ b/test/folder/test-sortm @@ -388,7 +388,7 @@ check "$expected" "$actual" # check -check cat >"$expected" < $MH_TEST_DIR/Mail/inbox/14 run_test 'sortm -check -nocheck' \ - "sortm: can't parse date field in message 14, will use file mtime" + "sortm: can't parse date field in message 14, will use file \ +modification time" scan >"$actual" check "$expected" "$actual" diff --git a/uip/sortm.c b/uip/sortm.c index 28e2bd64..677a86fb 100644 --- a/uip/sortm.c +++ b/uip/sortm.c @@ -423,7 +423,9 @@ get_fields (char *datesw, int msg, struct smsg *smsg) if (!datecomp || (tw = dparsetime (datecomp)) == NULL) { struct stat st; - advise (NULL, "can't parse %s field in message %d, will use file mtime", + advise (NULL, + "can't parse %s field in message %d, " + "will use file modification time", datesw, msg); fstat (fileno (in), &st); smsg->s_clock = st.st_mtime;