Mark Geisert via Cygwin wrote:
Hi folks,
I may have a handle on why you're seeing 0.00 load averages. Would you
kindly compile the attached program, run it, and post its results
along with which version of Windows you are running?
For example,
gcc -Wall -ggdb -o test test.c -lpdh
./tes
Christian Franke via Cygwin wrote:
Christian Franke via Cygwin wrote:
Found during test of 'stress-ng --pseek ...' from current upstream
stress-ng git HEAD:
Testcase:
$ uname -r
3.5.4-1.x86_64
$ cat pfail.c
#include
#include
#include
#include
int main()
{
int fd = open(&
Christian Franke via Cygwin wrote:
Found during test of 'stress-ng --pseek ...' from current upstream
stress-ng git HEAD:
Testcase:
$ uname -r
3.5.4-1.x86_64
$ cat pfail.c
#include
#include
#include
#include
int main()
{
int fd = open("pwrite.tmp", O_RDWR|O_CREAT|O
Found during test of 'stress-ng --pseek ...' from current upstream
stress-ng git HEAD:
Testcase:
$ uname -r
3.5.4-1.x86_64
$ cat pfail.c
#include
#include
#include
#include
int main()
{
int fd = open("pwrite.tmp", O_RDWR|O_CREAT|O_BINARY, 0666);
if (fd < 0) {
perror("open"); retur
Brian Inglis via Cygwin wrote:
On 2024-09-19 07:27, Christian Franke via Cygwin wrote:
Mark Liam Brown via Cygwin wrote:
On Mon, Sep 16, 2024 at 11:51 AM Christian Franke via Cygwin
wrote:
Christian Franke via Cygwin wrote:
Thomas Wolff via Cygwin wrote:
Am 15.09.2024 um 20:15 schrieb
Mark Liam Brown via Cygwin wrote:
On Mon, Sep 16, 2024 at 11:51 AM Christian Franke via Cygwin
wrote:
Christian Franke via Cygwin wrote:
Thomas Wolff via Cygwin wrote:
Am 15.09.2024 um 20:15 schrieb Thomas Wolff via Cygwin:
Am 15.09.2024 um 19:47 schrieb Christian Franke via Cygwin:
If a
Christian Franke via Cygwin wrote:
Thomas Wolff via Cygwin wrote:
Am 15.09.2024 um 20:15 schrieb Thomas Wolff via Cygwin:
Am 15.09.2024 um 19:47 schrieb Christian Franke via Cygwin:
If a file name contains an invalid (truncated) UTF-8 sequence, open()
does not refuse to create the file
Thomas Wolff via Cygwin wrote:
Am 15.09.2024 um 20:15 schrieb Thomas Wolff via Cygwin:
Am 15.09.2024 um 19:47 schrieb Christian Franke via Cygwin:
If a file name contains an invalid (truncated) UTF-8 sequence, open()
does not refuse to create the file. Later readdir() returns a
different name
If a file name contains an invalid (truncated) UTF-8 sequence, open()
does not refuse to create the file. Later readdir() returns a different
name which could not be used to access the file.
Testcase with U+1F321 (Thermometer):
$ uname -r
3.5.4-1.x86_64
$ printf $'\U0001F321' | od -A none -t
Cygwin /usr/include/pthread.h:
int pthread_sigqueue (pthread_t *, int, const union sigval);
Linux /usr/include/x86_64-linux-gnu/bits/sigthread.h:
extern int pthread_sigqueue (pthread_t __threadid, int __signo,
const union sigval __value) __THROW;
It is apparently
J M via Cygwin wrote:
...
Specifically for this problem, I have investigated the problem and can be
related to pipes and antivirus.
Specifically
while true
do
echo ABC | grep AAA
done
It makes the cpu of that antivirus go up.
This is as expected because malware scanners hook into Win32 API's
Christian Franke via Cygwin wrote:
,,,
BTW, according to the Linux kernel sources, BLKPBSZGET etc return
'unsigned int' and not 'unsigned long' since first appearance in
2.6.32-rc3 (2009?):
https://elixir.bootlin.com/linux/v2.6.32-rc3/source/block/ioctl.c#L276
https:
Bruce Jerrick via Cygwin wrote:
Downgrading to util-linux-2.33.3-3 does not help. The related code
differs, but has the same problem.
I take that back. The above should read "util-linux-2.33.1-3".
But it was OK in util-linux-2.33.1-3 .
Yes, this is correct. I possibly downgraded util-linux
Hi Mark,
Mark Geisert via Cygwin wrote:
Hi Christian,
On 3/31/2024 1:11 AM, Christian Franke via Cygwin wrote:
Testcase:
# cygcheck -f /sbin/fdisk.exe
util-linux-2.39.3-1
# /sbin/fdisk.exe -l /dev/sdd
Disk /dev/sdd: 465.76 GiB, 500107862016 bytes, 976773168 sectors
Units: sectors of 1 * 512
Testcase:
# cygcheck -f /sbin/fdisk.exe
util-linux-2.39.3-1
# /sbin/fdisk.exe -l /dev/sdd
Disk /dev/sdd: 465.76 GiB, 500107862016 bytes, 976773168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 34359738880 bytes
I/O size (minimum/optimal): 34359738880 b
Corinna Vinschen via Cygwin wrote:
On Mar 23 10:57, Christian Franke via Cygwin wrote:
On Mar 21 16:15, Corinna Vinschen via Cygwin wrote:
On Mar 21 09:58, Christian Franke via Cygwin wrote:
..
I just gave it a try on W11. The results are even more funny than I
anticipated:
...
So, yeah
On Mar 21 16:15, Corinna Vinschen via Cygwin wrote:
On Mar 21 09:58, Christian Franke via Cygwin wrote:
..
I just gave it a try on W11. The results are even more funny than I
anticipated:
...
So, yeah, with your observations especially on older W10 versions and
with 8.1 doing the same thing
Corinna Vinschen via Cygwin wrote:
On Mar 20 12:39, Christian Franke via Cygwin wrote:
Corinna Vinschen via Cygwin wrote:
You have to create an application with an application manifest not
supporting your OS.
For Cygwin apps, this occured when you built, say, an executable under
Windows 8.1
Corinna Vinschen via Cygwin wrote:
On Mar 19 09:18, Bill Stewart via Cygwin wrote:
On Tue, Mar 19, 2024 at 9:01 AM Richard Campbell wrote:
On Tue, Mar 19, 2024 at 9:04 AM Bill Stewart via Cygwin
wrote:
Can you please clarify the circumstances under which the RtlGetVersion
function "may not
Cedric Blancher via Cygwin wrote:
How does cygwin uname -s work, i.e. how does it get the OS version,
revision and build number ('10.0-19045')?
I tried to replicate it via GetVersionEx(), but that is deprecated.
AFAICS, MS does not offer an official way to retrieve the actual Windows
version
Hi,
Lavrentiev, Anton wrote
...
For new installations, it'd be great to have the most suitable (in most cases,
the most
recent) version shown as the first selection in all those pulldown version
lists in
the "New" columns. The logical order would be "the preferred (latest) version",
"the vers
Jon Turney via Cygwin wrote:
On 13/02/2024 13:02, Christian Franke via Cygwin wrote:
Jon Turney via Cygwin wrote:
On 12/02/2024 16:49, ASSI via Cygwin wrote:
Christian Franke via Cygwin writes:
This requires that always the same build directory is used.
Would that be solvable by using
Jon Turney via Cygwin wrote:
On 13/02/2024 13:02, Christian Franke via Cygwin wrote:
Jon Turney via Cygwin wrote:
On 12/02/2024 16:49, ASSI via Cygwin wrote:
Christian Franke via Cygwin writes:
This requires that always the same build directory is used.
Would that be solvable by using
Jon Turney via Cygwin wrote:
On 12/02/2024 16:49, ASSI via Cygwin wrote:
Christian Franke via Cygwin writes:
This requires that always the same build directory is used.
Would that be solvable by using -ffile-prefix-map or is there more to
it?
That should now be used in 0.36.8, so something
Jon Turney wrote on cygwin-announce list:
The following packages have been uploaded to the Cygwin distribution:
* cygport-0.36.8-1
cygport is the standard method for building and maintaining packages
for the Cygwin distribution.
...
Add initial support for SOURCE_DATE_EPOCH
Testcas
This is not a binutils regression: A build from cygwin 3.5.0-1 src
package or current newlib-cygwin git main (bfb68a9) with new
binutils-2.42-1 fails with:
"
In file included from ../../../../winsup/utils/dumper.cc:23:
/usr/include/bfd.h:2748:1: error: expected initializer before
‘ATTRIBUTE_WA
Corinna Vinschen via Cygwin wrote:
On Jan 22 16:47, Christian Franke via Cygwin wrote:
Busybox does not build OOTB on Cygwin due to the addition of itoa/utoa() to
newlib in 2014:
https://cygwin.com/git/?p=newlib-cygwin.git;a=commit;h=32c96dd
This is because Busybox use local functions with
matth...@gmx.li wrote:
fdisk reports the same partition type as sfdisk. It report "Microsoft basic
data" for NTFS as well
as for FAT32 partitions.
That is as expected and differs from MBR disks. The same GPT partition
GUID is used for NTFS and the various FAT filesystem types.
https://en.wik
Matthias--- via Cygwin wrote:
I'm using sfdisk for analysing partitions on msdos partition tables.
Unfortunately it don't support
GPT tables.
Is there another tool, like parted, what can be used?
/sbin/fdisk from package util-linux-2.33.1-2 supports GPT.
--
Regards,
Christian
--
Problem rep
Brian Inglis via Cygwin wrote:
On 2023-10-14 07:47, Eliot Moss via Cygwin wrote:
On 10/14/2023 7:39 AM, Cedric Blancher via Cygwin wrote:
On Fri, 11 Aug 2023 at 19:14, Brian Inglis wrote:
...
...
$ cygcheck -p usr/bin/chrt
Found 2 matches for usr/bin/chrt
util-linux-debuginfo-2.33.1-2 - uti
Jon Turney via Cygwin wrote:
A new setup release candidate is available at:
...
- Translation updates.
- Add German and Polish translations (thanks to weblate contributors
Markus, Ettore Atalan, Luis Mengel and WaldiS)
Some small adjustments have been made to the layout of the dialog
templ
Jim Garrison via Cygwin wrote:
On 9/21/2023 22:40, Martin Wege via Cygwin wrote:
Hello,
How can I use /usr/bin/dd to copy a *.iso image (Debian netinstall
boot image) to a USB stick as raw bytes?
I do this frequently. You must start the Cygwin shell with admin
rights, then use Windows Disk M
Martin Wege via Cygwin wrote:
On Fri, Sep 22, 2023 at 9:42 AM Christian Franke via Cygwin
wrote:
Martin Wege via Cygwin wrote:
Hello,
Does Cygwin have a tool to run a bash script as SYSTEM user if my
account already have admin rights?
No (AFAIK).
I use psexec from Sysinternals tools
(https
Martin Wege via Cygwin wrote:
Hello,
Does Cygwin have a tool to run a bash script as SYSTEM user if my
account already have admin rights?
No (AFAIK).
I use psexec from Sysinternals tools
(https://learn.microsoft.com/sysinternals/downloads/psexec)
This starts a Cygwin terminal as SYSTEM use
Takashi Yano via Cygwin wrote:
On Thu, 21 Sep 2023 21:06:59 +0200
Christian Franke wrote:
...
According to libstdc++ source, the internal function
locale::facet::_S_create_c_locale() calls some __newlocale() which
apparently does not arrive at newlocale() from cygwin1.dll. But
cygstdc++-6.dll
Brian Inglis via Cygwin wrote:
On 2023-09-21 10:28, Takashi Yano via Cygwin wrote:
On Fri, 22 Sep 2023 01:12:04 +0900
Takashi Yano wrote:
I wonder why the following code throws std::runtime_error
even though the LC_ALL is set to valid locale other than "C".
This does not occur only when LC_ALL
Found during tests of busybox package:
If the path of the top build directory contains a symlink and the
project's build scripts normalize pathnames, no debug info is created by
cygport.
This is because options like
-fdebug-prefix-map=${B}=/usr/src/debug/${PF}
have no effect because ${B} cont
The following packages have been uploaded to the Cygwin distribution:
* busybox-1.36.1-1
* busybox-standalone-1.36.1-1
* busybox-doc-1.36.1-1
BusyBox combines tiny versions of many (un)common utilities into a
single executable. It is still smaller than bash.
https://busybox.net/about.html
Th
Corinna Vinschen via Cygwin wrote:
On Aug 18 11:51, Martin Wege via Cygwin wrote:
On Fri, Aug 18, 2023 at 7:27 AM Jonathon Merz via Cygwin
wrote:
On Thu, Aug 17, 2023 at 7:13 PM Martin Wege via Cygwin
wrote:
Just an idea: Could the default background color of the Cygwin console
be changed f
Jonathon Merz via Cygwin wrote:
On Thu, Aug 17, 2023 at 7:13 PM Martin Wege via Cygwin
wrote:
Just an idea: Could the default background color of the Cygwin console
be changed from black to grey (or RED) if the terminal has been
started with Administrator rights?
Assuming that:
1. The Admini
Christian Franke via Cygwin wrote:
...
- Man pages could no longer be formatted with a specific font. Only
header and footer lines use the selected font then, the rest stays
at the default font 'T':
[…]
Intentional change or regression?
IDK, ask upstream.
OK, will do. D
ASSI via Cygwin wrote:
Christian Franke via Cygwin writes:
ASSI via Cygwin wrote:
- Various PDF fonts produce warnings but seem to work in general:
$ echo "Hello, World!" | groff -Tpdf -f A > hello.A.pdf
/usr/bin/gropdf: warning: The download file in
'/usr/share/groff/1.23.0
ASSI via Cygwin wrote:
GNU roff has been updated to the latest upstream version 1.23.0. The
following packages are available on Cygwin:
groff-1.23.0-1
groff-perl-1.23.0-1
groff-X11-1.23.0-1
- Various PDF fonts produce warnings but seem to work in general:
$ echo "Hello, World!" | grof
te-if-done' of ddrescuelog no longer returns an error if
the mapfile is read from standard input. Instead it behaves like
'-D, --done-status' because there is nothing to delete.
'ddrescuelog --show-status' now rounds percentages up to get the sum closer
to 100%.
The d
Eliot Moss via Cygwin wrote:
On 1/15/2023 3:38 AM, Christian Franke via Cygwin wrote:
Eliot Moss via Cygwin wrote:
I have a separate drive mounted this way:
d:/ /cygdrive/d ntfs binary,posix=0,user,noacl,auto 0 0
One thing I use it for is to store backup files. These tend to be 2 Gb
chunks
Eliot Moss via Cygwin wrote:
I have a separate drive mounted this way:
d:/ /cygdrive/d ntfs binary,posix=0,user,noacl,auto 0 0
One thing I use it for is to store backup files. These tend to be 2 Gb
chunks, and there can be hundreds of them in the backup directory.
(The drive
is 5Tb.) The Wi
Dan Harkless via Cygwin wrote:
On 12/9/2022 3:39 AM, Oskar Skog via Cygwin wrote:
On 2022-12-07 23:54, Dan Harkless via Cygwin wrote:
> No. It's normal and common for software like Cygwin, which has the
> power to be used maliciously (as opposed to, say, a Minesweeper
game or > something), t
Adam Dinwoodie wrote:
...
- Add Ctrl-I/R/U as keyboard accelerators for
install/reinstall/uninstall in the package chooser (thanks to Christian
Franke)
I am also very grateful for this, too – I'm a keyboard monkey and I
find the current package selection process somewhat tedious – but I
Andrew Schulman via Cygwin wrote:
The permission of cygwin.fish looks somewhat random (depends on umask
during build?):
$ tar tvf fish-3.4.1-1.tar.xz etc/defaults/etc/fish/conf.d/cygwin.fish
-rw-r-xr-- ... 1101 2022-04-07 20:34
etc/defaults/etc/fish/conf.d/cygwin.fish
$ tar tvf fish-3.5.0-1.tar
Hamish McIntyre-Bhatty wrote:
I recently noticed that smartctl only works when the Cygwin Terminal
isn't run as administrator - the opposite way round to Linux where you
need superuser privileges to access the disk.
With Administrator privileges on Windows 11, I get:
"Read Device Identity Fai
Eliot Moss wrote:
I've not been able to find a way to get setup, when used from the command
line, to *re*install an existing package, so as to repair any brokenness.
For context, I had my disk get trashed and restored from a cloud backup.
However, that tool is not entirely competent about everyt
Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin wrote:
I then see "C-@" echoed in the minibuffer, and the resulting *Help* buffer says
WFIW, in the DEC VT terminals (from where most of ANSI controls stem from),
Ctrl-Space used to
generate a NUL character (ASCII '\0'), and so maybe it is seen as
Achim Gratz wrote:
Christian Franke writes:
This version aborts if "Sync" setting is reverted to "Best".
If the abort goes away when building setup with the previous version of
libsolv then you might have found an easier reproducer for a bug I'm
chasing… Running i
Jon Turney wrote:
A new setup release candidate is available at:
https://cygwin.com/setup/setup-2.920.x86_64.exe (64 bit version)
https://cygwin.com/setup/setup-2.920.x86.exe (32 bit version)
Please test, and report any problems here.
This version aborts if "Sync" setting is reverted t
Andrey Repin wrote:
Greetings, Christian Franke!
...
Unfortunately the ipconfig output is always localized, so this does only
work OOTB with English versions of Windows. The ipconfig parsing is also broken
due to two reasons:
- The current Cygwin versions of awk, grep and sed no longer
Lee wrote:
On 8/9/22, Christian Franke wrote:
Brian Inglis wrote:
I've been running with /etc/resolv.conf for a few years now, generated
from the ISP info from ipconfig and lists of public DNS servers and
suffixes.
The attached postinstall script 0p_l_etc_resolv_conf.dash generates
Brian Inglis wrote:
I've been running with /etc/resolv.conf for a few years now, generated
from the ISP info from ipconfig and lists of public DNS servers and
suffixes.
The attached postinstall script 0p_l_etc_resolv_conf.dash generates a
new resolv.conf and replaces the current if different
Oskar Skog wrote:
Deleting a directory with the same name as a shortcut deletes everything
in the current working directory.
Tested on:
CYGWIN_NT-10.0-19044 3.3.5-341.x86_64 2022-05-13 12:27 UTC x86_64 Cygwin
CYGWIN_NT-10.0-22000 3.3.5-341.x86_64 2022-05-13 12:27 UTC x86_64 Cygwin
Script to rep
Jon Turney wrote:
On 07/07/2022 15:45, Christian Franke wrote:
Jon Turney wrote:
On 06/07/2022 17:34, Christian Franke wrote:
Jon Turney wrote:
On 06/07/2022 08:14, Christian Franke wrote:
[...]
BTW: 'nt_sec.setDefaultSecurity (isAdmin)' is never called with
'is
Andrew Schulman via Cygwin-announce wrote:
fish 3.5.0-1 is now available in Cygwin. This release has many small
improvements and bug fixes since the previous Cygwin release, 3.4.1-1. See
the upstream release notes[1] for a list.
Please note this minor permission issue which may affect install
Jon Turney wrote:
The following packages have been uploaded to the Cygwin distribution:
* cygport-0.35.2-1
cygport is the standard method for building and maintaining
packages for the Cygwin distribution.
Jon Turney (7):
Add LICENSE variable
I would suggest to print a note or warning
The permission of cygwin.fish looks somewhat random (depends on umask
during build?):
$ tar tvf fish-3.4.1-1.tar.xz etc/defaults/etc/fish/conf.d/cygwin.fish
-rw-r-xr-- ... 1101 2022-04-07 20:34
etc/defaults/etc/fish/conf.d/cygwin.fish
$ tar tvf fish-3.5.0-1.tar.xz etc/defaults/etc/fish/conf.d
oes not perform the initialization of /etc/.git.
Run 'etckeeper init && etckeeper commit' manually under the same user
which is effective during setup.
Christian Franke
--
Problem reports: https://cygwin.com/problems.html
FAQ: https://cygwin.com/fa
the PATH, gpg2 takes precedence. Non-Cygwin
versions of gpg2 or gpg are also supported if no Cygwin gnupg* Package
is installed.
Christian Franke
--
Problem reports: https://cygwin.com/problems.html
FAQ: https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.h
Christian Franke
--
Problem reports: https://cygwin.com/problems.html
FAQ: https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
Libor Ukropec wrote:
Hi Christian,
few moments ago I uploaded 0.8.22 duplicity which should have all
dependencies in cygwin. Any feedback is welcome.
A first quick backup+restore test worked as expected.
Thanks,
Christian
--
Problem reports: https://cygwin.com/problems.html
FAQ:
Testcase:
$ cygcheck -f /usr/bin/duplicity
duplicity-0.7.19-1
$ duplicity --version
Traceback (most recent call last):
File "/usr/bin/duplicity", line 42, in
import fasteners
File "/usr/lib/python2.7/site-packages/fasteners/__init__.py", line
23, in
from fasteners.lock import loc
Steve Ward via Cygwin wrote:
Description of problem:
While using vim 8.2 on cygwin 3.3 (x86_64) on Windows 10,
when editing an existing file with vim and saving it, the Window’s
file system archive bit is always left cleared (not modified state).
This happens, whether the archive bit was set (is
Peter Steiner via Cygwin wrote:
On webpage
https://cygwin.com/
I found only a CgyWin Installer to download.
I occasionally use Cygwin installed to NTFS partitions of USB flash
drives for many years now. No problems so far, but the use cases were
typically limited to "rescue" purposes (mintt
Takashi Yano via Cygwin wrote:
On Fri, 20 Aug 2021 16:28:42 -0700
Mark Geisert wrote:
Hi Takashi,
Takashi Yano via Cygwin wrote:
...
However, I encountered a problem with putclip.
Run 'echo | putclip' and paste clipboard to notepad.exe.
Pasted string is garbled in my environment.
Wha
Christian
From 4cf442906ea9654543dd6683960993361f02e525 Mon Sep 17 00:00:00 2001
From: Christian Franke
Date: Sat, 14 Aug 2021 15:14:27 +0200
Subject: [PATCH] cygdrop: Fix printf format strings.
---
src/cygdrop/cygdrop.cc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/s
From 330e4c8033ea17c312867906092397425d977c07 Mon Sep 17 00:00:00 2001
From: Christian Franke
Date: Sat, 14 Aug 2021 14:32:25 +0200
Subject: [PATCH] cygdrop: Fix return type of 'void' function.
This fixes a crash with recent versions of g++ (GCC Bugzilla 96181).
---
src/cygdrop/cygdrop
licensecheck does not longer work:
$ cygcheck -f /bin/perl
perl_base-5.32.1-1
$ cygcheck -f /bin/licensecheck
licensecheck-2.15.8-1
$ licensecheck
Can't locate Dpkg/IPC.pm in @INC (you may need to install the Dpkg::IPC
module)
(@INC contains: /usr/local/lib/perl5/site_perl/5.32/x86_64-cygwin-
Christian Franke
--
Problem reports: https://cygwin.com/problems.html
FAQ: https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
Andrey Repin wrote:
dd if=/dev/zero of=/dev/sda iflag=fullblock bs=4M status=progress
The root of the problem is that the Windows WriteFile() function
apparently does not support truncated writes at EOM. If seek_position +
write_size > disk_size, then WriteFile() does nothing and returns an
David Balažic wrote:
I'm porting an app from Linux to Cygwin and stumbled on this problem:
pread on /dev/sda fails with Illegal seek.
The simplified code is:
#include
#include
#include
#include
int main(int argc, char *argv[])
{
unsigned int sector_size = 512;
void *buf = calloc(sec
://www.smartmontools.org/query?milestone=Release+7.0
Christian Franke
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Subversion segfaults with null instruction pointer after a failed
connect. This affects the http and https protocols but not the svn protocol.
Related report: https://cygwin.com/ml/cygwin/2019-11/msg00126.html
Testcase:
$ uname -srvmo
CYGWIN_NT-10.0 3.1.2(0.340/5/3) 2019-12-21 15:25 x86_64 Cygw
Greywolf wrote:
Greetings!
First the important stuff:
[uname -a]:
CYGWIN_NT-10.0 milliways 3.0.7(0.338/5/3) 2019-04-30 18:08 x86_64 Cygwin
[windows]:
Windows 10 Pro for Workstations
Build 16299.rs3_release_svc.180808-1748
[this is a work computer so getting updates for it may not be possible]
Corinna Vinschen wrote:
I uploaded a new Cygwin test release 3.0.0-0.1
...
What's new:
---
...
- Support for case sensitive directories. mkdir(2) automatically
creates directories within the Cygwin installation dir as case
sensitive now.
This feature requires Windows 10 1803
Brian Inglis wrote:
On 2018-07-11 14:10, Mark Hansen wrote:
... and I know better than to ask my corporate IT folks to make an exception for
me :(
Perhaps you could use other packages to get your work done, ...
Busybox provides a tiny version of nc:
$ busybox nc
BusyBox v1.23.2 (2015-07-05
Christian Franke wrote:
Marco Atzeri wrote:
On 6/12/2018 7:11 PM, Christian Franke wrote:
...
The attached patch for
/usr/lib/gcc/*-pc-cygwin/7.3.0/include/c++/bits/basic_string.h
fixes this.
Please forget this patch. It was bases on a wrong assumption and only
cures symptoms.
It
Marco Atzeri wrote:
On 6/12/2018 7:11 PM, Christian Franke wrote:
...
The attached patch for
/usr/lib/gcc/*-pc-cygwin/7.3.0/include/c++/bits/basic_string.h
fixes this.
Christian
Thanks Christian
for the investigation.
It seems an upstream bug so could you report it there ?
Done:
https
Ivan Shynkarenka wrote:
I use x64 bit Cygwin and it failed in my home, work and Appveyor. I add
cygcheck.out with my environment.
I'm sorry about misspell prefix space in my prev example. Please try the
following one:
#include
#include
int main(int argc, char** argv)
{
std::string line
Nuzhna Pomoshch wrote:
I have (in my very limited time with cygwin) noticed that
some daemons (sshd, syslog-ng) are run as Windows
services, and started at boot.
I have installed smartmontools, and see that it has a more
traditional (linux) installation. The smartd start script is in
/etc/rc.d/i
Cygport now sets _FORTIFY_SOURCE=2 for C and C++ but this has no effect
for C++. In __SSP_FORTIFY_LEVEL is always set to 0 if
__cplusplus is defined. This is needed because ... use
#defines to replace the functions.
Testcase:
$ cat copy.c
#include
char sbuf[42], *dbuf;
void to_sbuf(const
Prop controllers.
- SCSI: Default timeout increased to 1 minute.
- HDD, SSD and USB additions to drive database.
- New smartmontools-* mailing list addresses.
- Man page formatting reworked.
- Windows: Support for Windows 10 NVMe driver (stornvme.sys).
- Windows: Fix CSMI access for IRST driver 15.2.
Lee wrote:
Why is the cygwin gcc calloc so much slower than the
i686-w64-mingw32-gcc calloc?
1:12 vs 0:11
$cat calloc-test.c
#include
#include
#define ALLOCATION_SIZE (100 * 1024 * 1024)
int main (int argc, char *argv[]) {
for (int i = 0; i < 1; i++) {
void *temp = calloc(
After 4.4.3-1 upgrade, rebase always fails on 32- and 64-bit Cygwin:
$ rebase -s -T /var/cache/rebase/rebase_all
rebase: Too many DLLs for available address space: Cannot allocate memory
Using /bin/rebaseall does not help.
A downgrade to 4.4.2-1 fixes the problem.
The DLL address range on 32-b
Lee wrote:
+ ./ssp.exe testtestx
./doit: line 11: 9128 Illegal instruction ./ssp.exe testtestx
+ echo -e '\n\n'
The *** stack smashing detected *** message from MinGW runtime is only
visible if stdio is attached to a Windows console.
Yes!
But even after re-reading https://github.com/min
Lee wrote:
Maybe I'm just Doing It Wrong, but
gcc -fstack-protector-all
seems to be working correctly &
i686-w64-mingw32-gcc -fstack-protector-all
seems to be broken - eg:
$./ssp testtestx
Illegal instruction
printf's that happen before the stack over-write don't show up & no
"*** stack s
JonY wrote:
On 06/25/2017 04:03 AM, JonY wrote:
GCC 5 is starting to show its age:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=66145
Would you mine testing GCC6? IIRC exception handling is broken in 6,
which is why it is stuck in test.
I suppose I can put gcc 6.3 in test soon.
Woops, look
removes a dependency to obsolete libdb4.8 on x86.
For upstream changes, see HISTORY.bz2 starting at 20141025 and
RELEASE_NOTES section "Incompatible change with Postfix 2.11.6".
Christian Franke
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygw
cyg Simple wrote:
...
But I don't believe that env --ignore-environment should be using execvp
and should be using execv instead. That is for the upstream coreutils
team to decide though.
Possibly not, as it would also require to check whether PATH is set
later in the command line.
Always u
cyg Simple wrote:
-i, --ignore-environment start with an empty environment
A relative use of the executable will not be found if the environment is
empty.
Not necessarily (see Linux, *BSD, ...). POSIX says this is
"implementation-defined" - under the assumption that 'env' uses execvp()
Thomas Wolff wrote:
Am 10.04.2017 um 22:29 schrieb Christian Franke:
A few years after https://cygwin.com/ml/cygwin/2014-09/msg00204.html
I found another use case of an unset PATH variable:
The configure script from mandoc (http://mdocml.bsd.lv/) uses this
interesting approach to query
A few years after https://cygwin.com/ml/cygwin/2014-09/msg00204.html
I found another use case of an unset PATH variable:
The configure script from mandoc (http://mdocml.bsd.lv/) uses this
interesting approach to query default CC command from make:
CC=`printf "all:\\n\\t@echo \\\$(CC)\\n" | env
multiplier may now be appended to any of the other multipliers.
For example, 'ks' = kilosectors (1000 * sector_size), or
'Kis' = kibisectors (1024 * sector_size).
Options '--ask' and '-vv' now always show file size, even if model and
serial number are also s
David Stacey wrote:
...
Anyway, my assumption at the moment is that this is an issue with
libstdc++.
Any thoughts?
The export table of cygstdc++-6.dll 6.3.0-1 is broken, see:
https://cygwin.com/ml/cygwin/2017-02/msg00093.html
Christian
--
Problem reports: http://cygwin.com/problems.
JonY wrote:
On 01/26/2017 10:30 AM, Christian Franke wrote:
After upgrading to gcc test version 6.3.0-1, C++ exception handling is
broken if DLL version of new libstdc++6 is used.
Noted, I'll consider the test version broken for now.
Meantime I examined the testcase with gdb: Th
1 - 100 of 406 matches
Mail list logo