You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by mt...@apache.org on 2009/04/13 16:28:25 UTC

svn commit: r764489 - /commons/sandbox/runtime/trunk/src/main/native/os/hpux/os.c

Author: mturk
Date: Mon Apr 13 14:28:24 2009
New Revision: 764489

URL: http://svn.apache.org/viewvc?rev=764489&view=rev
Log:
Use ID. as prefix making it parseable

Modified:
    commons/sandbox/runtime/trunk/src/main/native/os/hpux/os.c

Modified: commons/sandbox/runtime/trunk/src/main/native/os/hpux/os.c
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/os/hpux/os.c?rev=764489&r1=764488&r2=764489&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/os/hpux/os.c (original)
+++ commons/sandbox/runtime/trunk/src/main/native/os/hpux/os.c Mon Apr 13 14:28:24 2009
@@ -106,7 +106,7 @@
     char string[MAXSIZESYSSTRING];
     struct utsname sys;
     if (!uname(&sys)) {
-        strcpy(string, "id");
+        strcpy(string, "ID.");
         strcat(string, sys.idnumber);
         return CSTR_TO_JSTRING(string);
     }