Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
unrelated cosmetics
authorMartin Quinson <martin.quinson@loria.fr>
Fri, 12 Feb 2016 21:39:43 +0000 (22:39 +0100)
committerMartin Quinson <martin.quinson@loria.fr>
Fri, 12 Feb 2016 21:39:43 +0000 (22:39 +0100)
src/surf/surf_routing.hpp
tools/internal/spell_comments.pl

index f5d541f..e5eed86 100644 (file)
@@ -35,7 +35,7 @@ class RoutingPlatf;
 class NetCard {
 public:
   virtual ~NetCard(){};
 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;
   virtual int *getIdPtr()=0;
   virtual void setId(int id)=0;
   virtual char *getName()=0;
index 7ff91da..c9659d3 100755 (executable)
@@ -15,7 +15,7 @@
 use strict;
 use warnings;
 
 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($) {
   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"
 
 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) {
 
 my $total = 0;
 foreach my $file (@ARGV) {