[Mauiusers] Patch for case-insensitive arguments to showgrid
bchristiansen at adaptivecomputing.com
Wed Jul 21 15:31:04 MDT 2010
I've checked this into trunk.
On 05/28/2010 10:17 AM, David Chin wrote:
> 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.
> mauiusers mailing list
> mauiusers at supercluster.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the mauiusers