Mercurial > gnulib
annotate modules/pread @ 17363:5a51fb7777a9
sys_select, sys_time: port 2013-01-30 Solaris 2.6 fix to Cygwin
Problem reported by Marco Atzeri in
<http://lists.gnu.org/archive/html/bug-gnulib/2013-03/msg00000.html>.
* lib/sys_select.in.h [HAVE_SYS_SELECT_H && _CYGWIN_SYS_TIME_H]:
Simply delegate to the system <sys/select.h> in this case too.
Also, pay attention to _GL_SYS_SELECT_H_REDIRECT_FROM_SYS_TIME_H only
if OSF/1, since otherwise Cygwin breaks, and it doesn't seem to
be needed on Solaris either.
* lib/sys_time.in.h [_CYGWIN_SYS_TIME_H]:
Simply delgate to the system <sys/time.h> in this case.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Tue, 19 Mar 2013 09:08:47 -0700 |
parents | 51231c56c0a1 |
children |
rev | line source |
---|---|
12355 | 1 Description: |
2 pread() function: read without changing file offset | |
3 | |
4 Files: | |
5 lib/pread.c | |
6 m4/pread.m4 | |
7 | |
8 Depends-on: | |
14683
efab6978105e
Avoid unnecessary compilation units, through conditional dependencies.
Bruno Haible <bruno@clisp.org>
parents:
14583
diff
changeset
|
9 unistd |
13596
3db59d862630
pread, pwrite: add missing dependency
Eric Blake <eblake@redhat.com>
parents:
12362
diff
changeset
|
10 extensions |
15474
51231c56c0a1
Add dependencies to the 'largefile' module.
Paul Eggert <eggert@cs.ucla.edu>
parents:
15063
diff
changeset
|
11 largefile |
14683
efab6978105e
Avoid unnecessary compilation units, through conditional dependencies.
Bruno Haible <bruno@clisp.org>
parents:
14583
diff
changeset
|
12 lseek [test $HAVE_PREAD = 0 || test $REPLACE_PREAD = 1] |
efab6978105e
Avoid unnecessary compilation units, through conditional dependencies.
Bruno Haible <bruno@clisp.org>
parents:
14583
diff
changeset
|
13 read [test $HAVE_PREAD = 0 || test $REPLACE_PREAD = 1] |
12355 | 14 |
15 configure.ac: | |
16 gl_FUNC_PREAD | |
15063
98b3afcd33e1
pread: Move AC_LIBOBJ invocations to module description.
Bruno Haible <bruno@clisp.org>
parents:
14683
diff
changeset
|
17 if test $HAVE_PREAD = 0 || test $REPLACE_PREAD = 1; then |
98b3afcd33e1
pread: Move AC_LIBOBJ invocations to module description.
Bruno Haible <bruno@clisp.org>
parents:
14683
diff
changeset
|
18 AC_LIBOBJ([pread]) |
98b3afcd33e1
pread: Move AC_LIBOBJ invocations to module description.
Bruno Haible <bruno@clisp.org>
parents:
14683
diff
changeset
|
19 fi |
12355 | 20 gl_UNISTD_MODULE_INDICATOR([pread]) |
21 | |
22 Makefile.am: | |
23 | |
24 Include: | |
25 <unistd.h> | |
26 | |
27 License: | |
28 LGPLv2+ | |
29 | |
30 Maintainer: | |
31 Jim Meyering |