Changeset 51

Show
Ignore:
Timestamp:
07/02/08 10:21:54 (2 months ago)
Author:
jtang
Message:

Fixed all Java unit tests to work correctly.
Update RPM and Debian build files.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/debian/changelog

    r42 r51  
     1libsipc (1.2) unstable; urgency=low 
     2 
     3  * Added sipc_ioctl() function; rewrote Java SWIG bindings. 
     4 
     5 -- J. Tang <jtang@tresys.com>  Tue, 01 Jul 2008 12:00:00 -0500 
     6 
    17libsipc (1.1) unstable; urgency=low 
    28 
  • trunk/debian/control

    r31 r51  
    22Priority: optional 
    33Maintainer: J. Tang <jtang@tresys.com> 
    4 Build-Depends: cdbs, debhelper (>= 5), gcc, sun-java6-jdk 
     4Build-Depends: cdbs, debhelper (>= 5), gcc, sun-java6-jdk, swig (>= 1.3.28) 
    55Standards-Version: 3.7.2 
    66Section: libs 
  • trunk/libsipc.spec

    r43 r51  
    11Name: libsipc 
    2 Version: 1.1 
     2Version: 1.2 
    33License: GPLv2 
    44BuildRoot: %{_tmppath}/libsipc-%{version} 
    5 Release: 1 
     5Release: 0 
    66Source: libsipc.tar.gz 
    77Summary: Secure Inter-Process Library 
     
    2323Summary: Secure Inter-Process Library (Java bindings) 
    2424Group: Development/Languages 
     25BuildRequires: swig >= 1.3.28 
    2526Requires: jre >= 1.5 libsipc = %{version}-%{release} 
    2627 
     
    9697 
    9798%changelog 
     99* Tue Jul 01 2008 Jason Tang <selinux@tresys.com> 1.2-0 
     100- Added sipc_ioctl() function; rewrote Java SWIG bindings. 
     101 
    98102* Tue Jun 24 2008 Jason Tang <selinux@tresys.com> 1.1-1 
    99103- Set install library install location to %{_libdir}, for 64-bit systems. 
  • trunk/libsipc/bindings/java/examples/MQ_Sender.java

    r50 r51  
    2525 
    2626import java.nio.*; 
    27 import java.nio.charset.*; 
    2827 
    2928/** 
  • trunk/libsipc/bindings/java/examples/SHM_Creator.java

    r50 r51  
    3333        public static void main(String[] args) { 
    3434                try { 
    35                     Sipc sipc = new SipcShm(sipc_key, sipcwrapperConstants.SIPC_CREATOR, 8196); 
     35                    Sipc sipc = new SipcShm(sipc_key, sipcwrapperConstants.SIPC_CREATOR, 8192); 
    3636                    sipc.Close(); 
    3737                } catch (Exception e) { 
  • trunk/libsipc/bindings/java/examples/SHM_Reader.java

    r50 r51  
    4242        public static void main(String[] args) { 
    4343                SipcShm shm = null; 
    44                 int ipc_len = 8196
     44                int ipc_len = 8192
    4545 
    4646                /* Create and initialize the IPC handle */