CRiSP Blog

dtrace updates

I posted a new release of dtrace last night, and theres some silly
issues to resolve in that release. Its fine on Ubuntu 10.04 and 10.10
and probably lots of earlier releases, but thought it worth highlighting
some of the blips I found on an RedHat AS4 build:

  1. If yacc is used, especially older yaccs, a bison construct can lead to a
    compile time error. Bison allows "string" tokens, so that on an error
    message it doesnt print something ugly, like "Syntax error near DT_OPEN_BRACE".
    Unfortunately, old yacc either doesnt reject this or happily accepts a
    token like "sizeof" which then causes a #define of sizeof - the keyword,
    and causes strange and difficult to diagnose compiler diagnostics.
    I will need to put in a yacc/bison detect to handle this.
  2. INET_ADDRSTRLEN are not being handled properly for older kernels,
    when the #define is in a file we are not including.
  3. The changes for the lockless ioctl() result in backward compile
    time problems since neither unlock_ioctl() or compat_ioctl() are available
    and the code doesnt default to the old style ioctl(). (The major
    difference here is that the old ioctl() callback would have
    a 'struct node' and 'struct file' argument, whereas both unlocked_ioctl
    and compat_ioctl only pass in a struct file. Some #ifdef's should handle
    this.
  4. Another one or two minor issues.


Keep an eye out on the download page for a new release this weekend.

Post created by CRiSP v10.0.3a-b5928


Read more http://crtags.blogspot.com/2011/01/dtrace-updates.html

Testimonials

"I have been using the CRiSP editor for about 3 years. It is by far one the best text editors I have ever used. It is very reliable, and I have yet to lose any data using it. It makes the editing and compiling process effortless, and it frees up more time for other tasks. The colorization, buffering, and column editing features are well worth the cost of this software."

paypal_horiz