Home
last modified time | relevance | path

Searched refs:lockfile (Results 326 – 350 of 7818) sorted by relevance

1...<<11121314151617181920>>...313

/dports/games/xrot/xrot/
H A Drecord.c38 static char lockfile[100]; variable
91 unlink( lockfile );
130 sprintf( lockfile, "%s/%s", RECDIR, LOCK_FILE ); in lock_file()
132 if( (lc_fd = open( lockfile, O_CREAT | O_EXCL, 666 )) < 0 ) in lock_file()
137 fprintf( stderr, "record file is locked: %s\n", lockfile ); in lock_file()
145 sprintf( lockfile, "%s/%s", getenv("HOME"), LOCK_FILE ); in lock_file()
171 unlink( lockfile ); in read_record()
/dports/astro/py-astropy/astropy-5.0/astropy/samp/
H A Dlockfile_helpers.py43 lockfile = open(lockfilename, "w")
44 lockfile.close()
47 lockfile = open(lockfilename, "w")
49 lockfile.write(f"# SAMP lockfile written on {now_iso}\n")
50 lockfile.write("# Standard Profile required keys\n")
52 lockfile.write(f"{key}={value}\n")
53 lockfile.close()
/dports/lang/ruby26/ruby-2.6.9/spec/bundler/commands/
H A Dbinstubs_spec.rb158 lockfile lockfile.gsub(system_bundler_version, "999.999.999")
167 lockfile lockfile.gsub(system_bundler_version, "44.0")
176 lockfile lockfile.gsub(system_bundler_version, "2.12.0.a")
185 before { lockfile.gsub(system_bundler_version, "1.1.1") }
222 before { lockfile lockfile.gsub(Bundler::VERSION, "999.999.999") }
/dports/comms/ncid/ncid/Fedora/
H A Dncid-speak.init26 lockfile=/var/lock/subsys/$module
37 [ $RETVAL -eq 0 ] && touch $lockfile
46 [ $RETVAL -eq 0 ] && rm -f $lockfile
79 [ -f $lockfile ] && restart
H A Dncid-mythtv.init26 lockfile=/var/lock/subsys/$module
37 [ $RETVAL -eq 0 ] && touch $lockfile
46 [ $RETVAL -eq 0 ] && rm -f $lockfile
79 [ -f $lockfile ] && restart
H A Dncid-initmodem.init26 lockfile=/var/lock/subsys/$module
37 [ $RETVAL -eq 0 ] && touch $lockfile
46 [ $RETVAL -eq 0 ] && rm -f $lockfile
79 [ -f $lockfile ] && restart
H A Dncid-mysql.init26 lockfile=/var/lock/subsys/$module
37 [ $RETVAL -eq 0 ] && touch $lockfile
46 [ $RETVAL -eq 0 ] && rm -f $lockfile
79 [ -f $lockfile ] && restart
H A Dncid-notify.init26 lockfile=/var/lock/subsys/$module
37 [ $RETVAL -eq 0 ] && touch $lockfile
46 [ $RETVAL -eq 0 ] && rm -f $lockfile
79 [ -f $lockfile ] && restart
H A Dncid-page.init26 lockfile=/var/lock/subsys/$module
37 [ $RETVAL -eq 0 ] && touch $lockfile
46 [ $RETVAL -eq 0 ] && rm -f $lockfile
79 [ -f $lockfile ] && restart
H A Dncid-samba.init26 lockfile=/var/lock/subsys/$module
37 [ $RETVAL -eq 0 ] && touch $lockfile
46 [ $RETVAL -eq 0 ] && rm -f $lockfile
79 [ -f $lockfile ] && restart
/dports/devel/cargo-c/cargo-c-0.9.6+cargo-0.58/cargo-crates/cargo-0.58.0/tests/testsuite/
H A Dupdate.rs583 let lockfile = p.read_lockfile(); in preserve_top_comment() localVariable
584 …assert!(lockfile.starts_with("# This file is automatically @generated by Cargo.\n# It is not inten… in preserve_top_comment()
586 let mut lines = lockfile.lines().collect::<Vec<_>>(); in preserve_top_comment()
588 let mut lockfile = lines.join("\n"); in preserve_top_comment() localVariable
589 lockfile.push('\n'); // .lines/.join loses the last newline in preserve_top_comment()
590 println!("saving Cargo.lock contents:\n{}", lockfile); in preserve_top_comment()
592 p.change_file("Cargo.lock", &lockfile); in preserve_top_comment()
599 assert_eq!(lockfile, lockfile2); in preserve_top_comment()
/dports/lang/rust/rustc-1.58.1-src/src/tools/cargo/tests/testsuite/
H A Dupdate.rs585 let lockfile = p.read_lockfile(); in preserve_top_comment() localVariable
586 …assert!(lockfile.starts_with("# This file is automatically @generated by Cargo.\n# It is not inten… in preserve_top_comment()
588 let mut lines = lockfile.lines().collect::<Vec<_>>(); in preserve_top_comment()
590 let mut lockfile = lines.join("\n"); in preserve_top_comment() localVariable
591 lockfile.push('\n'); // .lines/.join loses the last newline in preserve_top_comment()
592 println!("saving Cargo.lock contents:\n{}", lockfile); in preserve_top_comment()
594 p.change_file("Cargo.lock", &lockfile); in preserve_top_comment()
601 assert_eq!(lockfile, lockfile2); in preserve_top_comment()
/dports/sysutils/vector/vector-0.10.0/cargo-crates/cargo-lock-4.0.1/src/bin/cargo-lock/
H A Dmain.rs83 let mut lockfile = load_lockfile(&self.file); in run() localVariable
85 lockfile.version = self.version.unwrap_or_default(); in run()
86 let lockfile_toml = lockfile.to_string(); in run()
116 let lockfile = load_lockfile(&self.file); in run() localVariable
118 let tree = lockfile.dependency_tree().unwrap_or_else(|e| { in run()
134 let package = lockfile in run()
/dports/games/abstreet/abstreet-0.2.9-49-g74aca40c0/cargo-crates/cargo-lock-4.0.1/src/bin/cargo-lock/
H A Dmain.rs83 let mut lockfile = load_lockfile(&self.file); in run() localVariable
85 lockfile.version = self.version.unwrap_or_default(); in run()
86 let lockfile_toml = lockfile.to_string(); in run()
116 let lockfile = load_lockfile(&self.file); in run() localVariable
118 let tree = lockfile.dependency_tree().unwrap_or_else(|e| { in run()
134 let package = lockfile in run()
/dports/comms/owfs/owfs-3.2p4/src/rpm/
H A Dowfs.init22 lockfile=/var/lock/subsys/owfs
48 touch ${lockfile}
74 [ $RETVAL -eq 0 ] && rm -f ${lockfile}
97 if [ -f ${lockfile} ]; then
/dports/devel/stack/stack-2.7.3/_cabal_deps/filelock-0.1.1.5/tests/
H A Dtest.hs64 withFileLock lockfile sex $ \_ -> do
73 ml <- tryLockFile lockfile Exclusive
82 res <- withTryFileLock lockfile sex $ \_ -> do
90 lockfile :: String
91 lockfile = "lock" function
/dports/lang/elm/compiler-0.19.1/_cabal_deps/filelock-0.1.1.4/tests/
H A Dtest.hs64 withFileLock lockfile sex $ \_ -> do
73 ml <- tryLockFile lockfile Exclusive
82 res <- withTryFileLock lockfile sex $ \_ -> do
90 lockfile :: String
91 lockfile = "lock" function
/dports/devel/py-pipenv/pipenv-2021.5.29/pipenv/vendor/passa/actions/
H A Dfreeze.py47 lockfile = project.lockfile
48 if not lockfile:
60 lockfile.get(name, {}).items()
68 sources = lockfile.meta.sources._data
/dports/devel/py-zclockfile/zc.lockfile-2.0/
H A DPKG-INFO2 Name: zc.lockfile
5 Home-page: https://github.com/zopefoundation/zc.lockfile
13 The zc.lockfile package provides a basic portable implementation of
35 >>> import zc.lockfile
36 >>> lock = zc.lockfile.LockFile('lock')
41 >>> handler = zope.testing.loggingsupport.InstalledHandler('zc.lockfile')
43 ... zc.lockfile.LockFile('lock')
44 ... except zc.lockfile.LockError:
65 >>> lock = zc.lockfile.LockFile('lock')
89 >>> lock = zc.lockfile.LockFile('lock', content_template='{pid};{hostname}')
[all …]
/dports/devel/py-zclockfile/zc.lockfile-2.0/src/zc.lockfile.egg-info/
H A DPKG-INFO2 Name: zc.lockfile
5 Home-page: https://github.com/zopefoundation/zc.lockfile
13 The zc.lockfile package provides a basic portable implementation of
35 >>> import zc.lockfile
36 >>> lock = zc.lockfile.LockFile('lock')
41 >>> handler = zope.testing.loggingsupport.InstalledHandler('zc.lockfile')
43 ... zc.lockfile.LockFile('lock')
44 ... except zc.lockfile.LockError:
65 >>> lock = zc.lockfile.LockFile('lock')
89 >>> lock = zc.lockfile.LockFile('lock', content_template='{pid};{hostname}')
[all …]
/dports/news/cnews/cnews-cr.g_18/libcnews/
H A Dlock.c42 register char *tempnm, *lockfile; in newslock() local
54 lockfile = strsave(ctlfile(LOCKNAME)); in newslock()
55 while (link(tempnm, lockfile) < 0) { in newslock()
66 free(lockfile); in newslock()
/dports/math/dune-fem/dune-fem-d1c625e6d51167d0cce57de6adcef21f548a8f82/dune/fem/io/file/
H A Diolock.hh42 std::string lockfile(fn); in FileIOCheckError() local
43 lockfile += "."; in FileIOCheckError()
44 lockfile += FileIOLock::suffix(); in FileIOCheckError()
46 std::ifstream file ( lockfile.c_str () ); in FileIOCheckError()
/dports/devel/py-pipenv/pipenv-2021.5.29/pipenv/vendor/passa/models/
H A Dlockers.py156 lockfile = plette.Lockfile.with_meta_from(self.project.pipfile)
157 lockfile["default"] = _collect_derived_entries(
160 lockfile["develop"] = _collect_derived_entries(
163 self.project.lockfile = lockfile
186 pins = _get_requirements(project.lockfile, "develop")
187 pins.update(_get_requirements(project.lockfile, "default"))
/dports/mail/fetchmailconf/fetchmail-6.4.28/contrib/
H A Dmailqueue.pl59 my $lockfile = "/var/run/mailqueue.lock"; #lockfile for this program
152 if (-s $lockfile) {
153 my $pid = `cat $lockfile`; chop $pid;
161 unlink ($lockfile) || die $!;
163 open (LOCK, '>'.$lockfile) || die "$0: Could not create lockfile $lockfile\n";
273 unlink ($lockfile);
/dports/mail/fetchmail/fetchmail-6.4.28/contrib/
H A Dmailqueue.pl59 my $lockfile = "/var/run/mailqueue.lock"; #lockfile for this program
152 if (-s $lockfile) {
153 my $pid = `cat $lockfile`; chop $pid;
161 unlink ($lockfile) || die $!;
163 open (LOCK, '>'.$lockfile) || die "$0: Could not create lockfile $lockfile\n";
273 unlink ($lockfile);

1...<<11121314151617181920>>...313