- fixed bug report #945832
- fixed a crash under some POSIX platforms in the code that gets the fully qualified path to the output file git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3533 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
037da48cd1
commit
f9b9956dd2
1 changed files with 3 additions and 2 deletions
|
@ -18,6 +18,7 @@
|
|||
# include <unistd.h>
|
||||
# include <limits.h>
|
||||
# include <stdlib.h>
|
||||
# include <stdarg.h>
|
||||
#endif
|
||||
|
||||
int MMapFile::m_iAllocationGranularity = 0;
|
||||
|
@ -1032,7 +1033,7 @@ int CEXEBuild::add_label(const char *name)
|
|||
}
|
||||
}
|
||||
|
||||
section s={{0}};
|
||||
section s={0};
|
||||
s.name_ptr = offs;
|
||||
s.code = ce;
|
||||
cur_labels->add(&s,sizeof(s));
|
||||
|
@ -2402,7 +2403,7 @@ int CEXEBuild::write_output(void)
|
|||
#endif
|
||||
notify(MAKENSIS_NOTIFY_OUTPUT, buffer);
|
||||
INFO_MSG("\nOutput: \"%s\"\n", buffer);
|
||||
#if !defined(_WIN32) && defined(PATH_MAX)
|
||||
#if !defined(_WIN32) && !defined(PATH_MAX)
|
||||
if (buffer != build_output_filename)
|
||||
free(buffer);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue