Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
e788eecc
Commit
e788eecc
authored
Apr 08, 1998
by
Karl Heuer
Browse files
Include <utmp.h> only if CLASH_DETECTION is
defined.
parent
e13608fb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
src/filelock.c
src/filelock.c
+2
-1
No files found.
src/filelock.c
View file @
e788eecc
...
...
@@ -38,13 +38,14 @@ Boston, MA 02111-1307, USA. */
#include "buffer.h"
#include <time.h>
#include <utmp.h>
#include <errno.h>
#ifndef errno
extern
int
errno
;
#endif
#ifdef CLASH_DETECTION
#include <utmp.h>
/* The strategy: to lock a file FN, create a symlink .#FN in FN's
directory, with link data `user@host.pid'. This avoids a single
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment