ptserver: Rename ubik.c as ptubik.c

Coverity gets confused between ubik/ubik.c and ptserver/ubik.c,
and produces a load of false positives. Rename the ptserver ubik
shim (which is only used by pt_util) in order to reduce this
confusion.

Reviewed-on: http://gerrit.openafs.org/9273
Reviewed-by: Chas Williams - CONTRACTOR <chas@cmf.nrl.navy.mil>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
(cherry picked from commit daed548f70)

Change-Id: I834fab3b65859cb73ece3fc52d9272d0b7d452ed
Reviewed-on: http://gerrit.openafs.org/11012
Reviewed-by: Chas Williams - CONTRACTOR <chas@cmf.nrl.navy.mil>
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>
This commit is contained in:
Simon Wilkinson 2013-02-26 12:26:36 +00:00 committed by Stephan Wiesand
parent d5d8de1455
commit 2c37afa50f
4 changed files with 8 additions and 8 deletions

View File

@ -189,10 +189,10 @@ testpt: testpt.o libprot.a ${TOP_LIBDIR}/libcmd.a $(LIBS)
testpt.o: testpt.c ${INCLS} ${TOP_INCDIR}/afs/cmd.h AFS_component_version_number.c
pt_util: pt_util.o ptutils.o ubik.o utils.o map.o libprot.a $(LIBS)
$(CC) ${CFLAGS} -o pt_util pt_util.o ptutils.o ubik.o utils.o map.o libprot.a ${TOP_LIBDIR}/libcmd.a $(LIBS) ${XLIBS} ${KRB5_LIBS}
pt_util: pt_util.o ptutils.o ptubik.o utils.o map.o libprot.a $(LIBS)
$(CC) ${CFLAGS} -o pt_util pt_util.o ptutils.o ptubik.o utils.o map.o libprot.a ${TOP_LIBDIR}/libcmd.a $(LIBS) ${XLIBS} ${KRB5_LIBS}
ubik.o: ubik.c ${INCLS}
ptubik.o: ptubik.c ${INCLS}
prerror.h: pterror.h
${INSTALL_DATA} $? $@

View File

@ -102,7 +102,7 @@ PTCLIENT_EXEOBJS =\
PT_UTIL_EXEOBJS = \
$(OUT)\pt_util.obj \
$(OUT)\ptutils.obj \
$(OUT)\ubik.obj \
$(OUT)\ptubik.obj \
$(OUT)\utils.obj \
$(OUT)\map.obj \
$(OUT)\pt_util.res

View File

@ -202,14 +202,14 @@ testpt: testpt.o $(PTOBJS) ${TOP_LIBDIR}/libcmd.a $(LIBS)
testpt.o: ${PTSERVER}/testpt.c ${INCLS}
${CCRULE} ${srcdir}/${PTSERVER}/testpt.c
pt_util: pt_util.o ptutils.o ubik.o utils.o map.o $(PTOBJS) $(LIBS)
$(CC) ${CFLAGS} -o pt_util pt_util.o ptutils.o ubik.o utils.o map.o $(PTOBJS) ${TOP_LIBDIR}/libcmd.a $(LIBS) ${MT_LIBS} ${XLIBS} ${KRB5_LIBS}
pt_util: pt_util.o ptutils.o ptubik.o utils.o map.o $(PTOBJS) $(LIBS)
$(CC) ${CFLAGS} -o pt_util pt_util.o ptutils.o ptubik.o utils.o map.o $(PTOBJS) ${TOP_LIBDIR}/libcmd.a $(LIBS) ${MT_LIBS} ${XLIBS} ${KRB5_LIBS}
pt_util.o: ${PTSERVER}/pt_util.c
${CCRULE} ${srcdir}/${PTSERVER}/pt_util.c
ubik.o: ${PTSERVER}/ubik.c ${INCLS}
${CCRULE} ${srcdir}/${PTSERVER}/ubik.c
ptubik.o: ${PTSERVER}/ptubik.c ${INCLS}
${CCRULE} ${srcdir}/${PTSERVER}/ptubik.c
prerror.h: pterror.h
${INSTALL} $? $@