DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 8th July 2008
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Helpful companion
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Thanked 193 Times in 184 Posts
Default Our friend Otto@ fixes an old bug..

Otto Moerbeek (otto@) recently found and fixed an ancient bug (some 33 years old) in yacc(1).

http://undeadly.org/cgi?action=artic...20080708155228

It's things like this that make me proud to be a OpenBSD user, when bug appears.. they go to the extremes to fix it.
Reply With Quote
  #2   (View Single Post)  
Old 8th July 2008
revzalot's Avatar
revzalot revzalot is offline
Shell Scout
 
Join Date: May 2008
Posts: 123
Thanked 1 Time in 1 Post
Default

Practical paranoia at its finest.
Reply With Quote
  #3   (View Single Post)  
Old 8th July 2008
tuck's Avatar
tuck tuck is offline
Shell Scout
 
Join Date: May 2008
Posts: 99
Thanked 14 Times in 6 Posts
Default

Oh this bug is much older than the one that Marc Balmer found a few weeks ago
Don't blame the yacc(1) creator "The bug was only triggered on sparc64, since it uses 8k pages." he couldn't know back in '75 that we use 64bit today

Last edited by tuck; 8th July 2008 at 07:06 PM.
Reply With Quote
  #4   (View Single Post)  
Old 8th July 2008
TerryP's Avatar
TerryP TerryP is offline
Arp Constable
 
Join Date: May 2008
Location: USofA
Posts: 1,547
Thanked 112 Times in 104 Posts
Default

Hmm, I guess somethings just slip peoples mind until they bite you in the ass years later :\

@tuck

8=)

Thou shalt foreswear, renounce, and abjure the vile heresy which claimeth that ``All the world's a VAX'', and have no commerce with the benighted heathens who cling to this barbarous belief, that the days of thy program may be long even though the days of thy current machine be short.
__________________
My Journal

Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''.
Reply With Quote
  #5   (View Single Post)  
Old 11th July 2008
18Googol2's Avatar
18Googol2 18Googol2 is offline
Real Name: whoami
Spam Deminer
 
Join Date: Apr 2008
Location: pwd
Posts: 283
Thanked 20 Times in 18 Posts
Default

Quote:
Originally Posted by TerryP View Post
Thou shalt foreswear, renounce, and abjure the vile heresy which claimeth that ``All the world's a VAX'', and have no commerce with the benighted heathens who cling to this barbarous belief, that the days of thy program may be long even though the days of thy current machine be short.
thumb up for the English, though I absolutely have no idea what you are talking about
Reply With Quote
  #6   (View Single Post)  
Old 11th July 2008
TerryP's Avatar
TerryP TerryP is offline
Arp Constable
 
Join Date: May 2008
Location: USofA
Posts: 1,547
Thanked 112 Times in 104 Posts
Default

Oh trust me, I couldn't write in that style of English if a love life depended on it <_<


It comes from an oldy called the ten commands of C programmers.



Basically what it means is if you assume all the world is using what you use, say for example -- you only use a 32-Bit Intel Pentium II with , so you write code that depends on that for something very intimate to that processor and it's hardware but does something really neat.


Then oh crap, you get a shiny new PC running a 128-Bit, 8 core, perfluorocarbon cooled AMD CPU screamin' for new programs.


You Foxtrot Uniform Charle Kilo'ed yourself and anyone else who wants to run your program without a lot of work.


Or what if your using a machine with an 8-Bit byte and a 8 byte word and then machines with 18-bit bytes and 8 byte words become all the rage? It's not likely for the size of a byte to actually change but it is arch dependent if I ever paid any attention.



The "All the world's a VAX" probably dates back to the days of the VAX machines and traditional C: to day I think a better choice of words would be "All the words a x86 (32-bit)" or "all the worlds a Pentium"


I don't think I've ever seen anything *really* stupid other then assumptions about the sizes of various types (or just disregard for possible differences) but ya never know these days !!!
__________________
My Journal

Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:48 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick