emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] trunk r113966: Auto-commit of generated files.


From: Glenn Morris
Subject: [Emacs-diffs] trunk r113966: Auto-commit of generated files.
Date: Wed, 21 Aug 2013 10:17:41 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 113966
revision-id: address@hidden
parent: address@hidden
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Wed 2013-08-21 06:17:37 -0400
message:
  Auto-commit of generated files.
modified:
  autogen/configure              configure-20091113204419-o5vbwnq5f7feedwu-1624
=== modified file 'autogen/configure'
--- a/autogen/configure 2013-08-19 10:17:37 +0000
+++ b/autogen/configure 2013-08-21 10:17:37 +0000
@@ -16573,7 +16573,7 @@
                   $as_echo "#define PTY_TTY_NAME_SPRINTF { char *ptyname = 0; 
sigset_t blocked; sigemptyset (&blocked); sigaddset (&blocked, SIGCHLD); 
pthread_sigmask (SIG_BLOCK, &blocked, 0); if (grantpt (fd) != -1 && unlockpt 
(fd) != -1) ptyname = ptsname(fd); pthread_sigmask (SIG_UNBLOCK, &blocked, 0); 
if (!ptyname) { emacs_close (fd); return -1; } snprintf (pty_name, 
PTY_NAME_SIZE, \"%s\", ptyname); }" >>confdefs.h
 
             if test "x$ac_cv_func_posix_openpt" = xyes; then
-        $as_echo "#define PTY_OPEN fd = posix_openpt (O_RDWR | O_CLOEXEC | 
O_NOCTTY)" >>confdefs.h
+        $as_echo "#define PTY_OPEN do { fd = posix_openpt (O_RDWR | O_CLOEXEC 
| O_NOCTTY); if (fd < 0 && errno == EINVAL) fd = posix_openpt (O_RDWR | 
O_NOCTTY); } while (0)" >>confdefs.h
 
         $as_echo "#define PTY_NAME_SPRINTF /**/" >>confdefs.h
 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]