[Mauiusers] Patch for case-insensitive arguments to showgrid

Brian Christiansen bchristiansen at adaptivecomputing.com
Wed Jul 21 15:31:04 MDT 2010


Dave,

I've checked this into trunk.

Thanks,
Brian

On 05/28/2010 10:17 AM, David Chin wrote:
> Hi,
>
> I don't like typing all uppercase, so here's a trivial patch
> to make showgrid's args case-insensitive. This is against
> the 3.3 from svn. I think I did this a few years ago, too, and
> sent it to the list but nothing came of it. The modifications
> are to src/server/OUserI.c
>
> Also, src/server/OServer.c
>
>      if (!strcmp(ptr,"TRAP") || !strcmp(ptr,"trap"))
>
> which can just be replaced with
>
>      if (!strcasecmp(ptr, "trap"))
>
> So, I just did that, too.
>
> It works for me: YMMV.
>
> Cheers,
>      Dave
>
>    
>
>
> _______________________________________________
> mauiusers mailing list
> mauiusers at supercluster.org
> http://www.supercluster.org/mailman/listinfo/mauiusers
>    

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.supercluster.org/pipermail/mauiusers/attachments/20100721/df2a67d5/attachment.html 


More information about the mauiusers mailing list