API = api/r02.1 ;
C++FLAGS = -g -D_GNU_SOURCE ;
LINK = c++ ;
OPTIM = ;
OSINFO = $(OS)$(OSVER:E)$(OSPLAT:E) ;
LOCATE_TARGET = ../bin.$(OSINFO:L) ;
switch $(OSINFO)
{
case SOLARIS26 :
LINKLIBS = -lsocket -lnsl ;
}
Main setmapstate : setmapstate.cc ;
ObjectHdrs setmapstate : $(API) ;
LinkLibraries setmapstate : $(API)/libclient.a $(API)/librpc.a $(API)/libsupp.a ;
| # | Change | User | Description | Committed | |
|---|---|---|---|---|---|
| #1 | 1652 | Michael Shields |
setmapstate utility for attempting to set the MapState flag in a 2002.1 (or greater) server's clients. It attempts to set the MapState flag by asking the server to execute p4 fstat //depot/foo for each client. If any of the server's users have a password defined, you'll need some additional magic (ask me). |