2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-13 12:22:17 +00:00

Fix typo stdrup with strdup.

This typo was in code section conditional on Sun
and the Sun nightly builds broke making this easy
to track down.



[SVN r64203]
This commit is contained in:
K. Noel Belcourt
2010-07-20 16:26:40 +00:00
parent 537076bf10
commit c6d3de73a2

View File

@@ -588,7 +588,7 @@ char *executable_path(char *arvg0) {
#include <stdlib.h>
char *executable_path(char *arvg0) {
return stdrup(getexecname());
return strdup(getexecname());
}
#elif defined(__FreeBSD__)
#include <sys/sysctl.h>