commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject svn commit: r900081 - in /commons/sandbox/runtime/trunk/src/main/native: Makefile.in os/solaris/openpty.c
Date Sun, 17 Jan 2010 09:57:37 GMT
Author: mturk
Date: Sun Jan 17 09:57:37 2010
New Revision: 900081

URL: http://svn.apache.org/viewvc?rev=900081&view=rev
Log:
FIx typos

Modified:
    commons/sandbox/runtime/trunk/src/main/native/Makefile.in
    commons/sandbox/runtime/trunk/src/main/native/os/solaris/openpty.c

Modified: commons/sandbox/runtime/trunk/src/main/native/Makefile.in
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/Makefile.in?rev=900081&r1=900080&r2=900081&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/Makefile.in (original)
+++ commons/sandbox/runtime/trunk/src/main/native/Makefile.in Sun Jan 17 09:57:37 2010
@@ -183,7 +183,6 @@
 	$(SRCDIR)/os/unix/memalign.$(OBJ) \
 	$(SRCDIR)/os/unix/mmap.$(OBJ) \
 	$(SRCDIR)/os/unix/mutex.$(OBJ) \
-	$(SRCDIR)/os/unix/openpty.$(OBJ) \
 	$(SRCDIR)/os/unix/path.$(OBJ) \
 	$(SRCDIR)/os/unix/pipe.$(OBJ) \
 	$(SRCDIR)/os/unix/proc.$(OBJ) \
@@ -202,6 +201,7 @@
 	$(SRCDIR)/os/solaris/env.$(OBJ) \
 	$(SRCDIR)/os/solaris/fasync.$(OBJ) \
 	$(SRCDIR)/os/solaris/module.$(OBJ) \
+	$(SRCDIR)/os/solaris/openpty.$(OBJ) \
 	$(SRCDIR)/os/solaris/platform.$(OBJ) \
 	$(SRCDIR)/os/solaris/group.$(OBJ) \
 	$(SRCDIR)/os/solaris/user.$(OBJ) \

Modified: commons/sandbox/runtime/trunk/src/main/native/os/solaris/openpty.c
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/os/solaris/openpty.c?rev=900081&r1=900080&r2=900081&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/os/solaris/openpty.c (original)
+++ commons/sandbox/runtime/trunk/src/main/native/os/solaris/openpty.c Sun Jan 17 09:57:37
2010
@@ -30,7 +30,7 @@
 #include <pwd.h>
 #include <grp.h>
 
-int my_openpty(int *amaster, int *aslave, char *name,
+int openpty(int *amaster, int *aslave, char *name,
             void *termp, void *winp)
 {
     int rc = 0;
@@ -66,8 +66,8 @@
 
 cleanup:
     rc = errno;
-    s_close(&master);
-    s_close(&slave);
+    s_close(master);
+    s_close(slave);
     errno = rc;
     return -1;
 }



Mime
View raw message