Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix typos [Arnaud Giersch]
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Fri, 1 Oct 2010 10:45:54 +0000 (10:45 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Fri, 1 Oct 2010 10:45:54 +0000 (10:45 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8311 48e7efb5-ca39-0410-a469-dd3cf9ba447f

src/bindings/lua/simgrid_lua.c
src/gras/Msg/rl_msg.c
src/surf/surf_routing.c
src/surf/surfxml_parse.c

index 678842f..cd9c316 100644 (file)
@@ -708,7 +708,7 @@ static int Host_set_function(lua_State *L) //(host,function,nb_args,list_args)
                        return 0;
                }
        }
-       ERROR1("Host : %s Not Fount !!",host_id);
+       ERROR1("Host : %s Not Found !!",host_id);
        return 1;
 }
 
index ff6769f..c09210a 100644 (file)
@@ -117,7 +117,7 @@ void gras_msg_recv(gras_socket_t sock, gras_msg_t msg)
     msg->kind = (e_gras_msg_kind_t) c_kind;
   }
   CATCH(e) {
-    RETHROW0("Exception caught while trying to get the mesage header: %s");
+    RETHROW0("Exception caught while trying to get the message header: %s");
   }
 
   for (cpt = 0; cpt < 4; cpt++)
index d33eb64..51ac317 100644 (file)
@@ -1535,7 +1535,7 @@ static void model_rulebased_set_ASroute(routing_component_t rc, const char* src,
 }
 
 static void model_rulebased_set_bypassroute(routing_component_t rc, const char* src, const char* dst, route_extended_t e_route) {
-  xbt_die("bypass routing not support for Route-Based model");
+  xbt_die("bypass routing not supported for Route-Based model");
 }
 
 #define BUFFER_SIZE 4096  /* result buffer size */
@@ -1828,7 +1828,7 @@ static void generic_set_processing_unit(routing_component_t rc, const char* name
           modeltype==&routing_models[SURF_MODEL_DIJKSTRACACHE])
     _to_index = ((routing_component_dijkstra_t)rc)->to_index;
   
-  else xbt_die("\"generic_set_processing_unit\" not support");
+  else xbt_die("\"generic_set_processing_unit\" not supported");
   *id = xbt_dict_length(_to_index);
   xbt_dict_set(_to_index,name,id,xbt_free);
 }
@@ -1848,7 +1848,7 @@ static void generic_set_autonomous_system(routing_component_t rc, const char* na
           modeltype==&routing_models[SURF_MODEL_DIJKSTRACACHE])
     _to_index = ((routing_component_dijkstra_t)rc)->to_index;
   
-  else xbt_die("\"generic_set_autonomous_system\" not support");
+  else xbt_die("\"generic_set_autonomous_system\" not supported");
   *id = xbt_dict_length(_to_index);
   xbt_dict_set(_to_index,name,id,xbt_free);
 }
@@ -1874,7 +1874,7 @@ static void generic_set_route(routing_component_t rc, const char* src, const cha
     _parse_routes = ((routing_component_dijkstra_t)rc)->parse_routes;
     _to_index = ((routing_component_dijkstra_t)rc)->to_index;
   
-  } else xbt_die("\"generic_set_route\" not support");
+  } else xbt_die("\"generic_set_route\" not supported");
 
   src_id = xbt_dict_get_or_null(_to_index, src);
   dst_id = xbt_dict_get_or_null(_to_index, dst);
@@ -1911,7 +1911,7 @@ static void generic_set_ASroute(routing_component_t rc, const char* src, const c
     _parse_routes = ((routing_component_dijkstra_t)rc)->parse_routes;
     _to_index = ((routing_component_dijkstra_t)rc)->to_index;
   
-  } else xbt_die("\"generic_set_route\" not support");
+  } else xbt_die("\"generic_set_route\" not supported");
   
   src_id = xbt_dict_get_or_null(_to_index, src);
   dst_id = xbt_dict_get_or_null(_to_index, dst);
@@ -1939,7 +1939,7 @@ static void generic_set_bypassroute(routing_component_t rc, const char* src, con
   } else if(modeltype==&routing_models[SURF_MODEL_DIJKSTRA]||
           modeltype==&routing_models[SURF_MODEL_DIJKSTRACACHE]) {
     dict_bypassRoutes = ((routing_component_dijkstra_t)rc)->bypassRoutes;
-  } else xbt_die("\"generic_set_bypassroute\" not support");
+  } else xbt_die("\"generic_set_bypassroute\" not supported");
   route_name = bprintf("%s#%s",src,dst);
   xbt_assert2(xbt_dynar_length(e_route->generic_route.link_list)>0, "Invalid count of links, must be greater than zero (%s,%s)",src,dst);
   xbt_assert4(!xbt_dict_get_or_null(dict_bypassRoutes,route_name),
@@ -1967,7 +1967,7 @@ static route_extended_t generic_get_bypassroute(routing_component_t rc, const ch
   } else if(modeltype==&routing_models[SURF_MODEL_DIJKSTRA]||
           modeltype==&routing_models[SURF_MODEL_DIJKSTRACACHE]) {
     dict_bypassRoutes = ((routing_component_dijkstra_t)rc)->bypassRoutes;
-  } else xbt_die("\"generic_set_bypassroute\" not support");
+  } else xbt_die("\"generic_set_bypassroute\" not supported");
  
 
   routing_component_t src_as, dst_as;
index 02f3bbf..aa49b3c 100644 (file)
@@ -571,7 +571,7 @@ void surf_wsL07_link_create_resource(char *name,
 
 void surf_add_route_element(char* link_ctn_id)
 {
-       xbt_die("\"surf_add_route_element\" not support");
+       xbt_die("\"surf_add_route_element\" not supported");
 //     char *val;
 //     val = xbt_strdup(link_ctn_id);
 //     xbt_dynar_push(route_link_list,&val);
@@ -581,7 +581,7 @@ void surf_add_route_element(char* link_ctn_id)
  */
 void surf_route_set_resource(char *source_id,char *destination_id,xbt_dynar_t links_id,int action)
 {
-       xbt_die("\"surf_route_set_resource\" not support");
+       xbt_die("\"surf_route_set_resource\" not supported");
        //route_link_list = xbt_dynar_new(sizeof(char *), NULL);
        //routing_add_route(source_id,destination_id,links_id,action);
 
@@ -592,7 +592,7 @@ void surf_route_set_resource(char *source_id,char *destination_id,xbt_dynar_t li
  */
 void surf_route_add_host(char *host_id)
 {
-       xbt_die("\"surf_route_add_host\" not support");
+       xbt_die("\"surf_route_add_host\" not supported");
        //routing_add_host(host_id);
 }
 
@@ -619,6 +619,6 @@ void surf_wsL07_add_traces(void)
  */
 void surf_set_routes(void)
 {
-       xbt_die("\"surf_set_routes\" not support");
+       xbt_die("\"surf_set_routes\" not supported");
        //routing_set_routes();
 }