Mercurial > hg > octave-kai > gnulib-hg
view modules/renameat @ 16029:4d5243b3434e
renameat: Optimize code size.
* modules/renameat (configure.ac): Don't compile at-func2.c if
REPLACE_RENAMEAT is 1.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Fri, 04 Nov 2011 18:13:22 +0100 |
parents | 447e60e7b06e |
children | 9ca6cb4ce462 |
line wrap: on
line source
Description: renameat() function: rename a file, relative to two directories Files: lib/at-func2.c lib/renameat.c m4/renameat.m4 Depends-on: stdio extensions fcntl-h dosname [test $HAVE_RENAMEAT = 0 || test $REPLACE_RENAMEAT = 1] filenamecat-lgpl [test $HAVE_RENAMEAT = 0 || test $REPLACE_RENAMEAT = 1] fstat [test $HAVE_RENAMEAT = 0 || test $REPLACE_RENAMEAT = 1] getcwd-lgpl [test $HAVE_RENAMEAT = 0 || test $REPLACE_RENAMEAT = 1] openat [test $HAVE_RENAMEAT = 0 || test $REPLACE_RENAMEAT = 1] openat-die [test $HAVE_RENAMEAT = 0 || test $REPLACE_RENAMEAT = 1] rename [test $HAVE_RENAMEAT = 0 || test $REPLACE_RENAMEAT = 1] same-inode [test $HAVE_RENAMEAT = 0 || test $REPLACE_RENAMEAT = 1] save-cwd [test $HAVE_RENAMEAT = 0 || test $REPLACE_RENAMEAT = 1] configure.ac: gl_FUNC_RENAMEAT if test $HAVE_RENAMEAT = 0 || test $REPLACE_RENAMEAT = 1; then AC_LIBOBJ([renameat]) fi if test $HAVE_RENAMEAT = 0; then AC_LIBOBJ([at-func2]) fi gl_STDIO_MODULE_INDICATOR([renameat]) Makefile.am: Include: <fcntl.h> <stdio.h> License: GPL Maintainer: Jim Meyering, Eric Blake