Add comments.
authorBruno Haible <bruno@clisp.org>
Sat, 6 Dec 2008 15:50:32 +0000 (16:50 +0100)
committerBruno Haible <bruno@clisp.org>
Sat, 6 Dec 2008 15:50:32 +0000 (16:50 +0100)
ChangeLog
lib/c-stack.h

index d37da3ba80ce7d590c46cd7535ede6eaee0ab373..f6ed8158c47e907e9c2e4070ad22a06bddd0bfb2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-12-06  Bruno Haible  <bruno@clisp.org>
+
+       * lib/c-stack.h (c_stack_action): Clarify possible side effects.
+       Suggested by Eric Blake.
+
 2008-12-06  Bruno Haible  <bruno@clisp.org>
 
        Fix a c-stack test failure on MacOS X.
index 8c06541fd62c2239be345b2dfc97ae176d99dbd1..e1e0a6e44876f5093151bf24cea8befff50860d8 100644 (file)
@@ -36,6 +36,9 @@
    ACTION must be async-signal-safe.  ACTION together with its callees
    must not require more than SIGSTKSZ bytes of stack space.  Also,
    ACTION should not call longjmp, because this implementation does
-   not guarantee that it is safe to return to the original stack.  */
+   not guarantee that it is safe to return to the original stack.
+
+   This function may install a handler for the SIGSEGV signal or for the SIGBUS
+   signal or exercise other system dependent exception handling APIs.  */
 
 extern int c_stack_action (void (* /*action*/) (int));