[PATCH] geoiplookup_city dumps core when datafile cannot be opened #138

Closed
poeml opened this Issue Jun 5, 2015 · 0 comments

Comments

Projects
None yet
1 participant
Owner

poeml commented Jun 5, 2015

                                                                                       [          ]

Issue migrated (2015-06-05) from old issue tracker http://mirrorbrain.org/issues/issue138

Title    [PATCH] geoiplookup_city dumps core when datafile cannot be opened
 Priority   feature              Status        resolved
Superseder                      Nosy List      dagobert, poeml
Assigned To poeml               Keywords

msg486 (view) Author: dagobert Date: 2014-01-29.15:09:02

The tools geoiplookup_city and geoiplookup_contintent dump core when the datafile can
not be opened. This patch terminates in a sane way when there is a problem initializing
libgeoip:

https://buildfarm.opencsw.org/source/xref/opencsw/csw/mgar/pkg/mirrorbrain/trunk/files/
0001-Exit-if-geoip-file-cannot-be-opened.patch

Best regards -- Dago

msg487 (view) Author: poeml Date: 2014-01-29.21:17:55

Much appreciated, thanks!
Patch applied in r8344.

History
         Date           User   Action                    Args
2014-01-29 21:17:55 poeml    set    status: unread -> resolved
                                      messages: + msg487
                                      assignedto: poeml
                                      nosy: + poeml
2014-01-29 21:05:24 poeml    set    title: geoiplookup_city dumps core when
                                      datafile cannot be opened -> [PATCH]
                                      geoiplookup_city dumps core when datafile
                                      cannot be opened
2014-01-29 15:09:02 dagobert create

(end of migrated issue)

poeml closed this Jun 5, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment