Skip to content
Snippets Groups Projects
Commit 011c3657 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

old comment
parent aa2f8d26
No related branches found
No related tags found
No related merge requests found
%{ %{
// $Id: Gmsh.y,v 1.174 2004-07-02 02:40:47 geuzaine Exp $ // $Id: Gmsh.y,v 1.175 2004-08-27 18:06:20 geuzaine Exp $
// //
// Copyright (C) 1997-2004 C. Geuzaine, J.-F. Remacle // Copyright (C) 1997-2004 C. Geuzaine, J.-F. Remacle
// //
...@@ -2445,10 +2445,13 @@ Command : ...@@ -2445,10 +2445,13 @@ Command :
if(!strcmp($1, "Include")){ if(!strcmp($1, "Include")){
char tmpstring[1024]; char tmpstring[1024];
FixRelativePath($2, tmpstring); FixRelativePath($2, tmpstring);
// Warning: we *don't* close included files. If you need to // Warning: we *don't* close included files (to allow user
// include many files, use "Merge" instead: some OSes limit // functions in these files). If you need to include many many
// the number of files a process can open simultaneously (500 // files and don't have functions in the files, use "Merge"
// for OS X) // instead: some OSes limit the number of files a process can
// open simultaneously. The right solution would be of course
// to modify FunctionManager to reopen the files instead of
// using the FILE pointer, but hey, I'm lazy...
ParseFile(tmpstring, 0, 0, 1); ParseFile(tmpstring, 0, 0, 1);
} }
else if(!strcmp($1, "Print")){ else if(!strcmp($1, "Print")){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment