cygwin 3.5.4-1: signal handling destroys 'long double' values

2024-10-07 Thread Christian Franke via Cygwin
6789p+0, y = -nan, d = -nan   6 x = 0x1.23456789p+0, y = 0x1.23456789p+0, d = -nan 33 x = 0x1.23456789p+0, y = 0x1.23456789p+0, d = 0x0p+0 The problem also occurs if compiled without -O2, but less often. No problem occurs if compiled with -DWORKS which suggests that only 'long

Re: Request for test by users seeing 0.00 load average in spite of a busy system

2024-10-02 Thread Christian Franke via Cygwin
secs $ uptime  09:59:01 up 28 min,  0 user,  load average: 0.00, 0.00, 0.00 -- Regards, Christian -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.c

Re: pread()/pwrite() fail with EBADF in child process if already used before fork()

2024-09-24 Thread Christian Franke via Cygwin
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(&

Re: pread()/pwrite() fail with EBADF in child process if already used before fork()

2024-09-23 Thread Christian Franke via Cygwin
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

pread()/pwrite() fail with EBADF in child process if already used before fork()

2024-09-22 Thread Christian Franke via Cygwin
pread(3, 0x7CC0B, 1, 0), errno 9 ... The problem does not occur if there is no pread()/pwrite() before the fork(). This suggests that the child process inherits the extra handle value used to keep the original seek position, but not the actual handle. -- Regards, Christian -- Problem

Re: readdir() returns inaccessible name if file was created with invalid UTF-8

2024-09-19 Thread Christian Franke via Cygwin
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

Re: readdir() returns inaccessible name if file was created with invalid UTF-8

2024-09-19 Thread Christian Franke via Cygwin
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

Re: readdir() returns inaccessible name if file was created with invalid UTF-8

2024-09-16 Thread Christian Franke via Cygwin
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

Re: readdir() returns inaccessible name if file was created with invalid UTF-8

2024-09-15 Thread Christian Franke via Cygwin
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

readdir() returns inaccessible name if file was created with invalid UTF-8

2024-09-15 Thread Christian Franke via Cygwin
C\xDF21.ext" -(readdir)-> "file1-\xF0\x9F\x8C\xA1.ext" "file2-\xF0\x9f\x8C.ext" -(open)-> L"file2-\xD83C\xF02Eext" -(readdir)-> "file2-.\xE1\x9E\xB3ext" "file3-\xF0\x9F\x8C" -(open)-> L"file3-\xD83C\xF000" -(readd

pthread_sigqueue(): First parameter is incompatible with glibc

2024-09-12 Thread Christian Franke via Cygwin
usages of __CYGWIN__ in stress-ng source (builds OOTB, maybe ITP): https://github.com/ColinIanKing/stress-ng/commit/17c7a0d -- Regards, Christian -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html U

Re: Cygwin a bit slow

2024-04-10 Thread Christian Franke via Cygwin
s. Using bash builtins in the above example speeds it up to ~21000/second on the same very old box: $ while :; do printf '%(%s)T\n'; done | uniq -c -- Regards, Christian -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/

Re: util-linux-2.39.3-1: libblkid returns invalid physical_sector_size

2024-04-02 Thread Christian Franke via Cygwin
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:

Re: util-linux-2.39.3-1: libblkid returns invalid physical_sector_size

2024-04-02 Thread Christian Franke via Cygwin
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

Re: util-linux-2.39.3-1: libblkid returns invalid physical_sector_size

2024-04-02 Thread Christian Franke via Cygwin
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

util-linux-2.39.3-1: libblkid returns invalid physical_sector_size

2024-03-31 Thread Christian Franke via Cygwin
same problem. The fdisk variant in busybox-1.36.1-2 is not affected. -- Regards, Christian -- 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

Re: GetVersionEx() depreciated, what should be used instead for Windows 7/8/10?

2024-03-24 Thread Christian Franke via Cygwin
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

Re: GetVersionEx() depreciated, what should be used instead for Windows 7/8/10?

2024-03-23 Thread Christian Franke via Cygwin
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

Re: GetVersionEx() depreciated, what should be used instead for Windows 7/8/10?

2024-03-21 Thread Christian Franke via Cygwin
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

Re: GetVersionEx() depreciated, what should be used instead for Windows 7/8/10?

2024-03-20 Thread Christian Franke via Cygwin
d Win11 and also found a Win10 1511 (and Slackware 1.1.2, Win3.1, OS/2, ...) in my VM image museum. Regardless of the exe manifest, RtlGetVersion and RtlGetNtVersionNumbers return the correct versions: 10.0.22621 (Win11 22H2) 10.0.19045 (Win10 22H2) 10.0.10586 (Win10 1511) Without a manif

Re: GetVersionEx() depreciated, what should be used instead for Windows 7/8/10?

2024-03-19 Thread Christian Franke via Cygwin
he correct values. See function wincapc::init() https://cygwin.com/git/?p=newlib-cygwin.git;a=blob;f=winsup/cygwin/wincap.cc -- Regards, Christian -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com

Re: Setup.exe suggestions

2024-02-28 Thread Christian Franke via Cygwin
ll. Press and hold Ctrl+U to select "Uninstall" for all. Then change to another view and back to "Unneeded" to see more possible unneeded packages. If someone wants to retain some, it's easier to change those few back to "Keep". Ctrl+K = "Keep&quo

Re: cygport 0.36.8-1

2024-02-14 Thread Christian Franke via Cygwin
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

Re: cygport 0.36.8-1

2024-02-13 Thread Christian Franke via Cygwin
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

Re: cygport 0.36.8-1

2024-02-13 Thread Christian Franke via Cygwin
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

Re: cygport 0.36.8-1

2024-02-12 Thread Christian Franke via Cygwin
ddrescue-1.28-1, smartmontools-7.4-1 (busybox and smartmontools have SOURCE_DATE_EPOCH already set in the cygport file) -- Regards, Christian b4362a4df2688819e34555173c5f843f *cygwin-3.5.0-1.x86_64/dist/cygwin/cygwin-3.5.0-1-src.hint 17c671cf6fd3f96cca4b7c411bf5c893 *cygwin-3.5.0-1.x86_64/dis

Cygwin build from source is broken since binutils-2.42-1

2024-02-12 Thread Christian Franke via Cygwin
.. # 1 "/usr/include/bfd.h" 1 3 4 ... # 1 "/usr/include/ansidecl.h" 1 3 4  <== #ifndef _ANSIDECL_H ... -- Regards, Christian -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.c

Re: Add ability to hide non-standard itoa/utoa() in stdlib.h ?

2024-01-22 Thread Christian Franke via Cygwin
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

Re: where is parted?

2024-01-11 Thread Christian Franke via Cygwin
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

Re: where is parted?

2024-01-11 Thread Christian Franke via Cygwin
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

Re: Run a Cygwin process with "higher" scheduler priority

2023-10-15 Thread Christian Franke via Cygwin
;ABOVE_NORMAL_PRIORITY_CLASS" ;;   27) c="HIGH_PRIORITY_CLASS" ;;   32) c="REALTIME_PRIORITY_CLASS" ;;   *)  c="?" ;;     esac     printf "nice -n %3d:%5d %5d %5d %5d  %s\\n" \    "'$i'" "$n" "

Re: setup 2.927 release candidate - please test

2023-10-14 Thread Christian Franke via Cygwin
Synchronisieren",IDC_CHOOSE_SYNC,...,SETUP_SYNC_X,30,SETUP_KPCE_W,14 + CONTROL "&Beste",IDC_CHOOSE_BEST,"Button",...,SETUP_BEST_X,30,SETUP_KPCE_W-10,14 + CONTROL "&Synchronisieren",IDC_CHOOSE_SYNC,...,SETUP_SYNC_X-12,30,SETUP_KPCE_W+12,14 or by si

Re: /usr/bin/dd *.iso to USB stick?

2023-09-23 Thread Christian Franke via Cygwin
run from the limited WinPE environment, for example to create an image of C: if not booted. -- Regards, Christian -- 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

Re: Running bash script as SYSTEM from account with admin rights?

2023-09-22 Thread Christian Franke via Cygwin
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

Re: Running bash script as SYSTEM from account with admin rights?

2023-09-22 Thread Christian Franke via Cygwin
user: psexec -s -i c:\cygwin\bin\mintty - -- Regards, Christian -- 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

Re: std::runtime_error on std::locale("")

2023-09-22 Thread Christian Franke via Cygwin
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

Re: std::runtime_error on std::locale("")

2023-09-21 Thread Christian Franke via Cygwin
unction locale::facet::_S_create_c_locale() calls some __newlocale() which apparently does not arrive at newlocale() from cygwin1.dll. But cygstdc++-6.dll imports newlocale() from cygwin1.dll. Only standard locale "C" and its alias "POSIX" work with C++ std::locale(). The cygw

cygport may not create debug info if top directory contains a symlink

2023-09-16 Thread Christian Franke via Cygwin
opdir}; /bin/pwd); No patch provided because I'm not sure whether this has other negative side effects. If this is the case, it possibly makes sense to print a warning if "$(pwd)" != "$(/bin/pwd)". -- Regards, Christian -- Problem reports: https:

[ANNOUNCEMENT] busybox 1.36.1-1

2023-09-15 Thread Christian Franke via Cygwin
    local printf pwd read readonly return set shift sleep source     test times trap true type ulimit umask unalias unset wait Regards, Christian -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.

Re: Cygwin console: Different default background color when terminal runs as Admin?

2023-08-18 Thread Christian Franke via Cygwin
(and the '-s SERVICE' option is apparently a no-op). -- Regards, Christian -- 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

Re: Cygwin console: Different default background color when terminal runs as Admin?

2023-08-18 Thread Christian Franke via Cygwin
quot; $(/usr/bin/id -G) " in   *\ 544\ *) PS1=${PS1/\\e]0;\\w/\\e]0;\\w (root)}; PS1=${PS1/\\\$ /\# } ;; esac -- Regards Christian -- 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

Re: [ANNOUNCEMENT] Updated: groff-1.23.0-1

2023-07-23 Thread Christian Franke via Cygwin
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

Re: [ANNOUNCEMENT] Updated: groff-1.23.0-1

2023-07-23 Thread Christian Franke via Cygwin
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

Re: [ANNOUNCEMENT] Updated: groff-1.23.0-1

2023-07-22 Thread Christian Franke via Cygwin
p -a BaseFont ls.1.H.pdf 6 0 obj << /BaseFont /Helvetica-Oblique 10 0 obj << /BaseFont /Helvetica 13 0 obj << /BaseFont /Times-Bold 16 0 obj << /BaseFont /Times-Roman 19 0 obj << /BaseFont /Times-Italic Intentional change or regression? -- Regards, Christian -- Probl

[ANNOUNCEMENT] ddrescue 1.27-1

2023-01-28 Thread Christian Franke via Cygwin
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

Re: Question about slow access to file information

2023-01-17 Thread Christian Franke via Cygwin
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

Re: Question about slow access to file information

2023-01-14 Thread Christian Franke via Cygwin
a 'noacl'-mount, Cygwin reads the first bytes of most files (all except *.exe, *.lnk, *.com). The 'x' bits are set if the file starts with "#!" (script), ":\n" (?) or "MZ" (Windows executable). On 'noacl' mounts, this behavior coul

Re: Cygwin setup reporter as malware

2022-12-09 Thread Christian Franke via Cygwin
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

Re: [ANNOUNCEMENT] Updated: setup (2.923)

2022-11-22 Thread Christian Franke
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&#

Re: Sharing my packages for CYGWIN

2022-11-18 Thread Keith Christian
Carlo, Since you are successfully creating Cygwin packages, one thing that would be very helpful is a detailed set of instructions for cygport to create a Cygwin package from source. There are instructions posted on the Cygwin website and other info about cygport, but I have not found a comprehens

Is there an API to remove ALSR in Cygwin 3.4.0?

2022-11-12 Thread Christian Jullien
If a gcc flag already exists, it will force a mode instead of leaving this option to end user. My Lisp (OpenLisp) has an optional feature name 'execore' which combines lisp binary and a saved image into a single executable which fails to run of course if ALSR is on. For me, it&#

Re: fish-3.5.0-1: /etc/fish/conf.d/cygwin.fish only readable by owner

2022-10-24 Thread Christian Franke
.tar.xz etc/defaults/etc/fish/conf.d/cygwin.fish -rw--- ... 1101 2022-06-29 17:29 etc/defaults/etc/fish/conf.d/cygwin.fish Hi Christian. Thanks for reporting this, and sorry for my slow reply. I was suprprised by this, because I thought setup would set up rational permissions for us. I've

Re: Smartctl issues in Cygwin with elevated terminal

2022-09-13 Thread Christian Franke
t work due to it not being Unixy underneath. To drop privileges, try 'cygdrop' tool from 'cygutils-extra' package. -- Regards, Christian -- 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

Ansible listed as orphaned

2022-09-09 Thread Keith Christian
Is there a recommended general procedure so that users could update orphaned packages with a reasonable chance of success? E.g., for packages that need compiling, it's download the source, extract it, then make and make install. Not sure about other packages like Ansible which are written in Python

Re: How to get setup to *re*install a package from the command line

2022-09-07 Thread Christian Franke
un to the recent 2.921 RC release of setup, select the "Up To Date" view and then press and hold Ctrl+R. https://sourceware.org/pipermail/cygwin/2022-August/252146.html -- Regards, Christian -- Problem reports: https://cygwin.com/problems.html FAQ: https:/

Re: Ctrl+Space not working under Windows Terminal

2022-09-06 Thread Christian Franke
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

Re: setup 2.920 release candidate - please test

2022-08-15 Thread Christian Franke
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

Re: setup 2.920 release candidate - please test

2022-08-14 Thread Christian Franke
toolchain ? $ x86_64-w64-mingw32-g++ --version x86_64-w64-mingw32-g++ (GCC) 11.3.0 $ x86_64-w64-mingw32-ld --version GNU ld (GNU Binutils) 2.38 Found during testing of my recent setup patches ("Unneeded" view, keyboard accelerators Ctrl+I/R/U), see cygwin-apps. -- Regards, Christian

Re: resolv.conf and gnupg2

2022-08-11 Thread Christian Franke
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

Re: resolv.conf and gnupg2

2022-08-09 Thread Christian Franke
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

Re: resolv.conf and gnupg2

2022-08-09 Thread Christian Franke
A draft patch is attached. It also avoids the tmp file and uses shell builtins where possible. -- Regards, Christian diff -ru cyg-resolv.orig/0p_l_etc_resolv_conf.dash cyg-resolv/0p_l_etc_resolv_conf.dash --- cyg-resolv.orig/0p_l_etc_resolv_conf.dash 2022-08-09 13:52:07.293

Re: Deleting a directory with the same name as a shortcut deletes everything in CWD

2022-08-08 Thread Christian Franke
nk/link/link directory $ ls link/link/link/link .  ..  file.txt  link.lnk $ rm link/link/link/link rm: cannot remove 'link/link/link/link': Is a directory $ rm -rfv link/link/link/link removed 'link/link/link/link/file.txt' removed 'link/link/link/li

Re: Retry / Continue dialog appearing frequently in setup for dll updates

2022-08-04 Thread Keith Christian
> "ssh-pageant.sh" -k > gpgconf --kill gpg-agent dirmngr scdaemon > sh -c "for svc in $( cygrunsrv --list | grep -v cygserver ) cygserver; do net > stop "^"$svc^""; done" > > Restarting after setup is goin gthe other way around, except GPG services > (they are restarted by themselves as needed). >

Re: Retry / Continue dialog appearing frequently in setup for dll updates

2022-08-02 Thread Keith Christian
Hi Ken, Yes, I attempt to shut down all cygwin processes as we all have done over the past many years of enjoying Cygwin. I opened a terminal as Administrator to shut down cygsshd and exim as shown below but it did not work. What could be wrong here? I am surprised that cygrunsrv was unable to st

Re: [ANNOUNCEMENT] Test: coreutils 9.0 (TEST)

2022-07-31 Thread Keith Christian
ber wrote: > > On 7/19/2022 6:34 AM, Keith Christian wrote: > > > The installed version of coreutils is 8.32-1. > > Correct, latest release. > > > I see coreutils-9.0-1.tar.gz referenced in setup.ini, but > > Incorrect, there's a newer test version

Retry / Continue dialog appearing frequently in setup for dll updates

2022-07-31 Thread Keith Christian
On two different Windows 10 machines, I see the Retry/Continue dialog on numerous cygwin .dll files. These are the only cygwin processes extant while setup is running: == C:\Users\keith>tasklist /v | findstr /c:ssh sshd.exe

Re: [ANNOUNCEMENT] Test: coreutils 9.0 (TEST)

2022-07-19 Thread Keith Christian
as mentioned above. More suggestions are appreciated. On Mon, Jul 18, 2022 at 8:48 PM René Berber wrote: > > On 7/18/2022 8:50 PM, Keith Christian wrote: > > > I'd like to test coreutils but cannot find the docs for how to install > > a test version. > > Sorry, bu

Re: [ANNOUNCEMENT] Test: coreutils 9.0 (TEST)

2022-07-18 Thread Keith Christian
I'd like to test coreutils but cannot find the docs for how to install a test version. Sorry, but I don't see anything in setup.exe that would facilitate installing a test version, seems I recall that test versions were available to install via setup. On Sun, Jul 17, 2022 at 9:43 PM Cygwin coreuti

Re: [PATCH setup] Add new option --chown-admin

2022-07-09 Thread Christian Franke
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

Re: [ANNOUNCEMENT] fish 3.5.0-1

2022-07-05 Thread Christian Franke
installations for "All Users" (easy to fix locally, of course): https://sourceware.org/pipermail/cygwin/2022-July/251802.html -- Regards, Christian -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://

Re: [ANNOUNCEMENT] cygport 0.35.2-1

2022-07-04 Thread Christian Franke
if LICENSE is missing. This may encourage maintainers to add it. -- Regards, Christian -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml

fish-3.5.0-1: /etc/fish/conf.d/cygwin.fish only readable by owner

2022-07-02 Thread Christian Franke
+maybe chmod 0600 'fish/conf.d/cygwin.fish' ... -- Regards, Christian -- 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

[ANNOUNCEMENT] New: etckeeper 1.18.17-1

2022-07-02 Thread Christian Franke
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

[ANNOUNCEMENT] New: pass 1.7.4-1

2022-07-02 Thread Christian Franke
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

[ANNOUNCEMENT] smartmontools 7.3-1

2022-06-27 Thread Christian Franke
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

Re: duplicity 0.7.19-1, python-fasteners 0.16.3-1: Missing dependency python-monotonic?

2022-05-07 Thread Christian Franke
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

duplicity 0.7.19-1, python-fasteners 0.16.3-1: Missing dependency python-monotonic?

2022-05-03 Thread Christian Franke
and no python*-monotonic package is available for Cygwin. Regards, Christian -- 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

Re: Compiling gnu diction on Cygwin

2022-04-06 Thread Keith Christian
Brian, Csaba, I was able to complete the compile with your assistance. Brian: I'll experiment with your suggestions of: #include and remove casts (should not normally be required or used in C) as well. Csaba: Adding the -Wall -Wpedantic -Wextra fixed the issue, thanks. This will help a great d

Compiling gnu diction on Cygwin

2022-04-05 Thread Keith Christian
Hi Cygwin fans, Version info: Windows 10:10.0.19043 N/A Build 19043 Cygwin: CYGWIN_NT-10.0 3.3.4(0.341/5/3) 2022-01-31 19:35 x86_64 Cygwin I successfully compiled diction and style from this tar file, but with errors: https://ftp.gnu.org/gnu/diction/diction-1.11.tar.gz Diction and style both wo

setup 2.917 fails trying to update to cygwin-3.3.4-2

2022-02-08 Thread Keith Christian
Windows 10 Pro, 10.0.19042 N/A Build 19042 Cygwin Setup 2.9.17 Trying to update to cygwin 3.3.4-2. I routinely download updates with setup, then re-run setup and choose "install from local directory," which has always worked. I don't think the two step procedure is at fault, though. Setup abruptly

Re: [EXTERNAL] Updated cygwin this morning, mintty window flashes briefly and quits

2022-01-20 Thread Keith Christian
Anton, Interesting problems these days. Thank you again! -- 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

Re: [EXTERNAL] Updated cygwin this morning, mintty window flashes briefly and quits

2022-01-20 Thread Keith Christian
Anton, There were two cygserver instances listed, one had a PID and the other one had N/A for the PID. I terminated both of them and now I can launch Cygwin64 term. Are there any configs I should check for cygserver to make sure there aren't two of them running? I've never seen this problem befor

Updated cygwin this morning, mintty window flashes briefly and quits

2022-01-20 Thread Keith Christian
Downloaded the latest setup-x64.exe from the Cygwin website, ran a normal Cygwin update this morning on my Windows 10 system, rebooted after updates. Click the Cygwin64 Terminal icon on the desktop, opens briefly then closes. Suggested troubleshooting steps? Thanks, everyone. -- Problem reports:

Re: How to start KDE in Cygwin/X vs LXDE

2021-12-23 Thread Keith Christian
After a bit of research, I discovered that "Plasma" is the "KDE Desktop" I was looking for, and there are these 16 choices. By running #16, "XWin Server" there is an additional X icon with a green interion in the "hidden icons" list, which has an extensive menu of X programs to run. 1 Fluxbo

How to start KDE in Cygwin/X vs LXDE

2021-12-21 Thread Keith Christian
When I click the XWin Server icon on the task bar, Cygwin/X starts up just fine, and so does the LXDE desktop. In the Start Menu, Cygwin/X offers several desktop environments including KDE-Openbox, but choosing that shows the KDE "gear" icon and then the LXDE desktop appears instead. The kde-work

Re: Help with the prunepaths option with findutils updatedb locate

2021-12-10 Thread Keith Christian
Brian, Thanks very much for the prunepaths regexes, the /proc/filesystems output, mount command, and info and man command lines, and the suggestions for better posting. -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:h

Help with the prunepaths option with findutils updatedb locate

2021-12-09 Thread Keith Christian
Fellow Cygwin fans, I'm trying to keep the many directories with "OneDrive" in the pathname out of the locatedb file, as I don't care to see them in locate's output, nor bloat the locatedb file. I'd appreciate any insight into the prunepaths option for the test case below, (Line 10,) and how to t

Re: Editing with vim clears Windows 10 file system archive bit.

2021-11-15 Thread Christian Franke
he archive attribute unexpectedly, for example: int fd = open(filename, O_CREAT|O_TRUNC|O_WRONLY, 0644); write(fd, "Test\n", 5); fchmod(fd, 0644); // clears archive attribute close(fd); Same with facl(., SETACL, ...). The variants chmod() and acl() are not affected. Regards, Christian

Re: Portable CygWin version for Windows?

2021-11-14 Thread Christian Franke
A list is included in 'cygcheck -s' output. Alternatively try the following commands from Cygwin shell: ls -la /proc/registry??/HKEY_LOCAL_MACHINE/SOFTWARE/Cygwin/Installations ls -la /proc/registry/HKEY_USERS/*/SOFTWARE/Cygwin/Installations Regards, Christian -- Problem reports:

readshortcut (cygutils 1.4.16) fails with buffer overflow detected on windows 10 lnk files

2021-09-21 Thread Keith Christian via Cygwin
Hello Cygwin Folks, Getting *** buffer overflow detected ***: terminated when trying to read numerous .lnk files. Windows 10 Enterprise version is 21H1 OS Build 19043.1165 Cygwin version is 3.2.0. Any info appreciated. -- Problem reports: https://cygwin.com/problems.html FAQ:

Re: cygrunsrv + sshd + rsync = 20 times too slow -- throttled?

2021-09-16 Thread Keith Christian via Cygwin
Ken, Thank you for the reply, this is great news! Looking forward to speedier rsyncs with Cygwin. Keith On Thu, Sep 16, 2021, 16:49 Ken Brown via Cygwin wrote: > On 9/16/2021 6:00 PM, Keith Christian via Cygwin wrote: > > I've been following his thread with inte

Re: cygrunsrv + sshd + rsync = 20 times too slow -- throttled?

2021-09-16 Thread Keith Christian via Cygwin
I've been following his thread with interest both here and on the Cygwin developers list. I, too rsync between Cygwin and Linux machines. Lots of good debate showing the genius of the folks that support the cygwin infrastructure. Looks like the lively discussion on both lists has stopped. What

Re: [ANNOUNCEMENT] Test: cygutils 1.4.16-4 (TEST)

2021-08-23 Thread Christian Franke
e old one ends at 1.4.16-2: https://sourceware.org/git/?p=cygwin-apps/cygutils.git;a=summary Regards, Christian -- 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

[PATCH] cygutils-extra 1.4.16-3: cygdrop: Fix printf format strings

2021-08-14 Thread Christian Franke
This fixes an unrelated bug found during analysis of the cygdrop crash. In theory, the bug affects the 64-bit version (which didn't exist when I contributed this tool in 2009). In practice, it doesn't because 64-bit ABI uses registers to pass the first args of a va_list. Regards,

[PATCH] cygutils-extra 1.4.16-3: cygdrop: Fix crash

2021-08-14 Thread Christian Franke
inGW-w64-g++ 32/64-bit. Unfortunately GCC upstream has already set a related bug report to INVALID:  https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96181 I disagree... Cygport should possibly add '-Werror=return-type' to C++ defaults. Patch for cygutils is attached. Regards, Christian

licensecheck 2.15.8-1: Requires Dpkg/IPC.pm which is not available

2021-03-06 Thread Christian Franke
line 146. https://cygwin.com/cgi-bin2/package-grep.cgi?grep=Dpkg%2FIPC&arch=x86_64 "Found 0 matches for Dpkg/IPC" Same for licensecheck-2.15.9-1 on x86. Regards, Christian -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com

[ANNOUNCEMENT] smartmontools 7.2-1

2021-02-08 Thread Christian Franke
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

Re: Compiling C-Kermit 9.0.305 Alpha.02 on Cygwin

2020-12-01 Thread Keith Christian via Cygwin
On Tue, Dec 1, 2020, 10:32 wrote: > On Tue, Dec 01, 2020 at 09:20:51AM -0700, Keith Christian wrote: > > On Mon, Nov 30, 2020 at 9:23 PM wrote: > > > For kicks, I got the *basic* C-Kermit to build under Linux and under > Cygwin. > > > https://github.com/gstrauss/

Re: Compiling C-Kermit 9.0.305 Alpha.02 on Cygwin

2020-12-01 Thread Keith Christian via Cygwin
On Mon, Nov 30, 2020 at 9:23 PM wrote: > For kicks, I got the *basic* C-Kermit to build under Linux and under Cygwin. > https://github.com/gstrauss/ckermit > The make command line options are in the commit messages. > > It is based on > http://www.columbia.edu/kermit/archive.html > C-Kermit 9.0.30

Re: Compiling C-Kermit 9.0.305 Alpha.02 on Cygwin

2020-11-30 Thread Keith Christian via Cygwin
On Mon, Nov 30, 2020, 15:31 Eliot Moss wrote: > On 11/30/2020 5:17 PM, Keith Christian via Cygwin wrote: > > On Mon, Nov 30, 2020 at 2:44 PM Jeffrey Altman > > wrote: > >> I suspect building C-Kermit with SSH, OpenSSL, Kerberos v5 support is > >> going to be pr

  1   2   3   4   5   6   7   8   9   >