]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/lib/berrno.h
kes Correctly detect Ubuntu systems, and add ubuntu platform directory.
[bacula/bacula] / bacula / src / lib / berrno.h
index 9ba879616080e9a05378a3370abb03ec765c1583..039f93063d256f1be67194e1f7a6e0efdea87207 100644 (file)
@@ -7,8 +7,8 @@
    many others, a complete list can be found in the file AUTHORS.
    This program is Free Software; you can redistribute it and/or
    modify it under the terms of version two of the GNU General Public
-   License as published by the Free Software Foundation plus additions
-   that are listed in the file LICENSE.
+   License as published by the Free Software Foundation and included
+   in the file LICENSE.
 
    This program is distributed in the hope that it will be useful, but
    WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -78,6 +78,7 @@ inline berrno::berrno(int pool)
 #ifdef HAVE_WIN32
    format_win32_message();
 #endif
+   errno = m_berrno;
 }
 
 inline berrno::~berrno()