[jamming] Path Bug

Craig Allsop cjamallsop at gmail.com
Mon Jul 31 01:05:48 PDT 2006


That's a damn fine idea Alen. I prefer forward slashes myself.

Craig.

On 7/31/06, Alen Ladavac <alenl-ml at croteam.com> wrote:
>
> While on this topic, and while majam is on the rise... :)
>
> ... I've had our version of jam "re-adjusted" so that, internally, it
> only uses forward slashes (Unix-style). So, in jamfiles, you'd only
> use "/" and jam would remap to "\" when accessing disk (we are only
> considering NT and Unix platforms here, but it could use ":" or
> whatever if that's needed). Additionally, when invoking build actions,
> I've added :\ modifier to remap slashes as wanted. (But, you'd be
> surprised at how many Windows command-line tools just accept "/"-paths
> without a problem!)
>
> It's been a sheer pleasure working multi-platform since then. :) Would
> it perhaps be useful to have something like this in majam as well?
>
> Alen
>
>
> > Sorry, I am mistaken. I was meaning to press discard rather than the
> send button, doh.
>
> > Craig.
>
> > On 7/31/06, Craig Allsop < cjamallsop at gmail.com> wrote:
> >
> > I reported this issue a long time ago and don't understand why it wasn't
> integrated into jam.
>
> > filent.c:
> > old:
> > sprintf( filespec, "%s/*", dir );
> > new:
> > sprintf( filespec, "%s%c*", dir, PATH_DELIM );
>
> > The original code here uses forward slashes in the NT file scanner.
> > During a HdrScan rule, found headers have the wrong path character.
> >
>
>
> >
>
>
> --
> Alen
>
> _______________________________________________
> jamming mailing list  -  jamming at perforce.com
> http://maillist.perforce.com/mailman/listinfo/jamming
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://maillist.perforce.com/pipermail/jamming/attachments/20060731/0ad45f46/attachment.html


More information about the jamming mailing list