follow-up build bit for OpenVMS
This commit is contained in:
+14
-3
@@ -382,9 +382,20 @@ sf_log(NHFILE *nhfp, const char *t1, size_t sz, int cnt, char *txtvalue)
|
|||||||
|
|
||||||
if (fp && dolog) {
|
if (fp && dolog) {
|
||||||
iocount = ((nhfp->mode & WRITING) == 0) ? &nhfp->rcount : &nhfp->wcount;
|
iocount = ((nhfp->mode & WRITING) == 0) ? &nhfp->rcount : &nhfp->wcount;
|
||||||
(void) fprintf(fp, "%08ld %s sz=%zu cnt=%d |%s|\n",
|
(void) fprintf(fp,
|
||||||
*iocount,
|
#ifndef VMS
|
||||||
t1, sz, cnt, txtvalue);
|
"%08ld %s sz=%zu cnt=%d |%s|\n",
|
||||||
|
#else
|
||||||
|
"%08ld %s sz=%lu cnt=%d |%s|\n",
|
||||||
|
#endif
|
||||||
|
*iocount,
|
||||||
|
t1,
|
||||||
|
#ifndef VMS
|
||||||
|
sz,
|
||||||
|
#else
|
||||||
|
(unsigned long) sz,
|
||||||
|
#endif
|
||||||
|
cnt, txtvalue);
|
||||||
// (*iocount)++;
|
// (*iocount)++;
|
||||||
// if (*iocount == 87)
|
// if (*iocount == 87)
|
||||||
// __debugbreak();
|
// __debugbreak();
|
||||||
|
|||||||
Reference in New Issue
Block a user