Mercurial > gnulib
comparison modules/careadlinkat @ 17324:b1b7de2c4a71
careadlinkat: stop exporting careadlinkatcwd
Only Emacs used it directly, and Emacs no longer needs it.
* NEWS: Document this simplification.
* lib/areadlink.c (careadlinkatcwd): Move here from careadlinkat.c,
and make it static. Include <stdlib.h>, for abort, and unistd.h,
for readlink.
* lib/careadlinkat.c (careadlinkatcwd): Move to areadlink.c.
Don't include stdlib.h; no longer needed.
* lib/careadlinkat.h (careadlinkatcwd): Remove decl.
* lib/relocwrapper.c: Adjust comment to match new dependencies.
* modules/areadlink (Depends-on): Add readlink.
(Maintainer): Add self.
* modules/careadlinkat (Depends-on): Remove readlink.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Fri, 08 Feb 2013 15:12:36 -0800 |
parents | f87295656694 |
children | 1f14c6dd175d |
comparison
equal
deleted
inserted
replaced
17323:6c93ff5bc2bd | 17324:b1b7de2c4a71 |
---|---|
5 lib/careadlinkat.c | 5 lib/careadlinkat.c |
6 lib/careadlinkat.h | 6 lib/careadlinkat.h |
7 | 7 |
8 Depends-on: | 8 Depends-on: |
9 allocator | 9 allocator |
10 readlink | |
11 ssize_t | 10 ssize_t |
12 unistd | 11 unistd |
13 | 12 |
14 configure.ac: | 13 configure.ac: |
15 AC_CHECK_FUNCS_ONCE([readlinkat]) | 14 AC_CHECK_FUNCS_ONCE([readlinkat]) |