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

Stephane Popinet popinet at users.sf.net
Fri May 15 02:54:29 UTC 2009


The following commit has been merged in the upstream branch:
commit 0ca2af0788f7565bca49d6f8e988762d9b0317e1
Author: Stephane Popinet <popinet at users.sf.net>
Date:   Wed Aug 22 10:43:09 2007 +1000

    Ignore white spaces at the start of a parameter file
    
    darcs-hash:20070822004309-d4795-10ba72ffef40695d9b68c19a43d3aa8f41455a0e.gz

diff --git a/src/simulation.c b/src/simulation.c
index dafd247..df717eb 100644
--- a/src/simulation.c
+++ b/src/simulation.c
@@ -905,6 +905,9 @@ GfsSimulation * gfs_simulation_read (GtsFile * fp)
 
   g_return_val_if_fail (fp != NULL, NULL);
 
+  while (fp->type == '\n')
+     gts_file_next_token (fp);
+
   d = gfs_domain_read (fp);
   if (d != NULL && !GFS_IS_SIMULATION (d)) {
     gts_file_error (fp, "parent graph is not a GfsSimulation");

-- 
Gerris Flow Solver



More information about the debian-science-commits mailing list