Lines Matching defs:qf

298 **  Current qf file field assignments:
361 char qf[MAXPATHLEN];
388 ** open qf file directly: this will give an error if the file
888 (void) sm_strlcpy(qf, queuename(e, ANYQFL_LETTER),
889 sizeof(qf));
890 if (rename(tf, qf) < 0)
892 tf, qf, (int) geteuid());
937 SYNC_DIR(qf, true);
947 sm_syslog(LOG_DEBUG, e->e_id, "queueup %s", qf);
1440 #define QP_SUBQF 0x0002 /* "qf" subdirectory */
2504 char qf[MAXPATHLEN];
2516 ? "/qf" : ""));
2652 (void) sm_strlcpyn(qf, sizeof(qf), 3, qd, "/", d->d_name);
2653 if (stat(qf, &sbuf) < 0)
2700 cf = sm_io_open(SmFtStdio, SM_TIME_DEFAULT, qf, SM_IO_RDONLY_B,
3921 ** openonly -- only open the qf (returned as e_lockfp)
3949 char qf[MAXPATHLEN];
3959 (void) sm_strlcpy(qf, queuename(e, ANYQFL_LETTER), sizeof(qf));
3960 qfp = sm_io_open(SmFtStdio, SM_TIME_DEFAULT, qf, SM_IO_RDWR_B, NULL);
3967 qf, sm_errstring(errno));
3971 syserr("readqf: no control file %s", qf);
3976 if (!lockfile(sm_io_getinfo(qfp, SM_IO_WHAT_FD, NULL), qf, NULL,
3998 ** Process B: queueup(): rename(tf, qf)
4000 ** Process A: lockfile(qf);
4002 ** Process A (us) has the old qf file (before the rename deleted
4006 ** Catch this by checking if the underlying qf file has changed
4012 if (stat(qf, &stf) < 0 ||
4018 qf, sm_errstring(errno));
4058 ** If this qf file results from a set-group-ID binary, then
4071 bp = SM_LAST_DIR_DELIM(qf);
4079 if (stat(delim == '\0' ? "." : qf, &dst) < 0)
4081 delim == '\0' ? "." : qf);
4103 sm_dprintf("readqf(%s): bogus file\n", qf);
4257 syserr("SECURITY ALERT: bogus qf line %s", bp);
4523 qf, LineNumber, shortenstring(bp, MAXSHORTSTR));
4547 syserr("readqf: %s: incomplete queue file read", qf);
4556 syserr("readqf: %s: sender not specified in queue file", qf);
4605 ** There was some error reading the qf file (reason is in err var.)
4609 ** the qf file is on disk, so set the flag to avoid calling
4823 ? "/qf" : ""));
4910 char qf[MAXPATHLEN];
4917 (void) sm_strlcpyn(qf, sizeof(qf), 3, qd, "/", w->w_name);
4918 f = sm_io_open(SmFtStdio, SM_TIME_DEFAULT, qf, SM_IO_RDONLY_B,
4936 (void) sm_strlcpyn(qf, sizeof(qf), 3, qddf, "/", w->w_name);
4937 if (stat(qf, &st) >= 0)
4945 ** it is in a different directory than the qf file.
4946 ** In order to find out, we must read the qf file.
5295 sub = "/qf/";
6271 CHKRSUBDIR("qf", QP_SUBQF);
6328 CHKSUBDIR("qf", QP_SUBQF);
7875 ** The qf file will refer to the new df file using a 'd' record.