Below is the list of changes that have just been committed into a local
5.0 repository of msvensson. When msvensson 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
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html
ChangeSet@stripped, 2006-07-26 16:00:11+02:00, msvensson@neptunus.(none) +1 -0
Bug#16576 Patch to compile on GNU/Hurd (ps check in configure)
- Thanks to Christian Hammers for the patch
configure.in@stripped, 2006-07-26 16:00:09+02:00, msvensson@neptunus.(none) +1 -1
The configure check on how to run ps to get mysqld's $PID does not
work on the Hurd, as the PPID is prepended with a - for login shells,
thus making grep look for -bash, which it complains as an invalid
argument. Filtering out '-' from the ps output makes this work fine.
# 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: msvensson
# Host: neptunus.(none)
# Root: /home/msvensson/mysql/my50-m-bug16576
--- 1.394/configure.in 2006-07-26 16:00:16 +02:00
+++ 1.395/configure.in 2006-07-26 16:00:16 +02:00
@@ -454,7 +454,7 @@ AC_PATH_PROG(PS, ps, ps)
AC_MSG_CHECKING("how to check if pid exists")
PS=$ac_cv_path_PS
# Linux style
-if $PS p $$ 2> /dev/null | grep $0 > /dev/null
+if $PS p $$ 2> /dev/null | grep `echo $0 | sed s/\-//` > /dev/null
then
FIND_PROC="$PS p \$\$PID | grep -v grep | grep \$\$MYSQLD > /dev/null"
# Solaris
| Thread |
|---|
| • bk commit into 5.0 tree (msvensson:1.2240) BUG#16576 | msvensson | 26 Jul |