X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=gnu%2Fgetcwd.c;h=db5279dba10a1eac065cc484ca0c1a8d97658db5;hb=d30babc23b4f25be970ada2e63a50220a3672281;hp=e8f371e6e4394c2008db49a38698839947729d58;hpb=4aa85f09e755fc827cd5ab6225f20c83cd42245d;p=debian%2Ftar diff --git a/gnu/getcwd.c b/gnu/getcwd.c index e8f371e6..db5279db 100644 --- a/gnu/getcwd.c +++ b/gnu/getcwd.c @@ -1,6 +1,4 @@ -/* -*- buffer-read-only: t -*- vi: set ro: */ -/* DO NOT EDIT! GENERATED AUTOMATICALLY! */ -/* Copyright (C) 1991-1999, 2004-2014 Free Software Foundation, Inc. +/* Copyright (C) 1991-1999, 2004-2015 Free Software Foundation, Inc. This file is part of the GNU C Library. This program is free software: you can redistribute it and/or modify @@ -95,8 +93,12 @@ FIXME - if the kernel ever adds support for multi-thread safety for avoiding standard fds, then we should use opendir_safer and openat_safer. */ -#undef opendir -#undef closedir +#ifdef GNULIB_defined_opendir +# undef opendir +#endif +#ifdef GNULIB_defined_closedir +# undef closedir +#endif /* Get the name of the current working directory, and put it in SIZE bytes of BUF. Returns NULL if the directory couldn't be determined or