List:Commits« Previous MessageNext Message »
From:ramil Date:December 19 2005 12:25pm
Subject:bk commit into 5.1 tree (ramil:1.1980) BUG#15841
View as plain text  
Below is the list of changes that have just been committed into a local
5.1 repository of ram. When ram does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository

  1.1980 05/12/19 16:25:15 ramil@stripped +1 -0
  Fix for bug #15841: Change in and mmap breaks on HP-UX

    1.119 05/12/19 16:25:05 ramil@stripped +3 -0
    Fix for bug #15841: Change in and mmap breaks on HP-UX
    - in order to enable the mmap64() (and others) define 
    _LARGEFILE64_SOURCE in case of _LARGEFILE_SOURCE defined on HPUX.

# This is a BitKeeper patch.  What follows are the unified diffs for the
# set of deltas contained in the patch.  The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User:	ramil
# Host:
# Root:	/usr/home/ram/work/mysql-5.1-new

--- 1.118/include/my_global.h	2005-12-06 21:50:13 +04:00
+++ 1.119/include/my_global.h	2005-12-19 16:25:05 +04:00
@@ -415,6 +415,9 @@ C_MODE_END
 #include <assert.h>
 /* Go around some bugs in different OS and compilers */
+#if defined (HPUX11) && defined(_LARGEFILE_SOURCE)
 #if defined(_HPUX_SOURCE) && defined(HAVE_SYS_STREAM_H)
 #include <sys/stream.h>		/* HPUX 10.20 defines ulong here. UGLY !!! */
 #define HAVE_ULONG
bk commit into 5.1 tree (ramil:1.1980) BUG#15841ramil19 Dec