diff options
author | Christopher Faylor <me@cgf.cx> | 2000-09-04 17:52:42 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2000-09-04 17:52:42 +0000 |
commit | f76325499abbd5e5212cbe7b479008e3bf1b1a96 (patch) | |
tree | 929c38930f469b7d0e53193223c30101081f9ecf /winsup/cygwin/termios.cc | |
parent | 9c136d7ea6c180419f55b166c9acfed2ac6e2221 (diff) | |
download | newlib-f76325499abbd5e5212cbe7b479008e3bf1b1a96.zip newlib-f76325499abbd5e5212cbe7b479008e3bf1b1a96.tar.gz newlib-f76325499abbd5e5212cbe7b479008e3bf1b1a96.tar.bz2 |
* path.cc (readlink): Check if buffer length is positive. Truncate output to
buffer length. Don't terminate buffer with '\0'.
Diffstat (limited to 'winsup/cygwin/termios.cc')
-rw-r--r-- | winsup/cygwin/termios.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/termios.cc b/winsup/cygwin/termios.cc index e30bb60..52fe489 100644 --- a/winsup/cygwin/termios.cc +++ b/winsup/cygwin/termios.cc @@ -42,7 +42,7 @@ tcsendbreak (int fd, int duration) } out: - syscall_printf ("%d = tcsendbreak (%d, %d )", res, fd, duration); + syscall_printf ("%d = tcsendbreak (%d, %d)", res, fd, duration); return res; } |