Revision 4c80bc6f4da40d4d8e9f91eff0be0549d3ed8cec authored by Fons Rademakers on 25 June 2004, 23:12:51 UTC, committed by Fons Rademakers on 25 June 2004, 23:12:51 UTC
1) TUnixSystem::TempFileName uses TUnixSystem::ConcatFileName. ConcatFileName
returns a string which is suppose to be deleted. TempFileName just set a
TString equal to it and doesn't delete the returned string.

2) TAuthenticate (non-default) constructor makes the variable "sproto" (with
StrDup), eventually setting the TString fProtocol equal to it, but never
deletes sproto.

3) TAuthenticate::ReadRootAuthrc defines "char* authrc". There are numerous
ways to leave this function without deleting authrc or setting authrc to
something else without deleting the previous contents.


git-svn-id: http://root.cern.ch/svn/root/trunk@9328 27541ba8-7e3a-0410-8455-c3a389f83636
1 parent 9630762
Raw File
make_event_par.sh
#! /bin/sh
#
# Make the event.par file to be used to analyse Event objects with PROOF.
#
# Usage: sh make_event_par.sh
#
# Creates the PAR file "event.par" which can be used in PROOF via the
# package manager like:
#   gProof->UploadPackage("event.par")
#   gProof->EnablePackage("event")
#
# Command to check that package is active and that libEvent.so is loaded:
#   gProof->ShowPackages()
#   gProof->ShowEnabledPackages()
#   gProof->Exec("gSystem->ListLibraries()")
#

EDIR=event

mkdir $EDIR
cp Event.cxx Event.h EventLinkDef.h Makefile Makefile.arch $EDIR
mkdir $EDIR/PROOF-INF
cd $EDIR/PROOF-INF

cat > BUILD.sh <<EOF
#! /bin/sh

make libEvent.so
EOF

cat > SETUP.C <<EOF
void SETUP()
{
   gSystem->Load("libEvent");
}
EOF

chmod 755 BUILD.sh

cd ../..

tar zcvf event.par $EDIR

rm -rf event

exit 0
back to top