/freebsd-11-stable/contrib/sqlite3/ |
H A D | ltmain.sh | 3455 lockfile=$output_obj.lock 3459 lockfile= 3465 until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do 3466 func_echo "Waiting for $lockfile to be removed" 3470 if test -f "$lockfile"; then 3472 *** ERROR, $lockfile exists and contains: 3473 `cat $lockfile 2>/dev/null` 3486 $ECHO "$srcfile" > "$lockfile" 3490 func_append removelist " $lockfile" 3521 test "X`cat $lockfile [all...] |
/freebsd-11-stable/contrib/unbound/ |
H A D | ltmain.sh | 3455 lockfile=$output_obj.lock 3459 lockfile= 3465 until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do 3466 func_echo "Waiting for $lockfile to be removed" 3470 if test -f "$lockfile"; then 3472 *** ERROR, $lockfile exists and contains: 3473 `cat $lockfile 2>/dev/null` 3486 $ECHO "$srcfile" > "$lockfile" 3490 func_append removelist " $lockfile" 3521 test "X`cat $lockfile [all...] |
/freebsd-11-stable/contrib/sendmail/src/ |
H A D | sendmail.h | 2765 extern bool lockfile __P((int, char *, char *, int));
|
H A D | queue.c | 398 !lockfile(tfd, tf, NULL, LOCK_EX|LOCK_NB) || 446 if (lockfile(tfd, tf, NULL, LOCK_EX|LOCK_NB)) 2747 w->w_lock = !lockfile(sm_io_getinfo(cf, SM_IO_WHAT_FD, 4003 if (!lockfile(sm_io_getinfo(qfp, SM_IO_WHAT_FD, NULL), qf, NULL, 4027 ** Process A: lockfile(qf); 4035 ** was still locked (i.e., just return like the lockfile() case 8750 if (!lockfile(fd, tempqf, NULL, LOCK_EX|LOCK_NB))
|
H A D | mci.c | 821 if (!lockfile(sm_io_getinfo(mci->mci_statfile, SM_IO_WHAT_FD, NULL), 951 locked = lockfile(sm_io_getinfo(fp, SM_IO_WHAT_FD, NULL), fname, "", 956 (void) lockfile(sm_io_getinfo(fp, SM_IO_WHAT_FD, NULL), fname, 1402 locked = !lockfile(sm_io_getinfo(fp, SM_IO_WHAT_FD, NULL), pathname,
|
H A D | map.c | 1669 (void) lockfile(dfd, map->map_file, ".dir", LOCK_UN); 1671 (void) lockfile(pfd, map->map_file, ".pag", LOCK_UN); 1741 (void) lockfile(dfd, map->map_file, ".dir", LOCK_SH); 1751 (void) lockfile(dfd, map->map_file, ".dir", LOCK_UN); 1795 (void) lockfile(dfd, map->map_file, ".dir", LOCK_UN); 2162 if (!lockfile(fd, buf, NULL, mode == O_RDONLY ? LOCK_SH : LOCK_EX)) 2287 (void) lockfile(fd, buf, NULL, LOCK_UN); 2392 (void) lockfile(fd, buf, ".db", LOCK_SH); 2400 (void) lockfile(fd, buf, ".db", LOCK_UN); 2485 (void) lockfile(f [all...] |
H A D | conf.c | 3605 lockfile(fd, filename, ext, type) function 3634 sm_dprintf("lockfile(%s%s, action=%d, type=%d): ", 3682 sm_dprintf("lockfile(%s%s, type=%o): ", filename, ext, type);
|
H A D | alias.c | 551 !lockfile(sm_io_getinfo(af, SM_IO_WHAT_FD, NULL), map->map_file, 560 (void) lockfile(sm_io_getinfo(af, SM_IO_WHAT_FD, NULL),
|
/freebsd-11-stable/contrib/sendmail/libsmutil/ |
H A D | safefile.c | 969 if (!lockfile(fd, filename, NULL, locktype))
|
H A D | lockfile.c | 16 SM_RCSID("@(#)$Id: lockfile.c,v 8.22 2013-11-22 20:51:50 ca Exp $") 37 lockfile(fd, filename, ext, type) function
|
/freebsd-11-stable/contrib/subversion/subversion/libsvn_fs_x/ |
H A D | transaction.c | 523 apr_file_t *lockfile = b->lockcookie; local 536 apr_err = apr_file_unlock(lockfile); 540 _("Can't unlock prototype revision lockfile for transaction '%s'"), 542 apr_err = apr_file_close(lockfile); 546 _("Can't close prototype revision lockfile for transaction '%s'"), 608 apr_file_t *lockfile; local 613 /* Open the proto-rev lockfile, creating it if necessary, as it may 620 SVN_ERR(svn_io_file_open(&lockfile, lockfile_path, 624 apr_err = apr_file_lock(lockfile, 628 svn_error_clear(svn_io_file_close(lockfile, scratch_poo [all...] |
/freebsd-11-stable/contrib/subversion/subversion/libsvn_fs_fs/ |
H A D | transaction.c | 244 apr_file_t *lockfile = b->lockcookie; local 257 apr_err = apr_file_unlock(lockfile); 261 _("Can't unlock prototype revision lockfile for transaction '%s'"), 263 apr_err = apr_file_close(lockfile); 267 _("Can't close prototype revision lockfile for transaction '%s'"), 327 apr_file_t *lockfile; local 332 /* Open the proto-rev lockfile, creating it if necessary, as it may 339 SVN_ERR(svn_io_file_open(&lockfile, lockfile_path, 342 apr_err = apr_file_lock(lockfile, 346 svn_error_clear(svn_io_file_close(lockfile, poo [all...] |
/freebsd-11-stable/contrib/file/ |
H A D | ltmain.sh | 3458 lockfile=$output_obj.lock 3462 lockfile= 3468 until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do 3469 func_echo "Waiting for $lockfile to be removed" 3473 if test -f "$lockfile"; then 3475 *** ERROR, $lockfile exists and contains: 3476 `cat $lockfile 2>/dev/null` 3489 $ECHO "$srcfile" > "$lockfile" 3493 func_append removelist " $lockfile" 3524 test "X`cat $lockfile [all...] |
/freebsd-11-stable/contrib/unbound/contrib/ |
H A D | unbound.init_fedora | 31 lockfile=/var/lock/subsys/unbound 51 [ $retval -eq 0 ] && touch $lockfile 60 [ $retval -eq 0 ] && rm -f $lockfile
|
H A D | unbound.init | 32 lockfile=/var/lock/subsys/$prog 67 [ $retval -eq 0 ] && touch $lockfile 77 [ $retval -eq 0 ] && rm -f $lockfile
|
/freebsd-11-stable/contrib/openpam/ |
H A D | ltmain.sh | 3455 lockfile=$output_obj.lock 3459 lockfile= 3465 until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do 3466 func_echo "Waiting for $lockfile to be removed" 3470 if test -f "$lockfile"; then 3472 *** ERROR, $lockfile exists and contains: 3473 `cat $lockfile 2>/dev/null` 3486 $ECHO "$srcfile" > "$lockfile" 3490 func_append removelist " $lockfile" 3521 test "X`cat $lockfile [all...] |
/freebsd-11-stable/usr.sbin/periodic/ |
H A D | periodic.sh | 51 lockfile=/var/run/periodic.${arg##*/}.lock 52 lockf -t 0 "${lockfile}" /bin/sh $0 LOCKED "$arg" 56 echo "can't create ${lockfile}" | \
|
/freebsd-11-stable/usr.sbin/nfsdumpstate/ |
H A D | nfsdumpstate.c | 73 char *lockfile; local 78 lockfile = NULL; 85 lockfile = optarg; 93 if (openstate == 0 && lockfile == NULL) 95 else if (openstate != 0 && lockfile != NULL) 105 dump_lockstate(lockfile);
|
/freebsd-11-stable/usr.sbin/ppp/ |
H A D | bundle.c | 673 FILE *lockfile; local 677 lockfile = ID0fopen(pidfile, "w"); 678 if (lockfile != NULL) { 679 fprintf(lockfile, "%d\n", (int)getpid()); 680 fclose(lockfile);
|
/freebsd-11-stable/contrib/ntp/sntp/libevent/build-aux/ |
H A D | ltmain.sh | 3455 lockfile=$output_obj.lock 3459 lockfile= 3465 until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do 3466 func_echo "Waiting for $lockfile to be removed" 3470 if test -f "$lockfile"; then 3472 *** ERROR, $lockfile exists and contains: 3473 `cat $lockfile 2>/dev/null` 3486 $ECHO "$srcfile" > "$lockfile" 3490 func_append removelist " $lockfile" 3521 test "X`cat $lockfile [all...] |
/freebsd-11-stable/lib/libsmutil/ |
H A D | Makefile | 18 SRCS+= debug.c err.c lockfile.c safefile.c snprintf.c cf.c
|
/freebsd-11-stable/gnu/usr.bin/rcs/ |
H A D | rcstest | 60 lockfile=RCS${SLASH}a._ 73 rm -f a.* $RCSfile $RCS_alt $lockfile && 451 test ! -f $lockfile || { echo "#lock file not removed"; exit 1; }
|
/freebsd-11-stable/crypto/heimdal/ |
H A D | ltmain.sh | 2138 lockfile="$output_obj.lock" 2142 lockfile= 2148 until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do 2149 func_echo "Waiting for $lockfile to be removed" 2153 if test -f "$lockfile"; then 2155 *** ERROR, $lockfile exists and contains: 2156 `cat $lockfile 2>/dev/null` 2169 $ECHO "$srcfile" > "$lockfile" 2173 func_append removelist " $lockfile" 2204 test "X`cat $lockfile [all...] |
/freebsd-11-stable/contrib/netbsd-tests/kernel/ |
H A D | t_lockf.c | 62 const char *lockfile = "lockf_test"; variable 77 fd = open (lockfile, O_RDWR, 0); 80 err(1, "%s", lockfile); 131 (void)unlink(lockfile); 133 fd = open (lockfile, O_RDWR|O_CREAT|O_EXCL|O_TRUNC, 0666); 134 ATF_REQUIRE_MSG(fd >= 0, "open(%s): %s", lockfile, strerror(errno)); 137 "ftruncate(%s): %s", lockfile, strerror(errno)); local 226 (void)unlink(lockfile); 228 fd = open (lockfile, O_RDWR|O_CREAT|O_EXCL|O_TRUNC, 0666); 229 ATF_REQUIRE_MSG(fd >= 0, "open(%s): %s", lockfile, strerro 232 "ftruncate(%s): %s", lockfile, strerror(errno)); local [all...] |
/freebsd-11-stable/contrib/sendmail/contrib/ |
H A D | movemail.conf | 35 $lockfile = "/var/spool/mqueue/movemail.lock";
|