Mercurial > hg > xemacs-beta
comparison 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 |
comparison
equal
deleted
inserted
replaced
5336:287499ff4c5f | 5337:906ccc7dcd70 |
---|---|
102 { 0, 50, 75, 110, 135, 150, 200, 300, 600, 900, 1200, \ | 102 { 0, 50, 75, 110, 135, 150, 200, 300, 600, 900, 1200, \ |
103 1800, 2400, 3600, 4800, 7200, 9600, 19200, 38400 } | 103 1800, 2400, 3600, 4800, 7200, 9600, 19200, 38400 } |
104 | 104 |
105 /* This is how to get the device name of the tty end of a pty. */ | 105 /* This is how to get the device name of the tty end of a pty. */ |
106 #define PTY_TTY_NAME_SPRINTF \ | 106 #define PTY_TTY_NAME_SPRINTF \ |
107 sprintf (pty_name, "/dev/pty/tty%c%x", c, i); | 107 qxesprintf (pty_name, "/dev/pty/tty%c%x", c, i); |
108 | 108 |
109 /* This is how to get the device name of the control end of a pty. */ | 109 /* This is how to get the device name of the control end of a pty. */ |
110 #define PTY_NAME_SPRINTF \ | 110 #define PTY_NAME_SPRINTF \ |
111 sprintf (pty_name, "/dev/ptym/pty%c%x", c, i); | 111 qxesprintf (pty_name, "/dev/ptym/pty%c%x", c, i); |
112 | 112 |
113 #ifdef HPUX_USE_SHLIBS | 113 #ifdef HPUX_USE_SHLIBS |
114 #define LD_SWITCH_SYSTEM | 114 #define LD_SWITCH_SYSTEM |
115 #else | 115 #else |
116 #define LD_SWITCH_SYSTEM "-Xlinker -a -Xlinker archive" | 116 #define LD_SWITCH_SYSTEM "-Xlinker -a -Xlinker archive" |