I've resorted to using a copy of js_fgets in couchjs, I couldn't find a suitable alternative elsewhere. getline is the closest thing to it, but that has it's own issues:
1) It internally uses malloc, which may not always be the same allocator that spidermonkey uses 2) It reads until a newline, but js_fgets handles newline or carriage return -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/682866 Title: CouchDatabase() call hangs -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
