diff src/s/hpux11.h @ 5337:906ccc7dcd70

Change to qxesprintf(), qxestrcpy(), s/hpux11.h, s/usg5-4.h 2011-01-14 Aidan Kehoe <kehoea@parhasard.net> * s/hpux11.h (PTY_TTY_NAME_SPRINTF, PTY_NAME_SPRINTF): * s/usg5-4.h (PTY_TTY_NAME_SPRINTF, PTY_NAME_SPRINTF): Replace sprintf() with qxesprintf(), strcpy with qxestrpy(), hopefully fixing some platform-specific C++ builds.
author Aidan Kehoe <kehoea@parhasard.net>
date Fri, 14 Jan 2011 23:23:30 +0000
parents aa5ed11f473b
children a9094f28f9a9
line wrap: on
line diff
--- a/src/s/hpux11.h	Fri Jan 14 23:16:25 2011 +0000
+++ b/src/s/hpux11.h	Fri Jan 14 23:23:30 2011 +0000
@@ -104,11 +104,11 @@
 
 /* This is how to get the device name of the tty end of a pty.  */
 #define PTY_TTY_NAME_SPRINTF \
-            sprintf (pty_name, "/dev/pty/tty%c%x", c, i);
+            qxesprintf (pty_name, "/dev/pty/tty%c%x", c, i);
 
 /* This is how to get the device name of the control end of a pty.  */
 #define PTY_NAME_SPRINTF \
-	sprintf (pty_name, "/dev/ptym/pty%c%x", c, i);
+	qxesprintf (pty_name, "/dev/ptym/pty%c%x", c, i);
 
 #ifdef HPUX_USE_SHLIBS
 #define LD_SWITCH_SYSTEM