David MacMahon wrote:
> Changes examples/*/x14*.* to call plgdev and print the driver name after
> calling plinit.  Calling plgdev after plparseopts but before plinit will
> only get a device name if one is specified on the command line via the
> -dev option.  If the device is not specified via -dev, calling plgdev
> before plinit will get an empty string.  To ensure that plgdev gets a
> device name regardless of how it is specified, it must be called after
> plinit (specifically, after pllib_devinit, which is called by plinit).
> Without this change, running example 14 with no device specified on the
> command line would result in the following message...
> 
> "Demo of multiple output streams via the  driver."
> 
> Note the double space between "the" and "driver" where the driver name
> belongs.
> 
> Also removes previously superfluous, now invalid call to plsdev before
> plinit.
> 
> Tested C++, C, F77, and F95 versions.  Not sure if other languages are
> modified correctly.

Thank you David for this patch and for your previous patch of plargs, as 
of v10793 they have both been incorporated.

-Hazen

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to