Wireshark mailing list archives
Re: r45615: Read the program name rather than hardcoding it
From: Anders Broman <a.broman () bredband net>
Date: Wed, 17 Oct 2012 18:37:49 +0200
Jakub Zawadzki skrev 2012-10-17 16:45:
Hi, I'm not sure if it's correct: #v+ + program_name = g_strdup(g_get_prgname()); persconffile_dir = g_strdup_printf("%s" G_DIR_SEPARATOR_S "%s", - appdatadir, PF_DIR); + appdatadir, program_name); + g_free(program_name); #v- I think we want the same configuration directory both for wireshark and tshark.
True :-(I will not have the time to rework that now. PF_DIR or program name should come from
configure.nmake or something like that on Windows then I suppose. Regards Anders
___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
Current thread:
- r45615: Read the program name rather than hardcoding it Jakub Zawadzki (Oct 17)
- Re: r45615: Read the program name rather than hardcoding it Anders Broman (Oct 17)
- Re: r45615: Read the program name rather than hardcoding it Guy Harris (Oct 17)
- Re: r45615: Read the program name rather than hardcoding it Anders Broman (Oct 17)
- Re: r45615: Read the program name rather than hardcoding it Guy Harris (Oct 17)
- Re: r45615: Read the program name rather than hardcoding it Anders Broman (Oct 17)
- Re: r45615: Read the program name rather than hardcoding it Guy Harris (Oct 17)
- Re: r45615: Read the program name rather than hardcoding it Anders Broman (Oct 18)
- Re: r45615: Read the program name rather than hardcoding it Guy Harris (Oct 18)
- Re: r45615: Read the program name rather than hardcoding it Anders Broman (Oct 18)
- Re: r45615: Read the program name rather than hardcoding it Guy Harris (Oct 18)
- Re: r45615: Read the program name rather than hardcoding it Guy Harris (Oct 17)
- Re: r45615: Read the program name rather than hardcoding it Anders Broman (Oct 17)