X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=doc%2Fstandards.texi;h=2582e5c58f26e335a2cf4ff9caee5880fa7036da;hb=18654de05aa2c2fa2cc63e2c9c30b9dc536a33d7;hp=20e27a4463faae6d6bc12d2e801cbf095049dfb7;hpb=fbe57c81fd87acfef431c5f34f0fc84fe1841f18;p=pintos-anon diff --git a/doc/standards.texi b/doc/standards.texi index 20e27a4..2582e5c 100644 --- a/doc/standards.texi +++ b/doc/standards.texi @@ -50,7 +50,9 @@ this documentation (@pxref{References}). If you remove existing Pintos code, please delete it from your source file entirely. Don't just put it into a comment or a conditional compilation directive, because that makes the resulting code hard to -read. If you're worried about +read. We're only going to do a compile in the directory for the current +project, so you don't need to make sure that the previous projects also +compile. @node Conditional Compilation @section Conditional Compilation @@ -75,11 +77,6 @@ compile properly without the need for any new macros to be defined. There are a few exceptions: @itemize @bullet -@item -Problem 1-2, @func{thread_join}. Some other code expects -@code{THREAD_JOIN_IMPLEMENTED} to be defined once you've implemented -this function. - @item Problem 1-4, the advanced scheduler. We must be able to turn this on and off with a compile-time directive. You must use the macro name we @@ -205,7 +202,7 @@ terminator and it has performance problems besides. Again, use @func{strlcpy}. @item strcat -Same issue as @func{strcpy}, but substitute @func{strlcat}. +Same issue as @func{strcpy}. Use @func{strlcat} instead. Again, refer to comments in its source code in @code{lib/string.c} for documentation.