X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fat-func2.c;h=b4d6067a57b8e9c9dc37999410dbed6c433fa1d6;hb=cd56634a4a8179fd5a4419fbb3e27211b042ab1c;hp=078d79bfbab41632e41eb382f7cf1ccd0808db75;hpb=8d8eda4eab3d2801251daf4eb31756c3595e2fc6;p=gnulib.git diff --git a/lib/at-func2.c b/lib/at-func2.c index 078d79bfb..b4d6067a5 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-2010 Free Software Foundation, Inc. +/* Define 2-FD at-style functions like linkat or renameat. + Copyright (C) 2006, 2009-2014 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); } }