Nathalie Furmento il y a 11 ans
Parent
commit
ad5902c7ee
2 fichiers modifiés avec 8 ajouts et 2 suppressions
  1. 6 0
      configure.ac
  2. 2 2
      mpi/examples/mpi_lu/plu_solve.c

+ 6 - 0
configure.ac

@@ -20,6 +20,12 @@ AC_INIT([StarPU], [1.2.0], [starpu-devel@lists.gforge.inria.fr], [starpu], [http
 AC_CONFIG_SRCDIR(include/starpu.h)
 AC_CONFIG_AUX_DIR([build-aux])
 
+# libtool doesn't actually properly manage a space in the workdir
+case `pwd` in
+  *[[\\\"\#\$\&\'\`$am_lf\ \	]]*)
+    AC_MSG_ERROR([unsafe absolute working directory name]);;
+esac
+
 dnl Versioning.
 
 STARPU_MAJOR_VERSION="`echo $PACKAGE_VERSION | cut -d . -f 1`"

+ 2 - 2
mpi/examples/mpi_lu/plu_solve.c

@@ -1,6 +1,6 @@
 /* StarPU --- Runtime system for heterogeneous multicore architectures.
  *
- * Copyright (C) 2010  Université de Bordeaux
+ * Copyright (C) 2010, 2014  Université de Bordeaux
  * Copyright (C) 2010  Centre National de la Recherche Scientifique
  *
  * StarPU is free software; you can redistribute it and/or modify
@@ -239,7 +239,7 @@ TYPE *STARPU_PLU(reconstruct_matrix)(unsigned size, unsigned nblocks)
 	for (bj = 0; bj < nblocks; bj++)
 	for (bi = 0; bi < nblocks; bi++)
 	{
-		TYPE *block;
+		TYPE *block = NULL;
 
 		int block_rank = get_block_rank(bi, bj);