diff options
| author | Joakim Verona | 2013-03-06 00:04:01 +0100 |
|---|---|---|
| committer | Joakim Verona | 2013-03-06 00:04:01 +0100 |
| commit | 79157e99328fb1d835985dfa89fc2a2fa427d077 (patch) | |
| tree | ac0e5a6a03089e3d6352cb3311510cfac0b7d051 /src/ChangeLog | |
| parent | 15cb771195328913a9c24467db7e373acb92a769 (diff) | |
| parent | 707431575aef93ac3e9923d450a6cbf18192c933 (diff) | |
| download | emacs-79157e99328fb1d835985dfa89fc2a2fa427d077.tar.gz emacs-79157e99328fb1d835985dfa89fc2a2fa427d077.zip | |
auto upstream
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 76 |
1 files changed, 76 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 08fd647074f..af03fa54291 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,79 @@ | |||
| 1 | 2013-03-05 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | FILE's lock is now always .#FILE and may be a regular file (Bug#13807). | ||
| 4 | * filelock.c: Include <c-ctype.h>. | ||
| 5 | (MAX_LFINFO): New top-level constant. | ||
| 6 | (lock_info_type): Remove members pid, boot_time. Add members at, | ||
| 7 | dot, colon. Change user member to be the entire buffer, not a | ||
| 8 | pointer. This allows us to handle the case where a foreign | ||
| 9 | pid or boot time exceeds the local range. All uses changed. | ||
| 10 | (LINKS_MIGHT_NOT_WORK): New constant. | ||
| 11 | (FREE_LOCK_INFO): Remove, as the pieces no longer need freeing. | ||
| 12 | (defined_WINDOWSNT): Remove. | ||
| 13 | (MAKE_LOCK_NAME, file_in_lock_file_name): | ||
| 14 | Always use .#FILE (not .#-FILE) for the file lock, | ||
| 15 | even if it is a regular file. | ||
| 16 | (rename_lock_file): New function. | ||
| 17 | (create_lock_file): Use it. | ||
| 18 | (create_lock_file, read_lock_data): | ||
| 19 | Prefer a symbolic link for the lock file, falling back on a | ||
| 20 | regular file if symlinks don't work. Do not try to create | ||
| 21 | symlinks on MS-Windows, due to security hassles. Stick with | ||
| 22 | POSIXish functions (open, read, write, close, fchmod, readlink, symlink, | ||
| 23 | link, rename, unlink, mkstemp) when creating locks, as a GNUish | ||
| 24 | host may be using a Windowsish file system, and cannot use | ||
| 25 | MS-Windows-only system calls. Fall back on mktemp if mkstemp | ||
| 26 | doesn't work. Don't fail merely because of a symlink-contents | ||
| 27 | length limit in the current file system; fall back on regular | ||
| 28 | files. Increase the symlink contents length limit to 8 KiB, this | ||
| 29 | should be big enough for any real use and doesn't crunch the | ||
| 30 | stack. | ||
| 31 | (create_lock_file, lock_file_1, read_lock_data): | ||
| 32 | Simplify allocation of lock file buffers now that they fit in 8 KiB. | ||
| 33 | (lock_file_1): Return error number, not bool. All callers changed. | ||
| 34 | (ELOOP): New macro, if not already defined. | ||
| 35 | (read_lock_data): Return size of lock file contents, not Lisp object. | ||
| 36 | All callers changed. Handle a race condition if some other process | ||
| 37 | replaces a regular-file lock with a symlink lock or vice versa, | ||
| 38 | while we're trying to read the lock. | ||
| 39 | (current_lock_owner): Parse contents more carefully, to help avoid | ||
| 40 | confusing a regular-file lock with some other application's use | ||
| 41 | of the file. Check for lock file contents being too long, or | ||
| 42 | not parsing correctly. | ||
| 43 | (current_lock_owner, lock_file): | ||
| 44 | Allow foreign pid and boot times that exceed the local range. | ||
| 45 | (current_lock_owner, lock_if_free, lock_file): | ||
| 46 | Simplify allocation of lock file contents. | ||
| 47 | * w32.c (sys_rename_replace): New function, containing most of | ||
| 48 | the contents of the old sys_rename. | ||
| 49 | (sys_rename): Use it. | ||
| 50 | (fchmod): New dummy function. | ||
| 51 | * w32.h (sys_rename_replace, fchmod): New decls. | ||
| 52 | |||
| 53 | 2013-03-05 Eli Zaretskii <eliz@gnu.org> | ||
| 54 | |||
| 55 | * bidi.c (bidi_resolve_explicit_1): Don't call CHAR_TO_BYTE or | ||
| 56 | bidi_count_bytes, as the callers now arrange for bidi_it->charpos | ||
| 57 | to be in sync with bidi_it->bytepos. Suggested by Dmitry Antipov | ||
| 58 | <dmantipov@yandex.ru>. | ||
| 59 | |||
| 60 | 2013-03-05 Paul Eggert <eggert@cs.ucla.edu> | ||
| 61 | |||
| 62 | Fix a build failure on OpenBSD 4.x and MirBSD. | ||
| 63 | * sysdep.c (KERN_PROC, kinfo_proc) | ||
| 64 | [BSD_SYSTEM && (!KERN_PROC || __MirBSD__)]: | ||
| 65 | Define to KERN_PROC2 and kinfo_proc2, for OpenBSD 4.9 and MirBSD. | ||
| 66 | list-system-processes still returns nil, but at least it doesn't crash. | ||
| 67 | Problem reported by Nelson H. F. Beebe in | ||
| 68 | <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00021.html>. | ||
| 69 | |||
| 70 | 2013-03-05 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 71 | |||
| 72 | * composite.c (get_composition_id, fill_gstring_header): | ||
| 73 | Use make_uninit_vector where appropriate. | ||
| 74 | * font.c (Ffont_get_glyphs, build_style_table): Likewise. | ||
| 75 | * xselect.c (clean_local_selection_data): Likewise. | ||
| 76 | |||
| 1 | 2013-03-04 Paul Eggert <eggert@cs.ucla.edu> | 77 | 2013-03-04 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 78 | ||
| 3 | Fix misuse of ImageMagick that caused core dump (Bug#13846). | 79 | Fix misuse of ImageMagick that caused core dump (Bug#13846). |