From: rahuel Date: Fri, 5 Nov 2004 08:55:41 +0000 (+0000) Subject: Portability Alpha_OSF : X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=35fbdab127e31fdfbb6a37155a97e4ff3a4017c1;p=modules%2Fkernel.git Portability Alpha_OSF : Memory corruption --- diff --git a/src/Utils/Utils_Identity.cxx b/src/Utils/Utils_Identity.cxx index f30cdb03d..70824f69d 100644 --- a/src/Utils/Utils_Identity.cxx +++ b/src/Utils/Utils_Identity.cxx @@ -72,12 +72,14 @@ Identity::Identity( const char *name ): _name(duplicate(name)),\ _adip(get_adip()),\ _uid(getuid()) ,\ _pwname(get_pwname()) ,\ - _dir(getcwd(NULL,0)),\ + _dir(getcwd(NULL,256)),\ _pid(getpid()) ,\ _start(time(NULL)),\ _cstart(ctime(&_start)) +//CCRT _dir(getcwd(NULL,0)),\ + { - ; + ASSERT(strlen(_dir)<256); }