Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.lang.c    |    Meh, in C you gotta define EVERYTHING    |    243,242 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 242,368 of 243,242    |
|    Michael Sanders to Paul    |
|    Re: is_binary_file()    |
|    08 Dec 25 17:56:26    |
      From: porkchop@invalid.foo              On Sat, 6 Dec 2025 03:14:55 -0500, Paul wrote:              > It is the year 2025.       >       > How many times do you suppose someone has considered this question ?       >       > I'm not trying to be a smart ass by saying this, just that the       > question is bound to be nuanced. You can do a fast and totally       > inaccurate determination. You can do a computationally expensive       > or I/O expensive determination.              I get it Paul, but as with all things, there's lots of opinions on this.              > There has to be a reason for doing this, and a damn good reason.       >       > *******       >       > There is the "file" command.       >       > It was invented in 1973.       >       > https://en.wikipedia.org/wiki/File_%28command%29       >       > The beauty of this command, is it has some sort of ordered       > approach to file determination.              And... is not generally available on Windows & causes a 3rd party       dependency. Not to say that you're not correct in your thinking       but I want portability. And there are lots of things I want that       dont always happen either...              > [...]              Thanks Paul, actually I do appreciate your rant & the detailed examples       you cite. I'm in the same place with my project, it can be very frustrating.              --       :wq       Mike Sanders              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca