]> git.lyx.org Git - features.git/blobdiff - src/support/fs_extras.cpp
Whitespace cleanup
[features.git] / src / support / fs_extras.cpp
index 2dc84339c05cfa9de0954a03b859e7bef4484bbc..de2f2725141f6eddcc65bf6755bad8e81a8eaf8f 100644 (file)
@@ -109,9 +109,9 @@ void copy_file(path const & source, path const & target, bool noclobber)
                int err = errno;
                ::close(infile);
                boost::throw_exception(filesystem_path_error(
-                           "boost::filesystem::copy_file",
-                           source, target,
-                           fs::lookup_errno(err)));
+                          "boost::filesystem::copy_file",
+                          source, target,
+                          fs::lookup_errno(err)));
        }
 
        int const flags = O_WRONLY | O_CREAT | (noclobber ? O_EXCL : O_TRUNC);
@@ -148,8 +148,8 @@ void copy_file(path const & source, path const & target, bool noclobber)
 
        int err = errno;
 
-        ::close(infile);
-        ::close(outfile);
+       ::close(infile);
+       ::close(outfile);
 
        if (in == -1 || out == -1)
                boost::throw_exception(
@@ -173,4 +173,3 @@ void copy_file(path const & source, path const & target, bool noclobber)
 
 }
 }
-