From: Tyrel D. <ty...@us...> - 2011-05-24 01:36:31
|
Update of /cvsroot/sblim/cmpi-base In directory vz-cvs-3.sog:/tmp/cvs-serv1786 Modified Files: NEWS OSBase_OperatingSystem.c Log Message: Fixed 3306580: wrong OperatingSystem.Version prop value on RHEL6 Index: NEWS =================================================================== RCS file: /cvsroot/sblim/cmpi-base/NEWS,v retrieving revision 1.43 retrieving revision 1.44 diff -u -d -r1.43 -r1.44 --- NEWS 24 May 2011 00:31:39 -0000 1.43 +++ NEWS 24 May 2011 01:36:29 -0000 1.44 @@ -3,6 +3,7 @@ Bugs Fixed: - 3275169 bash error reported in provider bootstrap scripts +- 3306580 wrong OperatingSystem.Version prop value on RHEL6 Changes in Version 1.6.1 ======================== Index: OSBase_OperatingSystem.c =================================================================== RCS file: /cvsroot/sblim/cmpi-base/OSBase_OperatingSystem.c,v retrieving revision 1.30 retrieving revision 1.31 diff -u -d -r1.30 -r1.31 --- OSBase_OperatingSystem.c 25 Jul 2009 00:37:30 -0000 1.30 +++ OSBase_OperatingSystem.c 24 May 2011 01:36:29 -0000 1.31 @@ -143,7 +143,7 @@ _OSBASE_TRACE(4,("--- _init_os_distro() called : init")); - rc = runcommand( "find /etc/ -type f -maxdepth 1 -name *release* 2>/dev/null" , NULL , &hdout , NULL ); + rc = runcommand( "find /etc/ -maxdepth 1 -type f -name *release 2>/dev/null" , NULL , &hdout , NULL ); if( rc == 0 && *hdout != NULL) { while (hdout[j] && hdout[j][0]) { if (strstr(hdout[j],"lsb-release") && hdout[j+1] && hdout[j+1][0]) { |