this post was submitted on 15 Jan 2025
120 points (98.4% liked)

Programmer Humor

32900 readers
1678 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 

The real reason was a boring one and seemingly unrelated to that file. I just ran out of disk space. Still though, that’s not exactly a helpful error is it

you are viewing a single comment's thread
view the rest of the comments
[–] TimeSquirrel@kbin.melroy.org 7 points 2 days ago

In C/C++, it's very common for a function to return an integer corresponding to any errors that occured within the function, including a "success" error code, because it has to return something, otherwise it's undefined.

I'm not sure that's what happened here but that's why "successful" errors are a thing. Somewhere it got misinterpreted maybe.