*BSD News Article 15842


Return to BSD News archive

Newsgroups: comp.os.386bsd.apps
Path: sserve!newshost.anu.edu.au!munnari.oz.au!network.ucsd.edu!dog.ee.lbl.gov!newshub.nosc.mil!crash!tcd
From: tcd@crash.cts.com (Terry C. Dawson)
Subject: Re: flexfax-2.1.0 patches for 386bsd
Organization: CTS Network Services (crash, ctsnet), El Cajon, CA
Date: 09 May 93 19:42:49 PDT
Message-ID: <1993May09.194249.1366@crash>
References: <1993May08.212206.22159@crash>
Lines: 80

  I noticed today that I had forgotton some patches in the g++-include/sys
directory so here they are.  Mea culpa.
  ljo@EEAP.CWRU.Edu(L.J. Olson) responded that he didn't need any changes.
I guess that's part of the fun of using 386bsd/NetBSD, not all systems are
created equal. 8-).
-------
g++-include/sys
------
--------------------- CUT HERE ------------------------
*** socket.h.org	Sun May  9 19:10:49 1993
--- socket.h	Sun May  9 19:12:51 1993
***************
*** 22,28 ****
  int       select _G_ARGS((int, fd_set*, fd_set*, fd_set*, struct timeval*));
  
  int       accept _G_ARGS((int, struct sockaddr*, int*));
! int       bind _G_ARGS((int, const void*, int));
  int       connect _G_ARGS((int, struct sockaddr*, int));
  int       getsockname _G_ARGS((int, struct sockaddr*, int*));
  int       getpeername _G_ARGS((int, struct sockaddr*, int*));
--- 22,28 ----
  int       select _G_ARGS((int, fd_set*, fd_set*, fd_set*, struct timeval*));
  
  int       accept _G_ARGS((int, struct sockaddr*, int*));
! int       bind _G_ARGS((int, struct sockaddr*, int));
  int       connect _G_ARGS((int, struct sockaddr*, int));
  int       getsockname _G_ARGS((int, struct sockaddr*, int*));
  int       getpeername _G_ARGS((int, struct sockaddr*, int*));
***************
*** 32,45 ****
  int       rcmd _G_ARGS((char**, int, const char*, const char*, const char*, int*));
  #endif
  int       recv(int, void*, int, int);
! int       recvfrom _G_ARGS((int, void*, int, int, void*, int *));
  int       recvmsg(int, struct msghdr*, int);
  int       rexec(char**, int, const char*, const char*, const char*, int*);
  int       rresvport(int*);
  int       send _G_ARGS((int, const void*, int, int));
! int       sendto _G_ARGS((int, const void*, int, int, void*, int));
  int       sendmsg _G_ARGS((int, const struct msghdr*, int));
! int       setsockopt _G_ARGS((int, int, int, const char*, int));
  int       shutdown(int, int);
  int       socket(int, int, int);
  int       socketpair(int, int, int, int sv[2]);
--- 32,45 ----
  int       rcmd _G_ARGS((char**, int, const char*, const char*, const char*, int*));
  #endif
  int       recv(int, void*, int, int);
! int       recvfrom _G_ARGS((int, void*, int, int, struct sockaddr*, int *));
  int       recvmsg(int, struct msghdr*, int);
  int       rexec(char**, int, const char*, const char*, const char*, int*);
  int       rresvport(int*);
  int       send _G_ARGS((int, const void*, int, int));
! int       sendto _G_ARGS((int, const void*, int, int, struct sockaddr*, int));
  int       sendmsg _G_ARGS((int, const struct msghdr*, int));
! int       setsockopt _G_ARGS((int, int, int, const void*, int));
  int       shutdown(int, int);
  int       socket(int, int, int);
  int       socketpair(int, int, int, int sv[2]);
--------------------- AND HERE ------------------------
*** wait.h.org	Sun May  9 19:11:44 1993
--- wait.h	Sun May  9 19:12:36 1993
***************
*** 31,37 ****
  extern _G_pid_t wait _G_ARGS((int*));
  extern _G_pid_t waitpid _G_ARGS((_G_pid_t, int*, int));
  extern _G_pid_t wait3 _G_ARGS((int*, int options, struct rusage*));
! extern _G_pid_t wait4 _G_ARGS((int, int*, int, struct rusage*));
  #endif
  }
  
--- 31,37 ----
  extern _G_pid_t wait _G_ARGS((int*));
  extern _G_pid_t waitpid _G_ARGS((_G_pid_t, int*, int));
  extern _G_pid_t wait3 _G_ARGS((int*, int options, struct rusage*));
! extern _G_pid_t wait4 _G_ARGS((pid_t, int*, int, struct rusage*));
  #endif
  }
  
--------------------- AND HERE ------------------------