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
Module.mk
# Module.mk for utils module
# Copyright (c) 2000 Rene Brun and Fons Rademakers
#
# Author: Fons Rademakers, 29/2/2000
MODDIR := utils
MODDIRS := $(MODDIR)/src
MODDIRI := $(MODDIR)/inc
UTILSDIR := $(MODDIR)
UTILSDIRS := $(UTILSDIR)/src
UTILSDIRI := $(UTILSDIR)/inc
##### rootcint #####
ROOTCINTS := $(MODDIRS)/rootcint.cxx $(wildcard $(MODDIRS)/R*.cxx)
ROOTCINTO := $(ROOTCINTS:.cxx=.o)
ROOTCINTDEP := $(ROOTCINTO:.o=.d)
ROOTCINTTMPO := $(ROOTCINTS:.cxx=_tmp.o)
ROOTCINTTMP := $(MODDIRS)/rootcint_tmp$(EXEEXT)
ROOTCINT := bin/rootcint$(EXEEXT)
##### rlibmap #####
RLIBMAPS := $(MODDIRS)/rlibmap.cxx
RLIBMAPO := $(RLIBMAPS:.cxx=.o)
RLIBMAPDEP := $(RLIBMAPO:.o=.d)
RLIBMAP := bin/rlibmap$(EXEEXT)
# include all dependency files
INCLUDEFILES += $(ROOTCINTDEP) $(RLIBMAPDEP)
##### local rules #####
$(ROOTCINT): $(CINTLIB) $(ROOTCINTO) $(METAUTILSO) $(MAKEINFO) $(IOSENUM)
$(LD) $(LDFLAGS) -o $@ $(ROOTCINTO) $(METAUTILSO) \
$(RPATH) $(CINTLIBS) $(CILIBS)
$(ROOTCINTTMP): $(CINTTMPO) $(ROOTCINTTMPO) $(METAUTILSO) $(MAKEINFO) $(IOSENUM)
$(LD) $(LDFLAGS) -o $@ \
$(ROOTCINTTMPO) $(METAUTILSO) $(CINTTMPO) $(CILIBS)
$(RLIBMAP): $(RLIBMAPO)
ifneq ($(PLATFORM),win32)
$(LD) $(LDFLAGS) -o $@ $<
else
$(LD) $(LDFLAGS) -o $@ $< imagehlp.lib
endif
all-utils: $(ROOTCINTTMP) $(ROOTCINT) $(RLIBMAP)
clean-utils:
@rm -f $(ROOTCINTTMPO) $(ROOTCINTO) $(RLIBMAPO)
clean:: clean-utils
distclean-utils: clean-utils
@rm -f $(ROOTCINTDEP) $(ROOTCINTTMP) $(ROOTCINT) \
$(RLIBMAPDEP) $(RLIBMAP) \
$(UTILSDIRS)/*.exp $(UTILSDIRS)/*.lib
distclean:: distclean-utils
##### extra rules ######
$(UTILSDIRS)%_tmp.o: $(UTILSDIRS)%.cxx
$(CXX) $(OPT) $(CXXFLAGS) -UHAVE_CONFIG -DROOTBUILD -c $< -o $@
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...