view modules/pwrite @ 17305:0e5a583a2a8d

regex: test for buffer overrun * m4/regex.m4 (gl_REGEX): Add test case, by Andreas Schwab, for the just-fixed regex bug.
author Paul Eggert <eggert@cs.ucla.edu>
date Tue, 29 Jan 2013 22:34:58 -0800
parents 51231c56c0a1
children
line wrap: on
line source

Description:
pwrite() function: write without changing file offset

Files:
lib/pwrite.c
m4/pwrite.m4

Depends-on:
unistd
extensions
largefile
lseek           [test $HAVE_PWRITE = 0 || test $REPLACE_PWRITE = 1]
write           [test $HAVE_PWRITE = 0 || test $REPLACE_PWRITE = 1]

configure.ac:
gl_FUNC_PWRITE
if test $HAVE_PWRITE = 0 || test $REPLACE_PWRITE = 1; then
  AC_LIBOBJ([pwrite])
fi
gl_UNISTD_MODULE_INDICATOR([pwrite])

Makefile.am:

Include:
<unistd.h>

License:
LGPLv2+

Maintainer:
Peter O'Gorman