===================================================================
RCS file: /cvsrepo/anoncvs/cvs/www/Attic/porting.html,v
retrieving revision 1.16
retrieving revision 1.17
diff -c -r1.16 -r1.17
*** www/Attic/porting.html 1998/12/21 21:48:41 1.16
--- www/Attic/porting.html 1999/01/31 23:29:28 1.17
***************
*** 95,101 ****
strcat/strcpy/strcmp/sprintf
. In general,
sprintf
should be replaced with snprintf
.
!
/tmp
with symbolic links to more strategic files, such as
--- 95,101 ----
strcat/strcpy/strcmp/sprintf
. In general,
sprintf
should be replaced with snprintf
.
! /tmp
with symbolic links to more strategic files, such as
***************
*** 111,117 ****
O_CREAT|O_EXCLUDE
and fdopen
instead.
mktemp
! function. Head the warnings of the bsd linker about its uses.
These must be fixed.
This is not quite as simple as s/mktemp/mkstemp/g
. mktemp(3)
man page of OpenBSD current
--- 111,117 ----
O_CREAT|O_EXCLUDE
and fdopen
instead.
mktemp
! function. Heed the warnings of the bsd linker about its uses.
These must be fixed.
This is not quite as simple as s/mktemp/mkstemp/g
. mktemp(3)
man page of OpenBSD current
***************
*** 206,212 ****
historic comments, stating when a particular feature was incorporated
into BSD. Checking the numeric value of BSD
against known
releases is often the right way. See
! the NetBSD package guide
for more information.
BSD
is a bad idea. Try to include sys/param.h
.
This not only defines BSD
, it also gives it a proper value.
--- 206,212 ----
historic comments, stating when a particular feature was incorporated
into BSD. Checking the numeric value of BSD
against known
releases is often the right way. See
! the NetBSD package guide
for more information.
BSD
is a bad idea. Try to include sys/param.h
.
This not only defines BSD
, it also gives it a proper value.
***************
*** 341,346 ****