#else
{ "permissions",FN_PERM, CM_INV}, /* Permissions of file */
#endif /* CK_PERMS */
+#ifdef SEEK_CUR
{ "pictureinfo",FN_PICTURE, 0 }, /* Picture orientation/dimensions */
+#endif /* SEEK_CUR */
{ "radix", FN_RADIX, 0 }, /* Radix conversion */
#ifndef NORANDOM
{ "random", FN_RAND, 0}, /* Random number */
goto fnend;
}
+#ifdef SEEK_CUR
/*
\fpicture(): Get dimensions of GIF or JPG image.
fdc June 2006
}
goto fnend;
}
+#endif /* SEEK_CUR */
+
if (cx == FN_PID) {
int x = -1;
if (chknum(bp[0])) { /* Need numeric argument */
#ifndef NODIAL
case VN_DMSG:
#ifdef BIGBUFOK
- ckstrncpy(vvbuf,dialmsg[dialsta],VVBUFL); /* Safe if src == NULL */
+ ckstrncpy(vvbuf,
+ ((dialsta < 0) ? "(none)" : dialmsg[dialsta]),
+ VVBUFL); /* Safe if src == NULL */
#endif /* BIGBUFOK */
return((char *)vvbuf);
#endif /* NODIAL */