HCoop
/
bpt
/
emacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove sigio blocking
[bpt/emacs.git]
/
lib-src
/
emacsclient.c
diff --git
a/lib-src/emacsclient.c
b/lib-src/emacsclient.c
index
cf16874
..
ddc1b6d
100644
(file)
--- a/
lib-src/emacsclient.c
+++ b/
lib-src/emacsclient.c
@@
-65,10
+65,6
@@
char *w32_getenv (char *);
# define CLOSE_SOCKET close
# define INITIALIZE()
# define CLOSE_SOCKET close
# define INITIALIZE()
-# ifndef WCONTINUED
-# define WCONTINUED 8
-# endif
-
#define egetenv(VAR) getenv(VAR)
#endif /* !WINDOWSNT */
#define egetenv(VAR) getenv(VAR)
#endif /* !WINDOWSNT */
@@
-86,10
+82,6
@@
char *w32_getenv (char *);
#include <signal.h>
#include <errno.h>
#include <signal.h>
#include <errno.h>
-
-
\f
-char *getenv (const char *);
-
#ifndef VERSION
#define VERSION "unspecified"
#endif
#ifndef VERSION
#define VERSION "unspecified"
#endif
@@
-1556,6
+1548,7
@@
main (int argc, char **argv)
exit (EXIT_FAILURE);
}
exit (EXIT_FAILURE);
}
+#ifndef WINDOWSNT
if (tty)
{
pid_t pgrp = getpgrp ();
if (tty)
{
pid_t pgrp = getpgrp ();
@@
-1563,6
+1556,7
@@
main (int argc, char **argv)
if (0 <= tcpgrp && tcpgrp != pgrp)
kill (-pgrp, SIGTTIN);
}
if (0 <= tcpgrp && tcpgrp != pgrp)
kill (-pgrp, SIGTTIN);
}
+#endif /* !WINDOWSNT */
/* If alternate_editor is the empty string, start the emacs daemon
in case of failure to connect. */
/* If alternate_editor is the empty string, start the emacs daemon
in case of failure to connect. */