X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fcareadlinkat.c;h=cd4aa846dcaac99ae3016a059bc33df78f2505ef;hb=150ce1bef700d6a3e56861c3a316da64be93d880;hp=6e4aa1395ff06057f4352865248b688d65dc6ccf;hpb=686069051add46d5c552f4e34e005d49cad43529;p=gnulib.git diff --git a/lib/careadlinkat.c b/lib/careadlinkat.c index 6e4aa1395..cd4aa846d 100644 --- a/lib/careadlinkat.c +++ b/lib/careadlinkat.c @@ -1,6 +1,6 @@ /* Read symbolic links into a buffer without size limitation, relative to fd. - Copyright (C) 2001, 2003-2004, 2007, 2009-2011 Free Software Foundation, + Copyright (C) 2001, 2003-2004, 2007, 2009-2012 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify @@ -39,7 +39,6 @@ #include "allocator.h" -#if ! HAVE_READLINKAT /* Get the symbolic link value of FILENAME and put it into BUFFER, with size BUFFER_SIZE. This function acts like readlink but has readlinkat's signature. */ @@ -53,7 +52,6 @@ careadlinkatcwd (int fd, char const *filename, char *buffer, abort (); return readlink (filename, buffer, buffer_size); } -#endif /* Assuming the current directory is FD, get the symbolic link value of FILENAME as a null-terminated string and put it into a buffer.