Jump to content
Excelsior Forums
Sign in to follow this  
qnr

Excelsior Freeware License Agreement question

Recommended Posts

OK, if I wanted to modify POSIX/signal.def to reflect the new sigaction structure:

(from  man sigaction - note the sa_restorer field that has been added, for example)

              struct sigaction {
                  void (*sa_handler)(int);
                  void (*sa_sigaction)(int, siginfo_t *, void *);
                  sigset_t sa_mask;
                  int sa_flags;
                  void (*sa_restorer)(void);
              }

It would be against the license rules, right? Even if I wasn't planning on redistributing it?  Just checking - I have no problem putting my own sigaction in a different definition module, but it would make more sense to have everything in one place.

Actually, I'm confused, the man page says sa_restorer is obsolete - however, it was pointed out on comp.lang.modula2 that it is required for the 2.6 kernel

Share this post


Link to post
Share on other sites

I need to review the license, but if it indeed prohibits modification, a quick workaround is to write mysignal.def re-exporting all types and procedures from signal.def that were not changed, and redefining the types and procedures that were changed.

Also, are you using Native XDS-x86 or XDS-C?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×