fe2216dcb8
which have shadow password (SunOS at least). - Reduce warning with GCC 3.3.1. - Bump package revision.
40 lines
1.3 KiB
Text
40 lines
1.3 KiB
Text
$NetBSD: patch-bk,v 1.3 2003/10/05 04:25:15 taca Exp $
|
|
|
|
--- yatd/v2conv.c.orig 2001-12-19 22:56:15.000000000 +0900
|
|
+++ yatd/v2conv.c
|
|
@@ -148,7 +148,7 @@ static void V2GetSummary(pFldrParent)
|
|
}
|
|
|
|
#ifdef DEBUG_LOCAL
|
|
- LogDEBUG("<<<V2 Summary: %.256s %u %u %u",
|
|
+ LogDEBUG("<<<V2 Summary: %.256s %ld %u %u",
|
|
V2Fldr.szName, V2Fldr.mtime,
|
|
V2Fldr.nMail, V2Fldr.nMailUnseen);
|
|
#endif
|
|
@@ -389,7 +389,7 @@ int V2FldrScan()
|
|
}
|
|
else if (errno != ENOENT)
|
|
WARNING(errno, ERRFLG_SYSERR,
|
|
- "stat(%.256s) failed", szV2MboxFile, SYS_ERRMSG);
|
|
+ "stat(%.256s) failed/%s", szV2MboxFile, SYS_ERRMSG);
|
|
}
|
|
|
|
LBL_SKIPUCBMBOX:
|
|
@@ -421,7 +421,7 @@ int V2FldrScan()
|
|
strcpy(pFileName, pDirect->d_name);
|
|
if (stat(szV2MboxFile, &statBuf) == -1) {
|
|
WARNING(errno, ERRFLG_SYSERR,
|
|
- "stat(%.256s) failed", szV2MboxFile, SYS_ERRMSG);
|
|
+ "stat(%.256s) failed/%s", szV2MboxFile, SYS_ERRMSG);
|
|
continue;
|
|
}
|
|
if ((statBuf.st_mode & S_IFMT) == S_IFREG) {
|
|
@@ -564,7 +564,7 @@ int FuncCnv2()
|
|
|
|
if (Cnv2(SysData.argv[1]))
|
|
return FAILURE;
|
|
- Msg2Cli(SUCCESS, "You have %d message(s) (%d octets).",
|
|
+ Msg2Cli(SUCCESS, "You have %d message(s) (%ld octets).",
|
|
SysData.pFldrCur->nMailAvail,
|
|
SysData.pFldrCur->sizMailsAvail);
|
|
return SUCCESS;
|