Niklas Hambüchen

Results 370 comments of Niklas Hambüchen

Yes, I agree that those are two sane choices. I wonder whether they should be suggested in F.21, or whether it would extend it too much. A separate annoyance about...

> error on files that begin with '-' but are not after -- to avoid confusion I think this would work equally well: I don't care about how a program...

I believe `libgphoto2` is supposed to handle large files [here](https://github.com/gphoto/libgphoto2/blob/8342aa0cd2b22adf7df7b8f2be0b9960a693c3b4/camlibs/ptp2/ptp.c#L8645-L8650): ```c case PTP_OPC_ObjectSize: if (prop->datatype == PTP_DTC_UINT64) { ob->oi.ObjectCompressedSize = prop->propval.u64; } else if (prop->datatype == PTP_DTC_UINT32) { ob->oi.ObjectCompressedSize =...

While comparing how `libgphoto2` deals with large files on our Samsung Galaxy S7, I found that there's a recent regression that breaks it for that phone while it was working...

Hey, thanks for your reply. > First paragraph was about `ObjectCompressedSize` field of `ObjectInfo` structure. It has fixed size of 32 bits. Second paragraph is about object property Ah I...

@xzfc That's great, thanks a lot. Could you add it to the README (or maybe link to a separate `.md` file if it's too long)? This is much less constraining...

I tried with this code `nonblocking-file-io-test.c`: ```c #include #include #include #include #include int main(int argc, char const *argv[]) { if (argc != 2) { fprintf(stderr, "Usage: %s FILENAME\n", argv[0]); exit(1);...

@littledan I have now tried it on a raw block device (just a primary partition on my disk) with `O_DIRECT`, and without, using this code: ```c #define _GNU_SOURCE #include #include...

Thanks for your explanations! > As for creating the call graph for the `haskell-navigation`, you definitely should use `haskell-indexer`, because at the moment it is not possible to generate the...

I have attached two commits to not crash on Windows as you mentioned (unfortunately I cannot test this) and to update the docs. In the docs of `hid_error`, I wrote:...