X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fat-func2.c;h=da691fef2273151cd88c9d8ab61f7e913b40054a;hb=fa11421b5098e20c33003e3f3375b830524c717a;hp=e3cfc7fddef994f1c0e9be1ea17697180919f420;hpb=d2ce0449310435ff3ae29a08f74c21a961bd5e56;p=gnulib.git diff --git a/lib/at-func2.c b/lib/at-func2.c index e3cfc7fdd..da691fef2 100644 --- a/lib/at-func2.c +++ b/lib/at-func2.c @@ -1,5 +1,5 @@ /* Define an at-style functions like linkat or renameat. - Copyright (C) 2006, 2009 Free Software Foundation, Inc. + Copyright (C) 2006, 2009-2011 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -25,7 +25,7 @@ #include #include -#include "dirname.h" /* solely for definition of IS_ABSOLUTE_FILE_NAME */ +#include "dosname.h" /* solely for definition of IS_ABSOLUTE_FILE_NAME */ #include "filenamecat.h" #include "openat.h" #include "same-inode.h" @@ -110,7 +110,7 @@ at_func2 (int fd1, char const *file1, } } else if (proc_file1 != proc_buf1 && proc_file1 != file1) - free (proc_buf1); + free (proc_file1); } }