1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-02 12:59:02 +00:00

Do an fs_enc on the unicode file name before handing it to write_to_png

in the topology viewer. pycairo 1.8.10 and earlier have a bug where a
unicode string results in an exception. Alex Kah found the error.
This commit is contained in:
david
2011-02-13 03:29:16 +00:00
parent cb0a5e1476
commit cdea9d6e15

View File

@@ -1,5 +1,11 @@
# Nmap Changelog ($Id$); -*-text-*-
o [Zenmap] Worked around a pycairo bug that prevented saving the
topology graphic as PNG on Windows: "Error Saving Snapshot:
Surface.write_to_png takes one argument which must be a filename
(str), file object, or a file-like object which has a 'write' method
(like StringIO)". The problem was reported by Alex Kah. [David]
o The -V and --version options now show the platform Nmap was compiled
on, which features are compiled in, and the version numbers of
libraries it is linked against. [Ambarisha B., David]