]> git.sur5r.net Git - bacula/bacula/commitdiff
Integrate most of the MinGW changes -- more to do.
authorKern Sibbald <kern@sibbald.com>
Sat, 22 Apr 2006 09:13:07 +0000 (09:13 +0000)
committerKern Sibbald <kern@sibbald.com>
Sat, 22 Apr 2006 09:13:07 +0000 (09:13 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@2957 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/kes-1.39
bacula/src/lib/bsys.c
bacula/src/version.h

index e4cfdb04f185520dd7cbfef33d14cc67f226d73a..6e80941f73bd7298ed0bd8912dd0a230cc218b5b 100644 (file)
@@ -2,6 +2,8 @@
                         Kern Sibbald
 
 General:
+22Apr06
+- Integrate most of the MinGW changes -- more to do.
 21Apr06
 - Implement using pg_config for finding PostgreSQL files.
   Fixes bug #600. Patch supplied by user.
index c620740a5a59d6881affb1e786d3a1f85957e4dc..548ab97b2a6fbdb4ba562230f641f709ada893cd 100644 (file)
@@ -183,7 +183,8 @@ void *bmalloc(size_t size)
 
   buf = malloc(size);
   if (buf == NULL) {
-     Emsg1(M_ABORT, 0, _("Out of memory: ERR=%s\n"), strerror(errno));
+     berrno be;
+     Emsg1(M_ABORT, 0, _("Out of memory: ERR=%s\n"), be.strerror());
   }
   return buf;
 }
@@ -199,7 +200,8 @@ void *b_malloc(const char *file, int line, size_t size)
   buf = malloc(size);
 #endif
   if (buf == NULL) {
-     e_msg(file, line, M_ABORT, 0, _("Out of memory: ERR=%s\n"), strerror(errno));
+     berrno be;
+     e_msg(file, line, M_ABORT, 0, _("Out of memory: ERR=%s\n"), be.strerror());
   }
   return buf;
 }
@@ -209,7 +211,8 @@ void *brealloc (void *buf, size_t size)
 {
    buf = realloc(buf, size);
    if (buf == NULL) {
-      Emsg1(M_ABORT, 0, _("Out of memory: ERR=%s\n"), strerror(errno));
+      berrno be;
+      Emsg1(M_ABORT, 0, _("Out of memory: ERR=%s\n"), be.strerror());
    }
    return buf;
 }
@@ -221,7 +224,8 @@ void *bcalloc (size_t size1, size_t size2)
 
    buf = calloc(size1, size2);
    if (buf == NULL) {
-      Emsg1(M_ABORT, 0, _("Out of memory: ERR=%s\n"), strerror(errno));
+      berrno be;
+      Emsg1(M_ABORT, 0, _("Out of memory: ERR=%s\n"), be.strerror());
    }
    return buf;
 }
index d69c8365620a94a042f376020d4bdc03b0a601c7..703fd04794797a63c4acf2e3770a68577bc0ae1a 100644 (file)
@@ -4,8 +4,8 @@
 
 #undef  VERSION
 #define VERSION "1.39.9"
-#define BDATE   "21 April 2006"
-#define LSMDATE "21Apr06"
+#define BDATE   "22 April 2006"
+#define LSMDATE "22Apr06"
 
 /* Debug flags */
 #undef  DEBUG