extra semicolons removed; motif/release/bcore sources aligned
initialization of character buffers with strcpy;
no unsafe PATH settings;
unused variables removed
missing argument's type fixed
correct printf format for int data (gcc warning)