Permalink
Browse files

Second try after FS when south.

1.4-8  Jan  8, 2001   irix build fixes (fine tuning required)
                      Tom Mander <tom@proximity.com.au>
                      more lockfile code with testing from
                      "Roberto" <rwaissma@mathworks.com> and
                      Chris Portal <cportal@mathworks.com>
                      bsd and linux default to lockfile support
                      some documentaion clarifications.

bsd fixes are in.
  • Loading branch information...
1 parent 0ef8515 commit c52fb9a507934e44103309428425dc79c402d65c jarvi committed Jan 9, 2001
Showing with 22 additions and 19 deletions.
  1. +7 −4 ChangeLog
  2. +2 −4 INSTALL
  3. +4 −4 configure
  4. +4 −4 configure.in
  5. +4 −2 src/SerialImp.c
  6. +1 −1 src/SerialImp.h
View
@@ -1,3 +1,5 @@
+This is ChangeLog Tue Jan 9 00:52:36 MST 2001
+
rxtx-1.5 and rxtx-1.4 changes are kept in the same file. skip to the version
you downloaded.
@@ -16,12 +18,13 @@ you downloaded.
Stallion Card support
Greg Luck <gluck@tempo-services.com.au>
CommPort enumeration with rxtx's comm.jar
-1.4-8 Jan 18, 2001 Irix Build fixes (May need fine tuning)
+1.4-8 Jan 8, 2001 irix build fixes (fine tuning required)
Tom Mander <tom@proximity.com.au>
- additional port locking code and enable portlocks on
- Linux
+ more lockfile code with testing from
+ "Roberto" <rwaissma@mathworks.com> and
Chris Portal <cportal@mathworks.com>
- "Roberto" <rwaissma@mathworks.com>
+ bsd and linux default to lockfile support
+ some documentaion clarifications.
1.4-7 Nov 13, 2000 HP-UX fixes for port enumeration
Cathrine Guiollot <catherine_guiollot@hp.com>
CLASSPATH build fixes
View
@@ -16,7 +16,7 @@
| License along with this library; if not, write to the Free
| Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
--------------------------------------------------------------------------*/
-This is the INSTALL file for RXTX. Oct 29 2000
+This is the INSTALL file for RXTX. Tue Jan 9 00:52:36 MST 2001
If, while following the instructions, you find this file unclear or incorrect
please make a note and email the details to trentjarvi@yahoo.com.
@@ -354,7 +354,7 @@ C. No serial ports found!
--
For some, it is not clear what was being done here. There is a single
- line in the file javax.comm.properties that contains
+ line in the file javax.comm.properties that contains
"gnu.io.RXTXCommDriver" when properly installed. We replaced the R with
r in "gnu.io.RXTXCommDriver" to force an error. After seeing the error
we replaced the r with an R to fix it.
@@ -613,8 +613,6 @@ Be careful. The lock file code does not support kermit style lock files or
lock files in /var/spool. Its sure to fail if your using subdirectories in
/dev or do not have /dev.
-Lockfiles are enabled on Linux hosts.
-
U. How can I tell which version of rxtx is installed?
Version information is not documented in Sun's CommAPI so this is probably
View
@@ -2580,19 +2580,19 @@ Linux)
*BSD)
RXTX_PATH="\$(prefix)/lib"
JHOME=$JPATH/"lib"
- CFLAGS="$CFLAGS -D_NO_POSIX=1 -D_NO_XOPEN4=1"
- CLASSPATH="-classpath .:\$(TOP):\$(TOP)/src:\$(JPATH)/lib/classes.zip:\$(JPATH)/lib/comm.jar:$CLASSPATH"
+ # LOCKFILES may cause problems on netbsd and openbsd
+ CFLAGS="$CFLAGS -D_NO_POSIX=1 -D_NO_XOPEN4=1 -DLOCKFILES"
TARGETLIB="\$(target_alias)/libSerial.la"
case $JAVA_VERSION in
- 1.2*)
+ 1.2*|1.3*)
fix_parameters $JPATH/jre/lib/javax.comm.properties
fix_comm_jar $JPATH/jre/lib/ext/comm.jar
- CLASSPATH="-classpath .:\$(TOP):\$(TOP)/src:$CLASSPATH"
;;
1.*)
check_prefix
fix_parameters $JPATH/lib/javax.comm.properties
fix_comm_jar $JPATH/lib/comm.jar
+ CLASSPATH="-classpath .:\$(TOP):\$(TOP)/src:\$(JPATH)/lib/classes.zip:\$(JPATH)/lib/comm.jar"
;;
*)
;;
View
@@ -494,19 +494,19 @@ Linux)
*BSD)
RXTX_PATH="\$(prefix)/lib"
JHOME=$JPATH/"lib"
- CFLAGS="$CFLAGS -D_NO_POSIX=1 -D_NO_XOPEN4=1"
- CLASSPATH="-classpath .:\$(TOP):\$(TOP)/src:\$(JPATH)/lib/classes.zip:\$(JPATH)/lib/comm.jar:$CLASSPATH"
+ # LOCKFILES may cause problems on netbsd and openbsd
+ CFLAGS="$CFLAGS -D_NO_POSIX=1 -D_NO_XOPEN4=1 -DLOCKFILES"
TARGETLIB="\$(target_alias)/libSerial.la"
case $JAVA_VERSION in
- 1.2*)
+ 1.2*|1.3*)
fix_parameters $JPATH/jre/lib/javax.comm.properties
fix_comm_jar $JPATH/jre/lib/ext/comm.jar
- CLASSPATH="-classpath .:\$(TOP):\$(TOP)/src:$CLASSPATH"
;;
1.*)
check_prefix
fix_parameters $JPATH/lib/javax.comm.properties
fix_comm_jar $JPATH/lib/comm.jar
+ CLASSPATH="-classpath .:\$(TOP):\$(TOP)/src:\$(JPATH)/lib/classes.zip:\$(JPATH)/lib/comm.jar"
;;
*)
;;
View
@@ -1358,8 +1358,8 @@ void report(char *msg)
perform: Create a lock file if there is not one already.
return: 1 on failure 0 on success
exceptions: none
- comments: This is for linux only currently. I see SVR4 does this
- differently and there are other proposed changes to the
+ comments: This is for linux and freebsd only currently. I see SVR4 does
+ this differently and there are other proposed changes to the
Filesystem Hierachy Standard
more reading:
@@ -1402,6 +1402,8 @@ int fhs_lock(const char *filename)
* Its possible to check for stale processes with most of them.
* for now we will just check for the lockfile on most
* Problem lockfiles will be dealt with. Some may not even be in use.
+ *
+ * TODO follow symbolic links (/dev/modem...)
*/
j=0;
View
@@ -64,7 +64,7 @@
#if defined(__FreeBSD__)
# define DEVICEDIR "/dev/"
/* see SerialImp.c fhs_lock() & fhs_unlock() */
-# define LOCKDIR ""
+# define LOCKDIR "/var/spool/uucp/"
#endif
#if defined(__NetBSD__)
# define DEVICEDIR "/dev/"

0 comments on commit c52fb9a

Please sign in to comment.