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

2023-09-21 Thread Martin Wege via Cygwin
locale::facet::_S_create_c_locale name not valid > > Aborted (core dumped) > > > > 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 imports newlocale() from cygwin1.dll. So this is a BUG? > > Only standard locale "C" and its alias "POSIX" work with C++ std::locale(). > > The cygwin1.dll function newlocale() works as expected - except that it > does not set errno if the locale name is invalid. What does bash -c 'locale -a' print on your system? Thanks, Martin -- 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

Shell API to get Windows SID from Cygwin name?

2023-09-21 Thread Martin Wege via Cygwin
Hello, Does Cygwin have a shell (e.g. bash) API to lookup the Windows SID for a given Cygwin user or group name? /usr/bin/getent usersid thisisausername does not work Thanks, Martin -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq

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

2023-09-22 Thread Martin Wege via Cygwin
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 u

Cygwin, converting PSID to string?

2023-09-24 Thread Martin Wege via Cygwin
Hello, Does Cygwin have a function to convert a PSID (pointer to sid) to a human readable string? Is there a function to do the opposite, turn a string from the first function back into a SID type? Thanks, Martin -- Problem reports: https://cygwin.com/problems.html FAQ

Setuid exe (chmod u+s,g+s foo.exe) not working with Cygwin...

2023-09-24 Thread Martin Wege via Cygwin
Hello, I tried to setuid an executable, so that it runs as user "SYSTEM", but it does not work. I tried this as an user with administrator rights: chown SYSTEM:SYSTEM foo.exe chmod u+s,g+s foo.exe But running ./foo then just runs it as the current user. What am I doing wrong? Than

Re: Cygwin 3.5.0 KDE kate crashes in |cygdbus-1-3!_dbus_get_local_machine_uuid_encoded ()| ...

2023-10-17 Thread Martin Wege via Cygwin
or dbus-uuidgen to correct this issue. Basically all KDE apps crash like that in Cygwin 3.5 > > Does not > dbus-uuidgen --ensure=/etc/machine-id > help? I tried the steps-to-reproduce, and I get the same problem. I tried to run kate with dbus-run-session kate, but while kate the run

Re: Cygwin 3.5.0 KDE kate crashes in |cygdbus-1-3!_dbus_get_local_machine_uuid_encoded ()| ...

2023-11-01 Thread Martin Wege via Cygwin
d /var/lib/dbus/machine-id > > /etc/postinstall/dbus.sh.done > > lrwxrwxrwx 1 26 May 14 2013 /etc/machine-id -> ../var/lib/dbus/machine-id* > > -rwxr-xr-x+ 1 33 May 14 2013 /var/lib/dbus/machine-id* > > -rw-r--r-- 1 54 Aug 9 2017 /etc/postinstall/dbus.sh.done >

Cygwin tool to differ junctions from soft links?

2023-11-01 Thread Martin Wege via Cygwin
Good morning! Does Cygwin have a command line tool (Scriptable!) which can be used to differ between soft links and Windows junctions? Thanks, Martin -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com

Re: SFU

2023-11-09 Thread Martin Wege via Cygwin
On Sun, Oct 22, 2023 at 3:20 PM Jonathan Chapman-Moore via Cygwin wrote: > > Hi, > > I was considering the people at Cygwin rebrand Cygwin to Services for UNIX. SFU might be a M$ trademark. But what about "Services for POSIX" - "SFP"? Thanks, Martin

Cygwin filesystem test suite?

2023-11-09 Thread Martin Wege via Cygwin
Hello, Does Cygwin 3.5 come with a Cygwin filesystem test suite, which uses Cygwin or the native Win32 api to check whether file access is working? Thanks, Martin -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https

Re: setup-x86_64.exe (bug ?): Cannot write to /usr/bin/cygwin1.dll - cyserver squatting it...

2023-11-15 Thread Martin Wege via Cygwin
lf an university degree to get it working, and that makes me unhappy because your work is GREAT > > You could have cygserver running from one Cygwin setup but installing to the > different one. And so on. Seriously, who has TWO Cygwin setups on one machine? Also, sc query can handle those cases too

Re: Please support download setup-x86_64.exe on IPv6-only network

2023-11-15 Thread Martin Wege via Cygwin
oad data on an IPv6 network? Thanks, Martin -- 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 tool to differ junctions from soft links?

2023-11-15 Thread Martin Wege via Cygwin
? On Wed, Nov 1, 2023 at 10:14 AM Martin Wege wrote: > > Good morning! > > Does Cygwin have a command line tool (Scriptable!) which can be used > to differ between soft links and Windows junctions? > > Thanks, > Martin -- Problem reports: https://cygw

Cygwin UNC path conversion functions?

2023-11-29 Thread Martin Wege via Cygwin
Hello, does Cygwin have UNC path conversion functions, for example UNC path to DOS mount letter, UNC path to file URL? Thanks, Martin -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html

"Lazy" bind mounts?

2023-11-29 Thread Martin Wege via Cygwin
uot; mount-on-demand? Thanks, Martin -- 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

Cygwin tools to read/write NTFS alternate data streams?

2023-11-29 Thread Martin Wege via Cygwin
Hello, Does Cygwin have tools (modified /usr/bin/dd ?) to read/write NTFS alternate data streams? Thanks, Martin -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info

cmd.exe clone with UNC support?

2023-11-29 Thread Martin Wege via Cygwin
Hello, Is there a cmd.exe clone for Windows which supports UNC paths? Can that be shipped with Cygwin? Thanks, Martin -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info

Cygwin mount limited to 64 mounts, even for UNC paths?

2023-11-29 Thread Martin Wege via Cygwin
Hello, Cygwin mount(1) is (per docs) limited to 64 mounts. Why was that limitation chosen, and does it apply even if I create bind mounts to UNC paths (not DOS letters)? DOS letters might be restricted by the ASCII A-Z, but UNC paths are unlimited. Thanks, Martin -- Problem reports

Re: Cygwin UNC path conversion functions?

2023-12-18 Thread Martin Wege via Cygwin
On Fri, Dec 1, 2023 at 10:15 AM Corinna Vinschen via Cygwin wrote: > > On Nov 30 04:44, Martin Wege via Cygwin wrote: > > Hello, > > > > does Cygwin have UNC path conversion functions, for example UNC path > > to DOS mount letter, UNC path to file URL? > > Ne

Re: Cygwin tools to read/write NTFS alternate data streams?

2023-12-18 Thread Martin Wege via Cygwin
On Fri, Dec 1, 2023 at 10:52 AM Corinna Vinschen via Cygwin wrote: > > On Nov 30 04:55, Martin Wege via Cygwin wrote: > > Hello, > > > > Does Cygwin have tools (modified /usr/bin/dd ?) to read/write NTFS > > alternate data streams? > > No. As you know,

cygwin@cygwin.com

2023-12-21 Thread Martin Wege via Cygwin
fslinktypes') to the CYGWIN environment variable to define which types of links are supported: default 'all'. which is an shortcut for 'native,lnk,lnkexe'. So in case people do not want 'lnk' link support they just add CYGWIN+=' fslinktypes:native' to

Re: Cygwin tools to read/write NTFS alternate data streams?

2024-01-11 Thread Martin Wege via Cygwin
On Mon, Jan 8, 2024 at 3:11 PM Corinna Vinschen via Cygwin wrote: > > On Dec 18 18:47, Martin Wege via Cygwin wrote: > > On Fri, Dec 1, 2023 at 10:52 AM Corinna Vinschen via Cygwin > > wrote: > > > > > > On Nov 30 04:55, Martin Wege via Cygwin wrote: > &

Cygwin sqlite locking debug options still available?

2024-02-06 Thread Martin Wege via Cygwin
Hello! Is the debug mode for sqlite locking mode as described in https://cygwin.cygwin.narkive.com/nkjMGQga/test-sqlite3-3-7-17-1-1-7-19-locking-feature soehow still available? We sometimes get sqlite locking errors, and like to investigate what and why this fails Thanks, Martin -- Problem

Re: Cygwin sqlite locking debug options still available?

2024-02-17 Thread Martin Wege via Cygwin
On Tue, Feb 6, 2024 at 12:31 PM Martin Wege wrote: > > Hello! > > Is the debug mode for sqlite locking mode as described in > https://cygwin.cygwin.narkive.com/nkjMGQga/test-sqlite3-3-7-17-1-1-7-19-locking-feature > soehow still available? > > We sometimes get sqlite loc

openat(O_DIRECT) supported in Cygwin?

2024-02-27 Thread Martin Wege via Cygwin
Hello, Does Cygwin support openat(O_DIRECT)? Which effect does O_DIRECT in Cygwin have, and which underlying Windows API is used? Thanks, Martin -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com

Re: openat(O_DIRECT) supported in Cygwin?

2024-03-03 Thread Martin Wege via Cygwin
On Wed, Feb 28, 2024 at 10:08 AM Corinna Vinschen via Cygwin wrote: > > On Feb 27 17:46, Martin Wege via Cygwin wrote: > > Hello, > > > > Does Cygwin support openat(O_DIRECT)? Which effect does O_DIRECT in > > Cygwin have, and which underlying Windows API is use

UNIX nobody/nogroup mapping to which Windows SID/account?

2024-03-03 Thread Martin Wege via Cygwin
dA() does not recognise. So what is the correct Win32 solution? Thanks, Martin -- 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

Cygwin&Win32 file prefetch, block sizes?

2024-04-01 Thread Martin Wege via Cygwin
s block size is really 64k? Is this info per filesystem, or hardcoded in Cygwin? Thanks, Martin -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/

Re: Cygwin&Win32 file prefetch, block sizes?

2024-04-02 Thread Martin Wege via Cygwin
On Tue, Apr 2, 2024 at 3:17 PM Corinna Vinschen via Cygwin wrote: > > On Apr 2 02:04, Martin Wege via Cygwin wrote: > > Hello, > > > > Is there any document which describes how Cygwin and Win32 file > > prefetch and readahead work, and which sizes are used (e.g.

Implementing /bin/ionice, ioprio_set() support with FILE_IO_PRIORITY_HINT_INFO?

2024-04-02 Thread Martin Wege via Cygwin
INFO Thanks, Martin -- 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

Cygwin /usr/bin/stat returns "Birth: -", which value in FILE_BASIC_INFORMATION.CreationTime causes that?

2024-04-04 Thread Martin Wege via Cygwin
in/stat ti return "-"? 0, -1, or something else? Thanks, Martin -- 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 /usr/bin/stat returns "Birth: -", which value in FILE_BASIC_INFORMATION.CreationTime causes that?

2024-04-04 Thread Martin Wege via Cygwin
On Fri, Apr 5, 2024 at 2:55 AM Brian Inglis via Cygwin wrote: > > On 2024-04-04 18:05, Martin Wege via Cygwin wrote: > > I have problems with debugging, so a quick help would be appreciated, > > as I cannot figure this out after several hours of digging. > > > >

Win32 FILE_BASIC_INFORMATION.*Time.QuadPart - which value should be used if filesystem does not support it, so Cygwin /usr/bin/stat lists the value as '-'?

2024-04-04 Thread Martin Wege via Cygwin
On Fri, Apr 5, 2024 at 2:05 AM Martin Wege wrote: > > Hello, > > I have problems with debugging, so a quick help would be appreciated, > as I cannot figure this out after several hours of digging. > > Cygwin /usr/bin/stat returns "Birth: -" for some files. Whic

Installing Cygwin as normal user in nonstandard location?

2024-05-25 Thread Martin Wege via Cygwin
Hello, Can Cygwin be installed as a normal user (without Admin rights) in a nonstandard location, like C.\Users\martinwege\cygwinroot36\...)? Also, can this be done for more than one Cygwin version, e.g. I'd like to test multiple Cygwin versions in parallel. Thanks, Martin -- Problem re

LD_PRELOAD for Win32?

2024-05-25 Thread Martin Wege via Cygwin
Hello, Does Cygwin or Win32 have something like LD_PRELOAD, so I can override/substitute functions in a DLL or EXE, like it is common for UNIX/Linux ELF shared libraries? Thanks, Martin -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq

Re: Installing Cygwin as normal user in nonstandard location?

2024-05-26 Thread Martin Wege via Cygwin
On Sun, May 26, 2024 at 2:14 AM Bill Stewart via Cygwin wrote: > > On Sat, May 25, 2024 at 3:54 PM Martin Wege wrote: > > Can Cygwin be installed as a normal user (without Admin rights) in a > > nonstandard location, like C.\Users\martinwege\cygwinroot36\...)? > > > &

Re: Installing Cygwin as normal user in nonstandard location?

2024-05-27 Thread Martin Wege via Cygwin
On Sun, May 26, 2024 at 7:35 PM Andrey Repin wrote: > > Greetings, Martin Wege! > > >> Can Cygwin be installed as a normal user (without Admin rights) in a > >> > nonstandard location, like C.\Users\martinwege\cygwinroot36\...)? > >> > > >>

Windows Server NFS, getfact not working on NFS

2024-10-05 Thread Martin Wege via Cygwin
Professional, with CYGWIN_NT-10.0-19045 3.5.4-1.x86_64 How can I debug this further? If I mount a NFS filesystem from Linux, getfact works. Thanks, Martin -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com

Re: [Ms-nfs41-client-devel] Windows Server NFS, getfact not working on NFS

2024-10-29 Thread Martin Wege via Cygwin
On Sun, Oct 6, 2024 at 8:53 AM Cedric Blancher wrote: > > On Sat, 5 Oct 2024 at 14:44, Martin Wege wrote: > > > > Greetings! > > > > If I mount a NFS filesystem from a Windows NFS4.1 server (Windows > > Server 2022) on Windows 10, then getfacl does not wo

Re: [Ms-nfs41-client-devel] Windows Server NFS, getfact not working on NFS

2024-11-04 Thread Martin Wege via Cygwin
On Wed, Oct 30, 2024 at 8:46 AM Cedric Blancher via Cygwin wrote: > > On Tue, 29 Oct 2024 at 15:38, Corinna Vinschen via Cygwin > wrote: > > > > On Oct 29 13:56, Martin Wege via Cygwin wrote: > > > On Sun, Oct 6, 2024 at 8:53 AM Cedric Blancher > > > wro

Re: [Ms-nfs41-client-devel] WSL: Use ms-nfs41-client on WSL Linux?

2024-11-01 Thread Martin Wege via Cygwin
Thanks Cedric! On Wed, Oct 30, 2024 at 7:18 AM Cedric Blancher wrote: > > On Tue, 29 Oct 2024 at 14:13, Martin Wege wrote: > > > > Hello, > > > > How can I use ms-nfs41-client from a WSL Linux? > > WSL does not mount anything except C: at boot time. > &g

Re: How to make Cygwin handle Unicode symbolic links?

2025-01-03 Thread Larry Martin via Cygwin
.com/cygwin-ug-net/cygcheck.html>, not symcheck ?  ( i've been "into" symbolic links in cygwin today so the title caught my eye ) what do you have for the CYGWIN environment variable,  I've been using winsymlinks:native eg   export CYGWIN=winsymlinks:native On Fri, Jan 3, 202

Re: Modify Cygwin sshd to support login into user SYSTEM?

2024-12-20 Thread Martin Wege via Cygwin
files in .ssh. > Once the permissions are sane you can run ssh-host-config again. WOW I tried that for Windows sshd, but only got a fatal: ga_init, unable to resolve user system in the logs. How can I do the same for Windows sshd too? Thanks, Martin -- Problem reports: https://

Re: Read Windows event log from via Cygwin /proc, /dev, ...?

2024-11-21 Thread Martin Wege via Cygwin
/proc or /sys > So you want to access the Windows "Ereignisanzeige" via /proc filesystem? Actually a cool idea, because then we could use find&grep to crawl the log for issues Thanks, Martin -- Problem reports: https://cygwin.com/problems.html FAQ: ht

List of packages installed by Cygwin setup.exe by default?

2025-02-08 Thread Martin Wege via Cygwin
Hello! Is there a list of packages (including all their dependencies!) which are installed by Cygwin setup.exe by default, e.g. start installer, click everything "yes", but do not select any extra packages? Thanks, Martin -- Problem reports: https://cygwin.com/problem

Cygwin 3.7 wishlist: read/write NTFS alternate data streams via openat(O_XATTR)

2025-03-24 Thread Martin Wege via Cygwin
()), but the virtual XATTR dir might be a challenge (beyond my skill at least). Thanks, Martin -- Forwarded message - From: Martin Wege Date: Thu, Nov 30, 2023 at 4:55 AM Subject: Cygwin tools to read/write NTFS alternate data streams? To: Hello, Does Cygwin have tools (modified

Re: Cygwin 3.6 on Windows 8?

2025-03-10 Thread Martin Wege via Cygwin
orks with all recent, commercially released x86_64 versions of Windows, starting with Windows 8.1. For more information see the FAQ." Whether Windows 8.1 is really still supported for Cygwin 3.6, that only Corinna can answer. Thanks, Martin -- Problem reports: https://cyg

Implementing posix_fadvise()?

2025-02-21 Thread Martin Wege via Cygwin
Hello! Could Cygwin implement posix_fadvise()? Which Windows API would be suitable to map posix_fadvise() functionality? Thanks, Martin -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html

Re: UNC path for WebDAV with cd '\\webdavsrv@SSL\path' or cd '\\webdavsrv@23456\path' will not work

2025-02-21 Thread Martin Wege via Cygwin
On Fri, Feb 21, 2025 at 11:29 AM Corinna Vinschen via Cygwin wrote: > > On Feb 20 23:36, Martin Wege via Cygwin wrote: > > On Thu, Feb 20, 2025 at 9:37 PM Corinna Vinschen via Cygwin > > > And here's the problem. It works fine for me on all shares, be i

Re: https://github.com/mirror/newlib-cygwin not getting updates

2025-02-21 Thread Martin Wege via Cygwin
On Fri, Feb 21, 2025 at 11:33 AM Corinna Vinschen via Cygwin < cygwin@cygwin.com> wrote: > > On Feb 20 23:49, Martin Wege via Cygwin wrote: > > Hello! > > > > FYI https://github.com/mirror/newlib-cygwin has not been getting > > updates for months. Can anyone p

https://github.com/mirror/newlib-cygwin not getting updates

2025-02-20 Thread Martin Wege via Cygwin
Hello! FYI https://github.com/mirror/newlib-cygwin has not been getting updates for months. Can anyone please have a look? Thanks, Martin -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html

UNC path for WebDAV with cd '\\webdavsrv@SSL\path' or cd '\\webdavsrv@23456\path' will not work

2025-02-20 Thread Martin Wege via Cygwin
AddrInfoW returned. The code in https://cygwin.com/git/?p=newlib-cygwin.git;a=commitdiff;h=df307349a09e6f1ba75c78b1427dcea40f435e6e;hp=8a8fb570d7c5310a03a34b3dd6f9f8bb35ee9f40 is not going to work, because you only give ret as argument, but not "name+2" as hostname. And speaking of

beginner

2002-10-23 Thread Camerfirma (Juan Angel Martin Gomez)
Hi all, I have installed Cygwin and I couldn't find cc (cc.exe) Where can I find it? Juan Angel smime.p7s Description: Firma criptográfica S/MIME

EAIO-Installator. Fehler.

2018-05-02 Thread Martin Beatriz (IT-SWE-CD2)
Guten Tag, hiermit melde ich weiter einen Fehler von EAIO-Installator. Running batch script C:\devsbb\eaio-ng\websphere\reinstall-was.bat Please set the environment in the configurator. Starting CNTLM proxy... 1 [main] cntlm 8708 find_fast_cwd: WARNING: Couldn't compute FAST_CWD pointer.

scp "lost connection" failure

2025-01-21 Thread Jay M Martin via Cygwin
Get random (but eventual) "lost connection" using scp (which uses sftp/sftp-server) when transferring huge files via 1G ethernet. No problem if use "scp -O" (don't use sftp protocol) or piping through ssh. Will also happen with a local scp via loopback (localhost) so not a network problem. Ru

<    1   2   3   4   5