From 44f391624feda9cd256180cfe8a8caf6701774ec Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Mon, 26 Jan 2009 12:31:52 +0000
Subject: [PATCH] fix crash (printf int with %s!)

---
 Fltk/fieldWindow.cpp  |  2 +-
 doc/VERSIONS.txt      |  4 +++-
 doc/texinfo/gmsh.texi | 17 +++++++++--------
 3 files changed, 13 insertions(+), 10 deletions(-)

diff --git a/Fltk/fieldWindow.cpp b/Fltk/fieldWindow.cpp
index 12500f1c78..e00f8b766b 100644
--- a/Fltk/fieldWindow.cpp
+++ b/Fltk/fieldWindow.cpp
@@ -250,7 +250,7 @@ void fieldWindow::saveFieldOptions()
           if(istream >> a){
             if(a != ',')
               Msg::Error("Unexpected character \'%c\' while parsing option "
-                         "'%s' of field \'%s\'", a, it->first.c_str(), f->id);
+                         "'%s' of field \'%d\'", a, it->first.c_str(), f->id);
             sstream << ", ";
           }
         }
diff --git a/doc/VERSIONS.txt b/doc/VERSIONS.txt
index 7c740b286b..73e61115e1 100644
--- a/doc/VERSIONS.txt
+++ b/doc/VERSIONS.txt
@@ -1,4 +1,6 @@
-$Id: VERSIONS.txt,v 1.33 2009-01-23 07:56:41 geuzaine Exp $
+$Id: VERSIONS.txt,v 1.34 2009-01-26 12:31:51 geuzaine Exp $
+
+2.3.1 (?): new per-window visibility.
 
 2.3.0 (Jan 23, 2009): major graphics and GUI code refactoring; new
 full-quad/hexa subdivision algorithm (removed Mesh.RecombineAlgo);
diff --git a/doc/texinfo/gmsh.texi b/doc/texinfo/gmsh.texi
index f03453c09e..5acfdc6718 100644
--- a/doc/texinfo/gmsh.texi
+++ b/doc/texinfo/gmsh.texi
@@ -2489,14 +2489,15 @@ zero (e.g., @code{Solver.ClientServer0 = 0}). This doesn't require any
 modification to be made to the solver.
 
 If you want the solver to interact with Gmsh (for error messages, option
-definitions, post-processing, etc.), you need to link your solver with the
-@file{GmshClient.c} file and add the appropriate function calls inside your
-program. You can then proceed as in the previous case, but this time you
-should set the client-server option to 1 (e.g., @code{Solver.ClientServer0 =
-1}), so that Gmsh and the solver can communicate through a Unix socket. See
-@ref{Solver example}, for an example of how to interface a C++
-solver. Bindings for solvers written in other languages (C, Perl and Python)
-are available in the source distribution.
+definitions, post-processing, etc.), you need to include
+@file{GmshSocket.h} in your code and add the appropriate function calls
+inside your program. You can then proceed as in the previous case, but
+this time you should set the client-server option to 1 (e.g.,
+@code{Solver.ClientServer0 = 1}), so that Gmsh and the solver can
+communicate through a Unix socket. See @ref{Solver example}, for an
+example of how to interface a C++ solver. Bindings for solvers written
+in other languages (C, Perl and Python) are available in the source
+distribution.
 
 @menu
 * Solver options::              
-- 
GitLab