[GRASS-dev] Re: [GRASS GIS] #902: nviz (tcl) fails on wingrass
GRASS GIS
trac at osgeo.org
Fri Feb 5 19:00:25 EST 2010
#902: nviz (tcl) fails on wingrass
-----------------------+----------------------------------------------------
Reporter: hamish | Owner: grass-dev at lists.osgeo.org
Type: defect | Status: new
Priority: critical | Milestone: 6.4.0
Component: NVIZ | Version: svn-trunk
Resolution: | Keywords:
Platform: All | Cpu: All
-----------------------+----------------------------------------------------
Comment (by glynn):
Replying to [comment:9 glynn]:
> Oops; moving `argv[0]` to a separate argument also needs this:
{{{
- if ((strstr(argv[0], "nviz") != NULL) && (!demo->answer)) {
+ if ((strstr(argv0, "nviz") != NULL) && (!demo->answer)) {
}}}
Actually, it needs to have the command passed separately; argv0 is the
name of the script. Fixed (hopefully) in r40835.
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/902#comment:10>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list