summaryrefslogtreecommitdiffstats
path: root/source
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
commitb766fe78a7d8e4095d42e123f2b21369113c1f14 (patch)
treeb39bf0858060c5d2837b4a567aa1667ae1bec608 /source
parentb167f0989d004ba0940196c242c782ac698d1212 (diff)
downloadsamba-b766fe78a7d8e4095d42e123f2b21369113c1f14.tar.gz
samba-b766fe78a7d8e4095d42e123f2b21369113c1f14.tar.xz
samba-b766fe78a7d8e4095d42e123f2b21369113c1f14.zip
don't write to static pointers; patch from Anthony
Diffstat (limited to 'source')
-rw-r--r--source/configure.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/configure.in b/source/configure.in
index b981313c9ad..8c2e9e7f9bc 100644
--- a/source/configure.in
+++ b/source/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, "."));