[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tmpdir.c:path_search() v. VMS

From: Steven M. Schweda
Subject: Re: tmpdir.c:path_search() v. VMS
Date: Mon, 15 Jul 2013 16:47:17 -0500 (CDT)

From: Paul Eggert <address@hidden>

> On 07/15/2013 01:39 PM, Steven M. Schweda wrote:
> >    Oooh, I don't think that I'd do that.
> Sorry, I don't know VMS so I'm flying blind here.

   When in doubt, don't do it, I always say.

> How about this instead?
> #ifdef __VMS
>    add_slash = false;
> #endif

   Sounds safer (though still less clear than "= 0", I claim).

>  (No need for the "(int)" type cast around here, either.)
> The cast is needed on some platforms, and shouldn't hurt on VMS.

   Yeah, it's harmless.  I didn't remember seeing it in the original
(right-order) arg list, so I was afraid it was in there just to "fix" a
problem with the arg order.  But I now see that it was there before.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]