log src/filelock.c @ 82318:7bec7031afab

age author description
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__.
Wed, 04 May 1994 02:41:09 +0000 Karl Heuer Update copyright.
Wed, 23 Mar 1994 22:29:02 +0000 Karl Heuer (lock_file): Use assignment, not initialization.
Fri, 11 Mar 1994 02:35:50 +0000 Karl Heuer (lock_superlock): Synchronize NFS cache.
Sun, 12 Sep 1993 01:34:01 +0000 Roland McGrath Include <paths.h>, not "paths.h".
Fri, 10 Sep 1993 06:15:46 +0000 Roland McGrath Include <config.h> instead of "config.h".
Wed, 08 Sep 1993 15:28:44 +0000 Francesco Potort * filelock.c (fill_in_lock_short_file_name): corrected the crc
Sat, 14 Aug 1993 07:21:00 +0000 Richard M. Stallman (getpwuid): Declare it as in xrdb.c.
Sun, 25 Jul 1993 21:46:48 +0000 Richard M. Stallman Fix typo in previous change.
Sun, 25 Jul 1993 06:35:25 +0000 Richard M. Stallman (getpwuid): Declare at top level, and not if __386bsd__.
Thu, 10 Jun 1993 06:19:30 +0000 Jim Blandy * filelock.c: Test HAVE_LONG_FILE_NAMES, not SHORT_FILE_NAMES, to
Mon, 07 Jun 1993 05:30:29 +0000 Richard M. Stallman (MAKE_LOCK_PATH): If SHORT_FILE_NAMES allocates
Sat, 22 May 1993 21:34:42 +0000 Jim Blandy Updated copyright years.
Tue, 30 Jun 1992 13:55:35 +0000 Jim Blandy entered into RCS
Sun, 10 May 1992 18:15:10 +0000 Jim Blandy *** empty log message ***
Fri, 01 May 1992 06:20:46 +0000 Jim Blandy *** empty log message ***
Sat, 22 Feb 1992 20:39:30 +0000 Jim Blandy *** empty log message ***
Mon, 13 Jan 1992 21:48:08 +0000 Jim Blandy *** empty log message ***
Fri, 02 Aug 1991 02:24:35 +0000 Jim Blandy *** empty log message ***
Mon, 14 Jan 1991 01:21:14 +0000 Richard M. Stallman Initial revision