From cdea9d6e150335caae11989efdb8ac1abc4fafce Mon Sep 17 00:00:00 2001 From: david Date: Sun, 13 Feb 2011 03:29:16 +0000 Subject: [PATCH] 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. --- CHANGELOG | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CHANGELOG b/CHANGELOG index 449214227..49ae165d2 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -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]