[SCM] Gerris Flow Solver branch, upstream, updated. b3aa46814a06c9cb2912790b23916ffb44f1f203

Stephane Popinet s.popinet at niwa.co.nz
Fri May 15 02:51:58 UTC 2009


The following commit has been merged in the upstream branch:
commit c16be6cf19b5c351d55e243826737c5856d632eb
Author: Stephane Popinet <s.popinet at niwa.co.nz>
Date:   Mon Jun 13 15:42:21 2005 +1000

    cast fix for gfs2oogl
    
    darcs-hash:20050613054221-fbd8f-2fc1aead77ec6814d26b804812e0ab0eca2148da.gz

diff --git a/tools/gfs2oogl.c b/tools/gfs2oogl.c
index 8fa6320..db70647 100644
--- a/tools/gfs2oogl.c
+++ b/tools/gfs2oogl.c
@@ -863,7 +863,7 @@ int main (int argc, char * argv[])
       /* fall through */
     case 'C': /* cylinder */
       stream = fopen (optarg, "rt");
-      streamname = g_basename (optarg); 
+      streamname = g_strdup (g_basename (optarg));
       if (stream == NULL) {
 	fprintf (stderr, 
 		 "gfs2oogl: cannot open file `%s'\n"

-- 
Gerris Flow Solver



More information about the debian-science-commits mailing list