Opened 12 years ago
Last modified 12 years ago
#3753 assigned task
Exit status should be different from 0 when an error was encountered
Reported by: | hopfgartner | Owned by: | sdlime |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Command Line Utilties | Version: | unspecified |
Severity: | normal | Keywords: | |
Cc: |
Description
Looking through the source of shp2img, it seems that exit status 0 is used even when an error was encountered. The same holds true for mapserv and probably others.
Attachments (7)
Change History (10)
by , 12 years ago
Attachment: | sortshp.c.diff added |
---|
by , 12 years ago
Attachment: | mapserv.c.diff added |
---|
by , 12 years ago
Attachment: | scalebar.c.diff added |
---|
by , 12 years ago
Attachment: | shp2img.c.diff added |
---|
by , 12 years ago
Attachment: | sym2img.c.diff added |
---|
comment:1 by , 12 years ago
Status: | new → assigned |
---|
comment:2 by , 12 years ago
Most of this is done for beta4 (see r11397). I found some of the diffs missed a case or two. The mapserv.c.diff is not for mapserv.c so that source has not been touched yet. There's another beta next week we can hit with that if you post a patch.
Steve
by , 12 years ago
Attachment: | mapserv.c.2.diff added |
---|
by , 12 years ago
Attachment: | shptree.c.2.diff added |
---|
Note:
See TracTickets
for help on using tickets.
Will get these into beta 4, the changes look otherwise benign... Steve