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

Hal Rosenstock halr at voltaire.com
Thu Sep 14 07:05:58 PDT 2006


Hi Eitan,

On Thu, 2006-09-14 at 09:39, Eitan Zahavi wrote:
> Hi Hal,
> Looks simple enough to get into the OFED 1.1
> I assume you are going to commit it into the branch?

Done (r9484).

-- Hal

> 
> 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