diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2001-05-09 00:39:18 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2001-05-09 00:39:18 +0000 |
commit | f4c2106bcf5aa4ae686a1eea3c8686a61aacf34b (patch) | |
tree | 9871254320bda782e88d066c5eed8d7d27b74dbe | |
parent | 1eaa64b66bee85b68ed31fcc66348ba50e170b9c (diff) |
- (bal) Updates from the Sony NEWS-OS platform by NAKAJI Hiroyuki
<nakaji@tutrp.tut.ac.jp>
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | defines.h | 6 | ||||
-rw-r--r-- | sftp-int.c | 5 |
3 files changed, 13 insertions, 2 deletions
@@ -3,6 +3,8 @@ <wayne@blorf.net> - (bal) ./configure support to disable SIA on OSF1. Patch by Chris Adams <cmadams@hiwaay.net> + - (bal) Updates from the Sony NEWS-OS platform by NAKAJI Hiroyuki + <nakaji@tutrp.tut.ac.jp> 20010508 - (bal) Fixed configure test for USE_SIA. @@ -5296,4 +5298,4 @@ - Wrote replacements for strlcpy and mkdtemp - Released 1.0pre1 -$Id: ChangeLog,v 1.1179.2.12 2001/05/08 20:43:00 mouring Exp $ +$Id: ChangeLog,v 1.1179.2.13 2001/05/09 00:39:18 mouring Exp $ @@ -1,7 +1,7 @@ #ifndef _DEFINES_H #define _DEFINES_H -/* $Id: defines.h,v 1.62 2001/04/05 17:15:08 stevesk Exp $ */ +/* $Id: defines.h,v 1.62.2.1 2001/05/09 00:39:19 mouring Exp $ */ /* Some platforms need this for the _r() functions */ #if !defined(_REENTRANT) && !defined(SNI) @@ -92,8 +92,12 @@ enum #endif #ifndef NGROUPS_MAX /* Disable groupaccess if NGROUP_MAX is not set */ +#ifdef NGROUPS +#define NGROUPS_MAX NGROUPS +#else #define NGROUPS_MAX 0 #endif +#endif #ifndef O_NONBLOCK /* Non Blocking Open */ # define O_NONBLOCK 00004 @@ -889,8 +889,13 @@ interactive_loop(int fd_in, int fd_out, char *file1, char *file2) return; } } +#if HAVE_SETVBUF setvbuf(stdout, NULL, _IOLBF, 0); setvbuf(infile, NULL, _IOLBF, 0); +#else + setlinebuf(stdout); + setlinebuf(infile); +#endif for(;;) { char *cp; |