Comments (3)
Obligatory os2 isn't ready for use yet + only really tested on Windows.
This is an infinite loop on unix because read
returns 0 bytes when at eof on Unix, while on Windows it actually returns an error saying it is eof.
So to fix it would need to check if n == 0
and return.
from odin.
Is read
returning 0 into n
?
from odin.
We also need to make the behaviour the same across OSes too for this. So that it will work.
from odin.
Related Issues (20)
- Panic with unused `~uint`
- Default Value Bug With Package Boundaries (or Needs Better Error)
- Invalid code compiles and produces a binary that crashes with SIGSEGV
- Assertion Failure: addr.bitfield.bit_size in llvm_backend_general.cpp(1183) during compilation
- Accessing a #soa pointer in a struct field under `using` doesn't work correctly, and leads to compiler panic HOT 1
- Parapoly type specialization fails on `bit_field` types
- Compiler panic when using bit_field in combination with Maybe and or_continue
- Compiler assertion failure when putting or_break in loop condition
- Invalid code generation similar to #3578
- `using` sometimes doesn't work HOT 6
- Panic when using `distinct []byte` in a union
- Issues with core:text/i18n.parse_mo_from_bytes(): 1. it doesn't know about key contexts HOT 2
- Issues with core:text/i18n.parse_mo_from_bytes(): 2. number of plural forms HOT 2
- Linking fails on dev-2024-05 with: cannot find crtbegin.o HOT 4
- Compiler fails to error #load()
- Dynamically setting width format no longer working
- Compiler crash when using #load with or_return and diverging procedure HOT 1
- Matrix type wrapped in a `Maybe` triggers assert
- Default switch case can panics compiler for pointer to union reference
- min(type),max(type) in global array initializer yields LLVM error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from odin.