Re: Cygwin 3.3.6: PHP's SplFileObject::fwrite seems broken

2022-10-01 Thread Ken Brown
On 10/2/2022 1:16 AM, Hans Henrik Bergan wrote: ... actually i forgot that the default fopen mode is "rb" [...] changing the code to SplFileObject("bug.txt", "rb"); makes the code work I don't think you wrote what you meant. You're not saying that explicitly specifying the default value

[ANNOUNCEMENT] Updated: extractpdfmark 1.1.1-1

2022-10-01 Thread Masamichi Hosoda
The following packages have been uploaded to the Cygwin distribution: * extractpdfmark-1.1.1-1 Extract PDFmark is able to extract page mode and named destinations as PDFmark from PDF. By using this you can get the small PDF files that have preserved the page mode and the named destinations.

Updated: extractpdfmark 1.1.1-1

2022-10-01 Thread Masamichi Hosoda
The following packages have been uploaded to the Cygwin distribution: * extractpdfmark-1.1.1-1 Extract PDFmark is able to extract page mode and named destinations as PDFmark from PDF. By using this you can get the small PDF files that have preserved the page mode and the named destinations.

Re: Cygwin 3.3.6: PHP's SplFileObject::fwrite seems broken

2022-10-01 Thread Hans Henrik Bergan
... actually i forgot that the default fopen mode is "rb" ... anyhow, here is what's supposed to happen: $ touch bug.txt; chmod 0777 bug.txt; php -r '$o=new SplFileObject("bug.txt");var_dump($o->fwrite("test"));var_dump(error_get_last());' PHP Notice: SplFileObject::fwrite(): Write of 4 bytes

Cygwin 3.3.6: PHP's SplFileObject::fwrite seems broken

2022-10-01 Thread Hans Henrik Bergan
running PHP 7.3.7 in Cygwin 3.3.6, and SplFileObject::fwrite seems completely broken. to reproduce: $ touch bug.txt; chmod 0777 bug.txt; php -r '$o=new SplFileObject("bug.txt");var_dump($o->fwrite("test"));var_dump(error_get_last());' int(0) NULL so both fwrite() and error_get_last() failed to

Re: heic to jpg conversion

2022-10-01 Thread Andrey Repin
Greetings, ambrose huang! > I have Cygwin with imagemagick 7.0.10-27 and I installed libheif just in case. > But when I try to convert from heic to jpg I get the following error: > $ magick test.heic test.jpg > magick: no decode delegate for this image format `HEIC' @ >

Re: [Bug] setup regression #2

2022-10-01 Thread Jon Turney
On 22/09/2022 18:14, Achim Gratz wrote: The release_2.91 comes with another regression that still puzzles me. In a nutshell, the three commits that deal with setting up the groups during / after installation 2022-08-27 Jon Turney Drop setting root_scope as a side-effect of

Re: [Bug] setup regression

2022-10-01 Thread Jon Turney
On 27/09/2022 14:51, Christian Franke wrote: Christian Franke wrote: ... I made the false assumption that default_version=empty in set_action() always implies that the default version is not accessible. This is not the case for packages selected for installation before chooser is visible.

Re: heic to jpg conversion

2022-10-01 Thread ambrose huang
Hello, I have Cygwin with imagemagick 7.0.10-27 and I installed libheif just in case. But when I try to convert from heic to jpg I get the following error: $ magick test.heic test.jpg magick: no decode delegate for this image format `HEIC' @ error/constitute.c/ReadImage/562. $ mogrify -format