summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2003-09-26 14:44:11 +0000
committerGerald Carter <jerry@samba.org>2003-09-26 14:44:11 +0000
commit8efca15a8b45692f27ab783e4759646dee612eae (patch)
treeb2c6218000ba7e9e83f01a4e735cdec2c5ed0e47
parentaa8205c4b071bac3bb66c673f97a6adcf7d4096c (diff)
downloadsamba-8efca15a8b45692f27ab783e4759646dee612eae.tar.gz
samba-8efca15a8b45692f27ab783e4759646dee612eae.tar.bz2
samba-8efca15a8b45692f27ab783e4759646dee612eae.zip
don't write to static pointers; patch from Anthony
(This used to be commit b766fe78a7d8e4095d42e123f2b21369113c1f14)
-rw-r--r--source3/configure.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/configure.in b/source3/configure.in
index b981313c9a..8c2e9e7f9b 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -480,7 +480,7 @@ main() {
/* Ensure this is kernel 2.4 or higher */
uname(&uts);
- release = uts.release;
+ release = strdup(uts.release);
major = atoi(strsep(&release, "."));
minor = atoi(strsep(&release, "."));