Patches for RCS 5.5 under SCO UNIX
Chip Salzenberg
chip at tct.uucp
Sat Jan 26 09:13:16 AEST 1991
I just compiled RCS 5.5 under SCO UNIX. It works very well, and the
port was simplicity itself. Only a few tiny patches were required;
they are included below.
(I am forwarding a copy of these patches to rcs-bugs at cs.purdue.edu
and the GNU utils bug list.)
The changes were:
In conf.sh:
The third parameter of vfprintf() is a va_list, not "...".
The link() and pathconf() functions need to be prototyped.
In rcsbase.h:
The strncmp() and strncpy() functions take a size_t, not an
int, as their third parameters.
Patches follow.
*** conf.sh.P Fri Jan 4 00:07:20 1991
--- conf.sh Fri Jan 25 16:09:20 1991
***************
*** 644,648 ****
int printf P((const char*,...));
# if has_vfprintf
! int vfprintf P((FILE*,const char*,...));
# else
void _doprnt P((const char*,...));
--- 644,648 ----
int printf P((const char*,...));
# if has_vfprintf
! int vfprintf P((FILE*,const char*,va_list arg));
# else
void _doprnt P((const char*,...));
***************
*** 681,685 ****
'int open P((const char*,int,...));' \
'mode_t umask P((mode_t));' \
! 'pid_t wait P((int*));'
do
if $C -S -Ddeclaration="$declaration" a.c >&2
--- 681,687 ----
'int open P((const char*,int,...));' \
'mode_t umask P((mode_t));' \
! 'pid_t wait P((int*));' \
! 'int link P((const char*,const char *));' \
! 'int sysconf P((const char*,int));'
do
if $C -S -Ddeclaration="$declaration" a.c >&2
*** rcsbase.h.P Fri Jan 4 00:07:23 1991
--- rcsbase.h Fri Jan 25 15:55:52 1991
***************
*** 258,262 ****
# endif
# ifndef strncpy
! char *strncpy P((char*,const char*,int));
# endif
# ifndef strrchr
--- 258,262 ----
# endif
# ifndef strncpy
! char *strncpy P((char*,const char*,size_t));
# endif
# ifndef strrchr
***************
*** 267,271 ****
# endif
# ifndef strncmp
! int strncmp P((const char*,const char*,int));
# endif
# ifndef strlen
--- 267,271 ----
# endif
# ifndef strncmp
! int strncmp P((const char*,const char*,size_t));
# endif
# ifndef strlen
More information about the Comp.unix.sysv386
mailing list