From: Martin Quinson Date: Fri, 12 Feb 2016 21:39:43 +0000 (+0100) Subject: unrelated cosmetics X-Git-Tag: v3_13~848^2 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/0012af2fe54e316c010990ddf269246ef022d139?ds=sidebyside unrelated cosmetics --- diff --git a/src/surf/surf_routing.hpp b/src/surf/surf_routing.hpp index f5d541f4a6..e5eed86560 100644 --- a/src/surf/surf_routing.hpp +++ b/src/surf/surf_routing.hpp @@ -35,7 +35,7 @@ class RoutingPlatf; class NetCard { public: virtual ~NetCard(){}; - virtual int getId()=0; // Our rank in the vertices_ array of our englobing AS. + virtual int getId()=0; // Our rank in the vertices_ array of our container AS. virtual int *getIdPtr()=0; virtual void setId(int id)=0; virtual char *getName()=0; diff --git a/tools/internal/spell_comments.pl b/tools/internal/spell_comments.pl index 7ff91da032..c9659d33f6 100755 --- a/tools/internal/spell_comments.pl +++ b/tools/internal/spell_comments.pl @@ -15,7 +15,7 @@ use strict; use warnings; -die "Please install iamerican to use that script." +die "Please install iamerican to use that script.\n" unless (-r "/usr/lib/ispell/american.hash"); sub check_content($) { @@ -31,7 +31,7 @@ die "Call this script from its location or from the SimGrid root directory\n" un die "Usage: ". ($DICTFILE eq "./spell_dict.txt"? "./":"tools/internal/")."spell_comments.pl " ."`find ". ($DICTFILE eq "./spell_dict.txt"? "../../":".")." -name '*.[ch]' -o -name '*.hpp' -o -name '*.cpp' |grep -v umpire|grep -v smpi/mpich3-test|grep -v NAS`\n" - unless length(@ARGV)>1; + unless scalar(@ARGV)>1; my $total = 0; foreach my $file (@ARGV) {