fixing error message argument problems.
2007-03-12 Peter Maydell <pmaydell@chiark.greenend.org.uk>
+ * bug #18630, #18631, #18632, #18634: various patches from
+ Craig Leres fixing error message argument problems.
+
+2007-03-12 Peter Maydell <pmaydell@chiark.greenend.org.uk>
+
* bug #15212: configure.in, acconfig.h: remove configure test for
broken AT&T vi. This test was broken (it was always returning
failure even for non-broken vi implementations) and
free (cp);
if (!makedir (nd))
- adios (NULL, "unable to create", nd);
+ adios (NULL, "unable to create %s", nd);
}
else if ((st.st_mode & S_IFDIR) == 0)
*/
if (linkerr == EXDEV) {
if (stat (newmsg, &st1) == 0) {
- advise (NULL, "message %s:%s already exists", newmsg);
+ advise (NULL, "message %s:%s already exists", mp->foldpath, newmsg);
return -1;
} else {
if ((infd = open (msgfile, O_RDONLY)) == -1) {
- advise (msgfile, "unable to open message %s");
+ advise (msgfile, "unable to open message %s", msgfile);
return -1;
}
fstat (infd, &st1);
if (mp->numsel >= MAXARGS - i)
adios (NULL, "more than %d messages for %s exec",
- vec[0], MAXARGS - i);
+ MAXARGS - i, vec[0]);
/*
* Now add the message names to filter. We can only
}
if (!(mp = folder_read (folder))) {
if (debugsw)
- admonish (NULL, "unable to read folder %s");
+ admonish (NULL, "unable to read folder %s", folder);
return;
}