[p4] Fix/Update to p4bindgen...

Snellenberger, Reed Reed.Snellenberger at aspentech.com
Fri Oct 26 09:55:47 PDT 2007


We just started using Gordon Tetlow's p4bindgen utility (from
http://public.perforce.com:8080/@@//guest/gordon_tetlow/p4bindgen/) on
some projects.  In the course of doing that, we found (and fixed) a bug
which prevents it from recursing the tree correctly -- in scandir(),
change

    static char *dir = NULL;
to
    char *dir = NULL; 

If dir is static, p4bindgen won't span the tree at each level...

We've also made some additional changes to suit our workflow and
environment:
	Support for directories with spaces
	Using a single MSSCCPRJ.SCC file in the root for all projects
	Use more secure string functions

Gordon, if you're still on the list let me know and I will send it to
you to incorporate into the version on the perforce server (or not, as
you wish).  

Reed Snellenberger
||| Senior Software Developer
Aspen Technology, Inc. ||| +1 (281) 504-3226 ||| fax: +1 (281) 584-4329
||| www.aspentech.com


This e-mail and any attachments are intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information. If you are not the intended recipient of this e-mail, you are hereby notified any dissemination, distribution or copying of this email, and any attachments thereto, is strictly prohibited. If you receive this email in error please immediately notify the sender and permanently delete the original copy and any copy of any e-mail, and any printout thereof.



More information about the perforce-user mailing list