[BACK]Return to os-openbsd.h CVS log [TXT][DIR] Up to [local] / src / usr.bin / rdist

Diff for /src/usr.bin/rdist/Attic/os-openbsd.h between version 1.9 and 1.10

version 1.9, 1997/07/22 06:59:39 version 1.10, 1998/06/26 21:21:16
Line 1 
Line 1 
 /* * $OpenBSD$*/  
 /*  /*
  * Copyright (c) 1993 Michael A. Cooper   * Copyright (c) 1993 Michael A. Cooper
  * Copyright (c) 1993 Regents of the University of California.   * Copyright (c) 1993 Regents of the University of California.
Line 34 
Line 33 
  */   */
   
 /*  /*
    * $OpenBSD$
  */   */
   
 /*  /*
Line 41 
Line 41 
  */   */
   
 /*  /*
  * Define the following name for use in #ifdef's.   * NOTE: OpenBSD uses 64-bit file size semantics, and so you
  * The value should be all upper-case with no periods (.).  
  */  
 #if     !defined(FREEBSD)  
 #define FREEBSD  
 #endif  
   
 /*  
  * NOTE: FreeBSD uses 64-bit file size semantics, and so you  
  * must be careful when using varargs-type functions   * must be careful when using varargs-type functions
  * like the *printf family when printing elements which   * like the *printf family when printing elements which
  * might be 64-bits (such as stat->st_size from stat.h).   * might be 64-bits (such as stat->st_size from stat.h).
Line 58 
Line 50 
 /*  /*
  * Set process args to messages that show up when running ps(1)   * Set process args to messages that show up when running ps(1)
  *   *
  * Under some OS's, the SETARGS code will cause ": is not an identifier"   * OpenBSD has setproctitle() in libc so we don't want to use rdist's.
  * errors for "special" commands.  
  */   */
 #define SETARGS  #define HAVE_SETPROCTITLE
   
 /*  /*
  * Define the type of directory routines your system has.   * Define the type of directory routines your system has.
Line 73 
Line 64 
  */   */
 #define FSI_TYPE        FSI_GETFSSTAT  #define FSI_TYPE        FSI_GETFSSTAT
 #ifndef FSTYPENAME  #ifndef FSTYPENAME
 #define FSTYPENAME      1               /* For OpenBSD 1.x */  #define FSTYPENAME      1               /* use f_fstypename */
 #endif  #endif
   
 /*  /*
Line 145 
Line 136 
 #define HAVE_SELECT                     /* Have select() */  #define HAVE_SELECT                     /* Have select() */
 #define HAVE_SAVED_IDS                  /* Have POSIX style saved [ug]id's */  #define HAVE_SAVED_IDS                  /* Have POSIX style saved [ug]id's */
 #define POSIX_SIGNALS                   /* Have POSIX signals */  #define POSIX_SIGNALS                   /* Have POSIX signals */
   #define HAVE_PATHS_H                    /* Have <paths.h> */
   
 /*  /*
  * Things we need   * Things we need
  */   */
 #define NEED_UNISTD_H                   /* Need <unistd.h> */  #define NEED_UNISTD_H                   /* Need <unistd.h> */
 #define NEED_STDLIB_H                   /* Need <stdlib.h> */  
 #define NEED_STRING_H                   /* Need <string.h> */  #define NEED_STRING_H                   /* Need <string.h> */
   
 /*  /*
  * We have <paths.h>   * Use the system <paths.h>
  */   */
 #define PATHS_H <paths.h>  #define PATHS_H         <paths.h>

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10