log src/filelock.c @ 111782:49c747159b30

age author description
Fri, 29 Oct 2010 12:43:38 +0200 Eli Zaretskii Fix revno 102144 for non-CLASH_DETECTION platforms.
Sun, 03 Oct 2010 08:19:34 -0700 Dan Nicolaescu Include <fcntl.h> unconditionally.
Fri, 01 Oct 2010 06:56:33 -0700 Dan Nicolaescu Do not include stdlib.h and string.h, config.h does it.
Mon, 09 Aug 2010 02:35:21 -0700 Dan Nicolaescu Use const char* instead of char*.
Thu, 05 Aug 2010 16:34:12 -0700 Dan Nicolaescu Remove extern declarations in .c files, .h files have them.
Sun, 11 Jul 2010 12:31:10 +0200 Andreas Schwab Use strchr, strrchr instead of index, rindex
Thu, 08 Jul 2010 14:25:08 -0700 Dan Nicolaescu Convert DEFUNs to standard C.
Wed, 07 Jul 2010 21:55:07 -0700 Dan Nicolaescu Clean up include guards.
Sun, 04 Jul 2010 00:50:25 -0700 Dan Nicolaescu Convert (most) functions in src to standard C.
Fri, 02 Jul 2010 14:19:53 +0200 Jan D Remove __P and P_ from .c and .m files and definition of P_
Thu, 01 Apr 2010 20:10:33 -0700 Dan Nicolaescu Remove extern errno declarations.
Sat, 23 Jan 2010 17:15:22 -0500 Chong Yidong Account for utmp.h availability.
Wed, 13 Jan 2010 00:35:10 -0800 Glenn Morris Add 2010 to copyright years.
Mon, 19 Oct 2009 04:27:09 +0000 Dan Nicolaescu * alloc.c: Do not define struct catchtag.
Thu, 08 Jan 2009 03:15:17 +0000 Glenn Morris Add 2009 to copyright years.
Wed, 14 May 2008 07:50:26 +0000 Glenn Morris Switch to recommended form of GPLv3 permissions notice.
Sun, 24 Feb 2008 18:53:07 +0000 Dan Nicolaescu * configure.in: Remove references to obsolete variables and
Wed, 09 Jan 2008 01:21:15 +0000 Miles Bader Merge from emacs--devo--0
Fri, 27 Jul 2007 10:52:18 +0000 Miles Bader Merge from emacs--devo--0
Fri, 29 Jun 2007 03:37:33 +0000 Stefan Monnier Replace uses of GC_* macros with the non-GC_ versions.
Fri, 26 Jan 2007 06:16:11 +0000 Miles Bader Merge from emacs--devo--0
Wed, 08 Feb 2006 04:26:44 +0000 Miles Bader Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-13
Fri, 26 Aug 2005 09:51:52 +0000 Miles Bader Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-78
Thu, 07 Jul 2005 12:43:14 +0000 Miles Bader Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-68
Thu, 21 Apr 2005 05:59:53 +0000 Miles Bader Revision: miles@gnu.org--gnu-2005/emacs--unicode--0--patch-39
Wed, 08 Dec 2004 05:02:30 +0000 Miles Bader Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-74
Fri, 16 Apr 2004 12:51:06 +0000 Kenichi Handa Sync to HEAD
Mon, 08 Sep 2003 12:53:41 +0000 Kenichi Handa *** empty log message ***
Fri, 01 Mar 2002 01:06:35 +0000 Kenichi Handa Include "character.h".
Mon, 16 Jan 2006 00:03:54 +0000 Henrik Enberg sync with trunk
Mon, 08 Sep 2003 11:56:09 +0000 Kenichi Handa New directory
Tue, 08 Jan 2008 04:30:25 +0000 Glenn Morris Add 2008 to copyright years.
Wed, 25 Jul 2007 05:16:09 +0000 Glenn Morris Switch license to GPLv3 or later.
Mon, 23 Jul 2007 22:35:05 +0000 Jason Rumney (current_lock_owner): Allow for @ sign in username.
Sun, 21 Jan 2007 04:57:37 +0000 Glenn Morris Add 2007 to copyright years.
Mon, 06 Feb 2006 15:23:23 +0000 Thien-Thi Nguyen Update years in copyright notice; nfc.
Sun, 07 Aug 2005 12:33:19 +0000 Thien-Thi Nguyen Update years in copyright notice; nfc.
Mon, 04 Jul 2005 16:49:24 +0000 Lute Kamstra Update FSF's address.
Wed, 20 Apr 2005 15:07:03 +0000 Thien-Thi Nguyen Remove reference to defunct vms-pwd.h.
Sat, 27 Nov 2004 22:09:40 +0000 Andreas Schwab (lock_file_1): Call get_boot_time early. Increase
Mon, 01 Sep 2003 15:45:59 +0000 Miles Bader Add arch taglines
Tue, 04 Feb 2003 14:56:31 +0000 Juanma Barranquero Trailing whitespace deleted.
Mon, 15 Jul 2002 00:00:41 +0000 Ken Raeburn Most uses of XSTRING combined with STRING_BYTES or indirection changed to
Wed, 06 Feb 2002 15:44:28 +0000 Richard M. Stallman (S_ISLNK): Define if not defined.
Wed, 14 Nov 2001 00:09:06 +0000 Richard M. Stallman (Funlock_buffer, Ffile_locked_p): Doc fixes.
Tue, 13 Nov 2001 07:48:37 +0000 Pavel Jank Change doc-string comments to `new style' [w/`doc:' keyword].
Fri, 02 Nov 2001 20:46:55 +0000 Pavel Jank Update usage of CHECK_ macros (remove unused second argument).
Fri, 14 Sep 2001 11:20:16 +0000 Gerd Moellmann (current_lock_owner): Fix last change.
Thu, 13 Sep 2001 14:05:44 +0000 Gerd Moellmann Fix last change.
Thu, 13 Sep 2001 14:05:17 +0000 Gerd Moellmann (current_lock_owner): If readlink returns ERANGE,
Tue, 24 Oct 2000 20:54:30 +0000 Gerd Moellmann (unlock_all_files): Use unlock_file to expand each
Fri, 23 Jun 2000 16:31:30 +0000 Dave Love Use feature tests for fcntl.h, string.h. Don't include time.h, done by
Tue, 16 May 2000 11:14:18 +0000 Gerd Moellmann (get_boot_time): To obtain an 8 char file name, which
Fri, 14 Apr 2000 13:03:20 +0000 Gerd Moellmann (MAKE_LOCK_NAME): Allocate 2 more bytes.
Thu, 18 Nov 1999 18:20:28 +0000 Dave Love Add forward declaration for get_boot_time_1.
Fri, 05 Nov 1999 14:04:40 +0000 Gerd Moellmann (Ffile_locked_p): Make FILENAME a required argument.
Tue, 19 Oct 1999 07:25:11 +0000 Paul Eggert Add support for large files, 64-bit Solaris, system locale codings.
Thu, 14 Oct 1999 09:19:34 +0000 Dave Love (lock_file): Fix previous change.
Wed, 13 Oct 1999 17:17:59 +0000 Dave Love (lock_file): Move gcpro of `fn'.
Mon, 20 Sep 1999 23:18:45 +0000 Gerd Moellmann (get_boot_time): Put local variable used in
Thu, 16 Sep 1999 19:34:38 +0000 Richard M. Stallman (Vtemporary_file_directory): New variable.
Mon, 13 Sep 1999 02:23:04 +0000 Ken Raeburn Use XCAR, XCDR, and XFLOAT_DATA instead of explicit member access.
Wed, 18 Aug 1999 13:10:52 +0000 Dave Love Use stdlib.h.
Mon, 02 Aug 1999 01:17:41 +0000 Richard M. Stallman Comment change.
Fri, 30 Jul 1999 14:30:03 +0000 Karl Heuer (lock_if_free): Indentation fix.
Thu, 22 Jul 1999 00:41:21 +0000 Karl Heuer (lock_if_free): Return -1 if check_lock_owner()
Wed, 14 Jul 1999 16:00:57 +0000 Richard M. Stallman (lock_file): Do nothing if purifying. EMACS_20_4
Fri, 18 Jun 1999 05:49:18 +0000 Paul Eggert (BOOT_TIME_FILE): New macro.
Sat, 05 Jun 1999 01:13:36 +0000 Karl Heuer (get_boot_time): Don't look at /proc/uptime; it
Mon, 24 May 1999 09:19:06 +0000 Richard M. Stallman (lock_if_free): After deleting a stale lock,
Wed, 19 May 1999 02:27:09 +0000 Richard M. Stallman Comment change.
Wed, 19 May 1999 01:30:15 +0000 Richard M. Stallman Fix performance bug on hosts with large
Sun, 09 May 1999 17:57:03 +0000 Karl Heuer (get_boot_time): Handle NO_WTMP_FILE.
Thu, 18 Mar 1999 00:16:38 +0000 Karl Heuer (get_boot_time): Test tempname, not filename.
Tue, 09 Mar 1999 22:09:49 +0000 Karl Heuer (init_filelock): New function.
Tue, 09 Mar 1999 03:31:10 +0000 Karl Heuer (get_boot_time): Reduce scope of #ifdef BOOT_TIME
Mon, 01 Mar 1999 03:50:34 +0000 Karl Heuer (get_boot_time): Support FreeBSD way to read boot-time.
Fri, 26 Feb 1999 10:47:36 +0000 Richard M. Stallman (get_boot_time): Use WTMP_FILE for file name.
Tue, 23 Feb 1999 22:09:47 +0000 Karl Heuer (get_boot_time): Don't use BUFSIZ.
Sun, 21 Feb 1999 19:57:34 +0000 Richard M. Stallman (get_boot_time_1): Put this in #ifdef BOOT_TIME.
Fri, 19 Feb 1999 01:36:29 +0000 Richard M. Stallman (within_one_second): New function.
Mon, 18 May 1998 00:17:38 +0000 Richard M. Stallman (get_boot_time): Scan the whole wtmp file
Mon, 11 May 1998 15:52:28 +0000 Richard M. Stallman (unlock_file): Encode the file name.
Sat, 02 May 1998 06:38:41 +0000 Richard M. Stallman Include coding.h.
Wed, 29 Apr 1998 00:59:43 +0000 Richard M. Stallman Fix previous change.
Wed, 29 Apr 1998 00:28:28 +0000 Richard M. Stallman (lock_file): gcpro `fn'.
Wed, 22 Apr 1998 17:48:16 +0000 Erik Naggum (get_boot_time): Remove extraneous semicolon.
Tue, 14 Apr 1998 12:25:56 +0000 Andreas Schwab Fix -Wimplicit warnings.
Wed, 08 Apr 1998 06:48:59 +0000 Karl Heuer Include <utmp.h> only if CLASH_DETECTION is
Sat, 21 Mar 1998 07:06:14 +0000 Richard M. Stallman Use STRING_BYTES and SET_STRING_BYTES.
Thu, 19 Mar 1998 21:19:07 +0000 Richard M. Stallman (get_boot_time): Conditionalize on BOOT_TIME.
Thu, 19 Mar 1998 06:32:34 +0000 Richard M. Stallman (current_lock_owner): If lock file data doesn't include
Mon, 05 Jan 1998 17:32:08 +0000 Richard M. Stallman (MAKE_LOCK_NAME): Use size_byte.
Thu, 27 Nov 1997 12:07:07 +0000 Kenichi Handa (unlock_buffer): Declare it as void.
Thu, 23 Oct 1997 06:53:36 +0000 Karl Heuer (unlock_all_files): Don't call unlock_file;
Wed, 13 Aug 1997 15:27:49 +0000 Richard M. Stallman (lock_file): Use %lu instead of %d in sprintf because
Thu, 07 Aug 1997 18:43:19 +0000 Richard M. Stallman (init_filelock): Function deleted.
Wed, 06 Aug 1997 18:59:33 +0000 Richard M. Stallman (lock_file_1, lock_file): Add casts.
Thu, 31 Jul 1997 07:54:07 +0000 Richard M. Stallman (current_lock_owner): Don't try to delete lock
Wed, 30 Jul 1997 19:45:01 +0000 Richard M. Stallman (lock_if_free): Don't loop; for strange error, return -1.
Sat, 12 Jul 1997 06:51:51 +0000 Richard M. Stallman (lock_file_1): Don't crash if Fuser_login_name or
Thu, 10 Jul 1997 03:03:10 +0000 Richard M. Stallman (current_lock_owner, lock_file_1): Add casts.
Mon, 17 Mar 1997 09:25:32 +0000 Karl Heuer Fix typos in comment.
Tue, 07 Jan 1997 23:52:21 +0000 Richard M. Stallman (LOCK_PID_MAX): Use sizeof (unsigned long) instead of hardwiring 21.
Thu, 02 Jan 1997 21:02:23 +0000 Richard M. Stallman (lock_info_type): Declare pid as unsigned long instead of int.
Tue, 31 Dec 1996 22:11:05 +0000 Richard M. Stallman Total rewrite.
Thu, 12 Sep 1996 17:29:17 +0000 Richard M. Stallman (lock_superlock): Delete superlock file if it stayed
Mon, 29 Jul 1996 04:21:23 +0000 Richard M. Stallman (lock_file_owner_name): Always initialize the_pw.
Mon, 15 Jan 1996 09:18:04 +0000 Erik Naggum Update FSF's address in the preamble.
Tue, 09 Jan 1996 00:32:09 +0000 Erik Naggum (Flock_buffer, Ffile_locked_p): Harmonize arguments with documentation.
Wed, 09 Aug 1995 22:39:32 +0000 Richard M. Stallman (lock_file): Use get_truename_buffer.
Wed, 07 Jun 1995 20:39:56 +0000 Karl Heuer (unlock_file, lock_file): Call Fexpand_file_name.
Tue, 14 Feb 1995 16:33:49 +0000 Richard M. Stallman (unlock_buffer, unlock_all_files, Flock_buffer)
Wed, 04 Jan 1995 19:08:56 +0000 Richard M. Stallman Use SAVE_MODIFF and BUF_SAVE_MODIFF
Fri, 18 Nov 1994 20:27:24 +0000 Richard M. Stallman (init_filelock): Add missing semicolon.
Thu, 17 Nov 1994 17:28:35 +0000 Richard M. Stallman (lock_dir, superlock_file, MAKE_LOCK_NAME):
Thu, 17 Nov 1994 16:10:36 +0000 Richard M. Stallman (init_filelock): Always copy lock_path.
Tue, 15 Nov 1994 23:54:02 +0000 Karl Heuer (unlock_all_files): Use the new type-test macros.
Tue, 27 Sep 1994 03:01:57 +0000 Karl Heuer (unlock_all_files, Funlock_buffer, unlock_buffer): Use type test macros.
Fri, 16 Sep 1994 07:51:25 +0000 Richard M. Stallman (getpwuid): Test just DECLARE_GETPWUID_WITH_UID_T, not __bsdi__.