Crossfire Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Solaris 2.3



uoaps;
I made one mistake which prevents my patches for Solaris to run on 
SunOS 4.1.x:
Here is the correkt one for
include sunos.h
(An now, I read the README for making patches.)
2 root@isg-200: diff -c include/sunos.h.dist include/sunos.h
*** include/sunos.h.dist        Mon Mar  7 07:58:12 1994
--- include/sunos.h     Tue Mar  8 17:29:26 1994
***************
*** 38,119 ****
  #else
  #include <unistd.h>
  #endif
! int strcasecmp(char *, char *);
  char *getenv();
  char *index();
  int _flsbuf();
  int cfree();
- /* extern int free(); */
  int close();
  int fclose();
- int pclose();
- void rewind();
  int fgetc();
  int fputs();
  int fscanf();
  int ftime();
! int fread();
! int getpid();
  int printf();
  int puts();
  int read();
! int rename(char *s1, char *s2);
  int scanf();
  int sscanf();
! int ungetc();
! int unlink();
! int write();
! long atol();
! long RANDOM();
  long strtol();
  time_t time();
! void bcopy();
! /* void exit(); */
! void perror();
! void srandom();
! uid_t getuid();
! uid_t geteuid();
! int seteuid();
! gid_t getgid();
! gid_t getegid();
! int setegid();
! char *_crypt();
! int rmdir();
! int getdtablesize();
! void bzero();
! int select();
! int dup();
  int vprintf();
  int vsprintf();
! int socket();
! int setsockopt();
! int bind();
! int listen();
! int accept();
! char *strdup_local(char *txt);
! int socket();
! int setsockopt();
! int bind();
! int connect();
! int listen();
! int accept();
! int gettimeofday();
! int strncasecmp();
! int gethostname();
! int fork();
! int dup2();
! int ioctl();
! int setpgrp();
  
! #ifndef SOLARIS2_1
! int printf();
! int fprintf();
! int fscanf();
! int scanf();
! int sscanf();
! int system(char *);
! char *memset();
  void fseek (FILE *,long,int);
  int strftime();
! void fflush();
  #endif
--- 38,108 ----
  #else
  #include <unistd.h>
  #endif
! 
! char *_crypt();
  char *getenv();
  char *index();
+ char *memset();
+ char *strdup_local(char *txt);
+ long RANDOM();
  int _flsbuf();
+ int accept();
+ long atol();
+ void bcopy();
+ int bind();
+ void bzero();
  int cfree();
  int close();
+ int connect();
+ int dup();
+ int dup2();
  int fclose();
  int fgetc();
+ int fprintf();
  int fputs();
  int fscanf();
  int ftime();
! int getdtablesize();
! gid_t getegid();
! uid_t geteuid();
! gid_t getgid();
! int gethostname();
! int gettimeofday();
! uid_t getuid();
! int ioctl();
! int listen();
! int pclose();
! void perror();
  int printf();
  int puts();
  int read();
! void rewind();
! int rmdir();
  int scanf();
+ int select();
+ int setegid();
+ int seteuid();
+ int setsockopt();
+ int socket();
+ void srandom();
  int sscanf();
! int strcasecmp(char *, char *);
! int strncasecmp();
  long strtol();
  time_t time();
! int ungetc();
! int unlink();
  int vprintf();
  int vsprintf();
! int write();
  
! #ifndef SVR4
! void fflush();
! int fork();
! int fread();
  void fseek (FILE *,long,int);
+ int getpid();
+ int rename(char *s1, char *s2);
  int strftime();
! int system(char *);
  #endif
-------------end-------------------------------------------------------

Another suggestion: change the file
motd
to remark the newer version.
MfG
Klaus