aboutsummaryrefslogtreecommitdiff
path: root/src/clef/edible.c
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2008-11-01 05:50:30 +0000
committerdos-reis <gdr@axiomatics.org>2008-11-01 05:50:30 +0000
commitb9495611c4ec4ae6adc2aef08f9a08aaf5df6f1c (patch)
tree2eb882ea95fa1b1e32156d7e881e109a97e13d3e /src/clef/edible.c
parentad6ac4dc3c9662098ad38ca99cbf46d6315af52b (diff)
downloadopen-axiom-b9495611c4ec4ae6adc2aef08f9a08aaf5df6f1c.tar.gz
* sman/sman.c (ptsPath): Remove.
* sman/Makefile.in: Add additional C runtimes for link. * lib/openpty.c: Include <pty.h> and <util.h> where available. (ptyopen): Lose third parameter. Tidy. (makeNextPtyNames): Now static. * clef/edible.c (controllerPath): Remove. Adjust call to ptyopen. * clef/Makefile.in (clef_LDADD): Add extra C runtimes.
Diffstat (limited to 'src/clef/edible.c')
-rw-r--r--src/clef/edible.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/clef/edible.c b/src/clef/edible.c
index 069ff8f7..0e7b9756 100644
--- a/src/clef/edible.c
+++ b/src/clef/edible.c
@@ -101,7 +101,6 @@ int buff_flag[MAXLINE]; /** flags for whether buff chars
or non-printing **/
-char controllerPath[20]; /* path name for opening the controller side */
char serverPath[20]; /* path name for opening the server side */
int contNum, serverNum; /* file descriptors for pty's */
@@ -130,7 +129,7 @@ main(int argc, char *argv[])
/* try to get a pseudoterminal to play with */
- if (ptyopen(&contNum, &serverNum, controllerPath, serverPath) == -1) {
+ if (ptyopen(&contNum, &serverNum, serverPath) == -1) {
perror("ptyopen failed");
exit(-1);
}