[openib-general] [PATCH] OpenSM: Change default temp directory location for non Windows platforms

Hal Rosenstock halr at voltaire.com
Thu Sep 14 06:12:28 PDT 2006


OpenSM: Change default temp directory location for non Windows platforms

This patch is intended for both trunk and 1.1.

Signed-off-by: Hal Rosenstock <halr at voltaire.com>

Index: ../osm/include/opensm/osm_base.h
===================================================================
--- ../osm/include/opensm/osm_base.h	(revision 9347)
+++ ../osm/include/opensm/osm_base.h	(working copy)
@@ -176,16 +176,15 @@ BEGIN_C_DECLS
 *	OSM_DEFAULT_TMP_DIR
 *
 * DESCRIPTION
-*	Specifies the default temporary directory for the log file, subnet.lst
-*  and the other log files (with the exception of osm.log for Linux being 
-*  in /var/log).
+*	Specifies the default temporary directory for the log file,
+*  subnet.lst, and other log files.
 *
 * SYNOPSIS
 */
 #ifdef __WIN__
 #define OSM_DEFAULT_TMP_DIR GetOsmTempPath()
 #else
-#define OSM_DEFAULT_TMP_DIR "/tmp/"
+#define OSM_DEFAULT_TMP_DIR "/var/log/"
 #endif
 /***********/
 







More information about the general mailing list