You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by mt...@apache.org on 2005/02/03 08:57:13 UTC

cvs commit: jakarta-tomcat-connectors/jni/java/org/apache/tomcat/jni Shm.java

mturk       2005/02/02 23:57:13

  Modified:    jni/java/org/apache/tomcat/jni Shm.java
  Log:
  Fix wrong commit. Deleted size function call by mistake.
  
  Revision  Changes    Path
  1.4       +4 -1      jakarta-tomcat-connectors/jni/java/org/apache/tomcat/jni/Shm.java
  
  Index: Shm.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jni/java/org/apache/tomcat/jni/Shm.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- Shm.java	3 Feb 2005 07:48:32 -0000	1.3
  +++ Shm.java	3 Feb 2005 07:57:13 -0000	1.4
  @@ -17,6 +17,7 @@
   package org.apache.tomcat.jni;
   
   import java.nio.ByteBuffer;
  +
   /** Shm
    *
    * @author Mladen Turk
  @@ -106,7 +107,8 @@
        * @param m The shared memory segment from which to retrieve
        *        the segment length.
        */
  -    public static native ByteBuffer buffer(long m);
  +    public static native long size(long m);
  +
       /**
        * Retrieve new ByteBuffer base address of the shared memory segment.
        * NOTE: This address is only usable within the callers address
  @@ -116,5 +118,6 @@
        *        the base address.
        * @return address, aligned by APR_ALIGN_DEFAULT.
        */
  +    public static native ByteBuffer buffer(long m);
   
   }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org