/[PAMELA software]/DarthVader/src/DarthVader.cpp
ViewVC logotype

Diff of /DarthVader/src/DarthVader.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.40 by mocchiut, Fri Nov 28 09:05:28 2008 UTC revision 1.42 by pam-fi, Tue Nov 29 13:25:43 2011 UTC
# Line 547  int main(int numinp, char *inps[]){ Line 547  int main(int numinp, char *inps[]){
547      // If not in verbose mode redirect to /dev/null the stdout and stderr      // If not in verbose mode redirect to /dev/null the stdout and stderr
548      //      //
549      if ( !beverbose ){      if ( !beverbose ){
550        nul = open("/dev/null", O_CREAT | O_RDWR,S_IREAD | S_IWRITE);        nul = open("/dev/null", O_CREAT | O_RDWR,S_IRUSR | S_IWUSR);
551        dup2(nul,1);        dup2(nul,1);
552        dup2(nul,2);        dup2(nul,2);
553      };      };
# Line 839  int main(int numinp, char *inps[]){ Line 839  int main(int numinp, char *inps[]){
839      case -33:  message += " No AC in the acquisition"; break;      case -33:  message += " No AC in the acquisition"; break;
840      case -34:  message += " No S4 in the acquisition"; break;      case -34:  message += " No S4 in the acquisition"; break;
841      case -35:  message += " No ND in the acquisition"; break;      case -35:  message += " No ND in the acquisition"; break;
842        case -36:  message += " I/O error or missing entry"; break;
843      
844        //        //
845      case -50:  message += " GLTABLES - No entries matching GL_RUN query"; break;      case -50:  message += " GLTABLES - No entries matching GL_RUN query"; break;
846      case -51:  message += " GLTABLES - No entries matching GL_ROOT query"; break;      case -51:  message += " GLTABLES - No entries matching GL_ROOT query"; break;

Legend:
Removed from v.1.40  
changed lines
  Added in v.1.42

  ViewVC Help
Powered by ViewVC 1.1.23