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

Eitan Zahavi eitan at mellanox.co.il
Thu Sep 14 06:39:16 PDT 2006


Hi Hal,
Looks simple enough to get into the OFED 1.1
I assume you are going to commit it into the branch?

EZ

Hal Rosenstock wrote:

>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
> /***********/
> 
>
>
>
>
>_______________________________________________
>openib-general mailing list
>openib-general at openib.org
>http://openib.org/mailman/listinfo/openib-general
>
>To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
>  
>





More information about the general mailing list