Re: Regression in syslog-ng with libglib2.0_0 f2.84.0-1

2025-05-04 Thread Sam Edge via Cygwin
On 28/03/2025 11:20, Sam Edge via Cygwin wrote: On 28/03/2025 11:00, Sam Edge via Cygwin wrote: I've had a weird regression with syslog-ng recently. Dunno if it's related to a new release of the Cygwin DLL because I've only just spotted it. When I try to start syslog-ng as a s

Re: Tuning ls, ls -l, find ., find . -ls performance for very large dirs (60000+ files/dir)

2025-04-08 Thread Sam Edge via Cygwin
own to a reasonable time but it should definitely help. See https://www.cygwin.com/cygwin-ug-net/using.html#mount-table. -- Sam Edge OpenPGP_0x8AC2CEBF54528E30.asc Description: OpenPGP public key OpenPGP_signature.asc Description: OpenPGP digital signature -- Problem reports: https://

Regression in syslog-ng?

2025-03-28 Thread Sam Edge via Cygwin
to do it but I'll try upgrading the Cygwin DLL on another non-critical but Windows 10 machine to see how that goes. -- Sam Edge # # Default syslog-ng.conf file which collects all local logs into a # single file call

Re: Package 'unitS' requires python39 & requests

2025-02-18 Thread Sam Edge via Cygwin
On 18/02/2025 00:17, Brian Inglis via Cygwin wrote: On 2025-02-17 16:34, Sam Edge via Cygwin wrote: On 17/02/2025 23:21, Brian Inglis via Cygwin wrote: On 2025-02-17 07:48, Marco Atzeri via Cygwin wrote: On 17/02/2025 15:31, Sam Edge via Cygwin wrote: On 17/02/2025 11:29, Federico Kircheis

Re: Package 'unitS' requires python39 & requests

2025-02-17 Thread Sam Edge via Cygwin
On 17/02/2025 23:21, Brian Inglis via Cygwin wrote: On 2025-02-17 07:48, Marco Atzeri via Cygwin wrote: On 17/02/2025 15:31, Sam Edge via Cygwin wrote: On 17/02/2025 11:29, Federico Kircheis via Cygwin wrote: I mentioned this a while ago but the 'units' package also has a dep

Package 'unit' requires python39 & requests (was Re: Latest version of mc requires python3)

2025-02-17 Thread Sam Edge via Cygwin
a to remove those dependencies? -- Sam Edge OpenPGP_0x8AC2CEBF54528E30.asc Description: OpenPGP public key OpenPGP_signature.asc Description: OpenPGP digital signature -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:

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

2024-10-29 Thread Sam Edge via Cygwin
On 29/10/2024 15:47, Corinna Vinschen via Cygwin wrote: On Oct 29 15:08, Sam Edge via Cygwin wrote: On 29/10/2024 14:38, Corinna Vinschen via Cygwin wrote: On Oct 29 13:56, Martin Wege via Cygwin wrote: No, FILE_PERSISTENT_ACLS is not in that output. Reading https://learn.microsoft.com/en

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

2024-10-29 Thread Sam Edge via Cygwin
s discussed at https://cygwin.com/problems.html. Thanks. -- Sam Edge OpenPGP_0x8AC2CEBF54528E30.asc Description: OpenPGP public key OpenPGP_signature.asc Description: OpenPGP digital signature -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.c

Re: Windows Server NFS, getfact not working on NFS

2024-10-28 Thread Sam Edge via Cygwin
On 27/10/2024 10:59, Andrey Repin via Cygwin wrote: Greetings, Sam Edge via Cygwin! That's because "acl" is the default. Which is, again, a bad idea in general. So there must be another reason why Cygwin is reporting his Windows NFS server shares as not supporting ACLs whe

Re: Windows Server NFS, getfact not working on NFS

2024-10-27 Thread Sam Edge via Cygwin
#effective:r-x group:Users:r-x mask::r-x other::--- default:user::--- default:group::--- default:group:Authenticated Users:rwx default:group:SYSTEM:rwx default:group:Administrators:rwx default:group:Users:r-x default:mask::rwx default:other::--- -- Sam Edge OpenPGP_0x8AC2CEBF54528E30.asc

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

2024-10-27 Thread Sam Edge via Cygwin
com/cgi-bin2/package-grep.cgi?grep=winfsinfo it returns 'Found 0 matches for winfsinfo'. I'm curious as to from whence yours came. :-) -- Sam Edge OpenPGP_0x8AC2CEBF54528E30.asc Description: OpenPGP public key OpenPGP_signature.asc Description: OpenPGP digital signatu

Re: What is the tcl library path?

2024-10-19 Thread Sam Edge via Cygwin
On 18/10/2024 20:54, José Isaías Cabrera wrote: On Friday, October 18, 2024 03:32 PM, Sam Edge expressed: > you > should be using a Microsoft or MSYS2/MinGW native (or Cygwin MinGW > cross) toolchain and pointing it to Windows native Tcl libraries. I am. These are my commands in

Re: What is the tcl library path?

2024-10-18 Thread Sam Edge via Cygwin
asons documented elsewhere. -- Sam Edge OpenPGP_0x8AC2CEBF54528E30.asc Description: OpenPGP public key OpenPGP_signature.asc Description: OpenPGP digital signature -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:

Re: What is the tcl library path?

2024-10-18 Thread Sam Edge via Cygwin
rings, naturally. Cygwin uses PE DLL libraries not ELF SO one of course. Are you configuring for Cygwin rather than straight-up POSIX/Linux or Windows? Just a thought. (Sorry, don't have the b/w for following up on the forum thread.) -- Sam Edge OpenPGP_0x8AC2CEBF54528E30.asc D

Re: Computer Science

2024-10-16 Thread Sam Edge via Cygwin
On 16/10/2024 23:32, Brian Inglis via Cygwin wrote: [snip] I couldn't have put it better Brian, especially regarding grasp of basic grammar and ability to provide semantic content. But you're just feeding the trolls. ;-) -- Sam Edge OpenPGP_0x8AC2CEBF54528E30.asc Descriptio

Re: What is the tcl library path?

2024-10-14 Thread Sam Edge via Cygwin
reference. -- Sam Edge OpenPGP_0x8AC2CEBF54528E30.asc Description: OpenPGP public key OpenPGP_signature.asc Description: OpenPGP digital signature -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/

Re: cygwin runs three instances of rsync.exe at the same time

2024-06-18 Thread Sam Edge via Cygwin
On 19/06/2024 07:09, Sam Edge via Cygwin wrote: This is how rsync works. The executable forked from the command line runs up two communicating child processes to handle the 'from' and 'to' ends of the transfer. I forgot to say, this is how rsync works on any platform such

Re: cygwin runs three instances of rsync.exe at the same time

2024-06-18 Thread Sam Edge via Cygwin
an rsync daemon process or via remote shell, usually ssh. The documentation for rsync explains this. -- Sam Edge -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: http

Re: Cygwin a bit slow

2024-04-13 Thread Sam Edge via Cygwin
of doing so. (Good luck with the last - IT managers are often petty empire builders who don't like taking advice even when it's good & saves money. I know - I have been one in past times!) -- Sam Edge -- Problem reports: https://cygwin.com/problems.html FAQ:

Re: Cygwin a bit slow

2024-04-10 Thread Sam Edge via Cygwin
hreads just to do AV scanning does not fill me with confidence! Wherever possible, I remove third-party AV from Windows machines and install group policy to enforce Windows Defender and malware detection in the browser and/or a proxy & the email server instead. Saves a lot of CPU cycles. :-)

Re: /usr/bin/fallocate missing in Cygwin 3.5's "util-linux" ...

2024-01-24 Thread Sam Edge via Cygwin
On 24/01/2024 06:33, Cedric Blancher via Cygwin wrote: > Does /usr/bin/cp in Cygwin copy holes correctly Yesterday, within the 'ware, I saw some bytes that weren't there! They weren't there again today, They'd better not just go away. -- Sam Edge (with apologies t

Re: mintty window border?

2023-08-25 Thread Sam Edge via Cygwin
On 25/08/2023 08:18, Backwoods BC via Cygwin wrote: > On Thu, Aug 24, 2023 at 10:54 PM Gary Johnson via Cygwin > wrote: >> >> On 2023-08-25, Thomas Wolff via Cygwin wrote: >>> >>> >>> Am 25.08.2023 um 02:41 schrieb Gary Johnson via Cygwin: On 2023-08-24, Backwoods BC via Cygwin wrote: >

"Couldn't compute FAST_CWD pointer"

2023-06-16 Thread Sam Adams via Cygwin
error persisted. A quick search seems to point to different versions of GCC used to compile Cygwin might have compatibility issues with different versions of Windows. I'd like to help get this resolved if I can. Thanks, Sam Error: g:\os2\src\onecore\base\devices\association>ls Cygwin WARNIN

Re: exe in path directory, "command not found"

2023-03-15 Thread Sam Edge via Cygwin
instance exiting before returning. The second script ('npp') provides a wrapper around the first for POSIX programs looking for an executable e.g. git commit message editor etc. I've done the same for kdiff3 if anyone wants them. -- Sam Edge #!/bin/bash # # Script to add an "n

Re: newlib-cygwin.git repository: Switching "master" to "main"

2023-01-13 Thread Sam Edge via Cygwin
ster/slave relationship anyway. See https://www.merriam-webster.com/dictionary/master, for example:- * "In Casablanca, I am the master of my own fate." * "She is a master carpenter." * "He is a master of the violin." * "The professor is the master of the coll

Re: substitute for xclip?

2022-10-20 Thread Sam Edge
which of course can be extracted by scripts etc. It appears that Windows Explorer doesn't also place a textual representation onto the clipboard (the Windows clipboard allows multiple representations to exist simultaneously) which is what would be required for Cygwin to use it at present. -- S

Re: substitute for xclip?

2022-10-19 Thread Sam Edge
e clipboard: > 1. The commands 'getclip' and 'putclip' > 2. Redirection to/from /dev/clipboard > Eek. I knew that. I use them all the time. Apologies for the bad steer ... and for top-posting! -- Sam Edge OpenPGP_signature Description: OpenPGP digital signature --

Re: substitute for xclip?

2022-10-19 Thread Sam Edge
H again. Or you can use:- #!/bin/bash shopt -s lastpipe powershell -command Get-Clipboard | mapfile array_variable for multiline. -- Sam Edge On 19/10/2022 08:44, Sam Edge wrote: Hi there. In the absence of a Cygwin-native utility, how about? x="$(powershell -command Get-Clipboard)&

Re: substitute for xclip?

2022-10-19 Thread Sam Edge
Hi there. In the absence of a Cygwin-native utility, how about? x="$(powershell -command Get-Clipboard)" You can pipe to the Windows 'clip' utility to go the other way or use 'powershell -command Set-Clipboard'. But I agree, a Cygwin utility would be nice, unless

Windows 11 smart app control

2022-07-22 Thread Sam Lin
-285ea03d-fa88-4d56-882e-6698afdb7003 Thanks, Sam -- 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: Wish list: Cygwin `mv` to move OneDrive files without downloading them

2022-06-14 Thread Sam Edge
e using the underlying POSIX 'rename within mount' API which hopefully uses the Win32 'rename' but not in a way that carries the new 'O' attribute. Presumably PowerShell's Move-Item does use the right flags to the Win32 API call. One of the problems t

Re: Unable to execute Cygwin application within UDF format

2022-05-27 Thread Sam Edge
On 27/05/2022 10:18, Takashi Yano wrote: On Fri, 27 May 2022 16:47:09 +0800 Sam Lin wrote: I have also successfully executed that is to move cygwin1.dll to the root directory to execute. Will cygwin1.dll be supported to execute in UDF format in the future? As I wrote earlier, it doesn&#

Re: Unable to execute Cygwin application within UDF format

2022-05-27 Thread Sam Lin
Hi , I have also successfully executed that is to move cygwin1.dll to the root directory to execute. Will cygwin1.dll be supported to execute in UDF format in the future? Thanks, Sam Takashi Yano 於 2022年5月27日 週五 下午12:32寫道: > On Fri, 27 May 2022 11:36:27 +0800 > Sam Lin wrote: > >

Unable to execute Cygwin application within UDF format

2022-05-26 Thread Sam Lin
000, 000, 000) 000FFF0 00180047856 (000, 000, 000, 000) 000FFF0 00180047904 (000, 000, 000, 000) End of stack trace This error does not occur in v3.1.7. Hope this will be resolved in the future. Thanks, Sam

Re: Cygwin Perl has slowed in recent months

2022-05-24 Thread Sam Edge
On 24/05/2022 16:03, David Christensen wrote: On 5/24/22 01:47, Sam Edge wrote: On 24/05/2022 09:25, Csaba Raduly wrote:  > On Mon, 23 May 2022 at 20:47, Lee  wrote:  >>  >> On 5/22/22, David Christensen wrote:  >>> On 5/21/22 10:55, Hans-Bernhard Bröker wrote:  >

Re: Cygwin Perl has slowed in recent months

2022-05-24 Thread Sam Edge
f processes "then" > as it does  "now". > In  which case the increase in the run time could be attributed to Cygwin. Indeed. But perhaps what the Cygwin core and/or Cygwin Perl maintainers need is a simple test case Perl script that can be shown to be

cygwin SFTP

2022-02-26 Thread Sam Yang Zilong
t? If not, is there any application that can achieve my goal? Wish you a great day and thank you for your time reading this email. And I wish to hear from you soon. Sincerely, Sam. -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Document

gnu gcc search path

2022-01-31 Thread Sam Darwin
Hi, Regarding https://cygwin.com/packages/summary/gcc-g++.html This is a (perhaps) esoteric question about how gnu gcc should operate. It says at https://gcc.gnu.org/onlinedocs/cpp/Search-Path.html "By default, the preprocessor looks for header files included by the quote form of the directive

Re: A notion about saving and restoring Windows file security info

2022-01-06 Thread Sam Edge
sible values that only affect how they're written and not how they're read. Just a thought. -- Sam Edge -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https:

Re: possible snprintf() regression in 3.3.2

2021-11-18 Thread Sam Edge via Cygwin
t from using heap instead of having to make all my stacks bigger. Just my two penn'orth. Cheers. -- Sam -- 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: mmap failure [was: cygrunsrv + sshd + rsync = 20 times too slow -- throttled?]

2021-09-07 Thread Sam Edge via Cygwin
what was on the stack or in the register before the variable is used. It also helps when reviewing code. A compiler or static analyser cannot always determine whether a variable is used before it's assigned so getting into the habit of doing this saves a lot of grief down the line, as demonstrated

Re: objects created in a dir w/cygwin mangled perms; inherit no-access

2021-08-23 Thread Sam Edge via Cygwin
On 23/08/2021 20:31, L A Walsh wrote: > > On 2021/07/15 01:23, Sam Edge via Cygwin wrote: >> (By the way, the permission workaround is another good reason for not installing in system root if advice from the authors of Cygwin - Corinna et al - isn't enough for you.) > --- >

Re: META: Fix the signup procedure?

2021-08-12 Thread Sam Edge via Cygwin
ists with a pretty small moderation team. Sounds like an offer to me. Thanks Russell. ;-) -- Sam Edge -- 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: objects created in a dir w/cygwin mangled perms; inherit no-access

2021-07-15 Thread Sam Edge via Cygwin
nt you from using it for recovery. PEBCAK -- Sam Edge -- 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: cygpath and star character

2021-07-14 Thread Sam Edge via Cygwin
th it will naturally consider it to be a character in a pathname and give you the equivalent Windows path that Cygwin would construct using the open() syscall. This is cygpath's purpose, after all! -- Sam Edge -- Problem reports: https://cygwin.com/problems.html FAQ: https:

Re: rename a user using setfacl -- possible? how?

2019-07-06 Thread Sam Edge
s to manipulate the NTFS ACLs I'd be inclined to look at native tools, probably using a Powershell script if you need to automate it. If you use setfacl on paths outside your 'Cygwin domain' it's going to mess up the more normal Windows/NTFS ACL usage especially the inheritanc

Re: cygwin can not be compiled with gcc 8.3.0

2019-07-05 Thread Sam Edge
On 05/07/2019 21:46, Biswapriyo Nath wrote: > Now I'm sure that the issue in cygwin source code. I've installed all the > components. Also find same issue[1] provided a year ago. Cygwin needs some > papering[2] for gcc 8.3.0. > Hi again. I don't want to sound mean (https://cygwin.com/acronyms/#WJM

Re: cygwin can not be compiled with gcc 8.3.0

2019-07-05 Thread Sam Edge
On 05/07/2019 18:03, Biswapriyo Nath wrote: > > If it is deprecated then why the FAQ is not fixed yet? > As is normal, I'll think you'll find https://cygwin.com/acronyms/#PTC. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation:

Re: Bug report. Clang sqrtl(-1) causes access violation

2019-05-10 Thread Sam Habiel
Wow I can't believe that The Agner Fog posted on the Cygwin mailing list! https://www.agner.org/ On Fri, May 10, 2019 at 8:58 AM Agner Fog wrote: > > Bug description: > > The sqrtl function under Clang causes an access violation when the > argument is negative. > > This error occurs only under C

Re: Request for an example x68 assembler portable Hello World script

2019-04-29 Thread Sam Habiel
u.edu/~ray/notes/gasexamples/. --Sam On Sun, Apr 28, 2019 at 4:00 PM Eliot Moss wrote: > > On 4/26/2019 5:04 PM, Jesse Thompson wrote: > > > Ultimately what I am trying to research is how to begin building a simple > > compilation system of my own, so how do the *make

Cygserver functionality in UG

2019-02-15 Thread Sam Edge (Cygwin)
iliar with the web site source tree. I'll try to take a look next week if one of you stout fellows hasn't done it. -- Sam Edge -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubsc

Re: Windows to Cygwin username mapping: Domain before local account when duplicate name?

2019-02-15 Thread Sam Edge (Cygwin)
you'd > have to specify an authority (e.g. domain\username). > > It seems like Cygwin looks up the domain account first. > > Is this correct, or am I missing something? Is this by design? > > Thanks, > > Bill https://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-map

Re: 32 bit vs 64 bit Cygwin, followup

2019-02-04 Thread Sam Habiel
omplete support for varargs for the sysv abi--but buggy. I attached the disassembly as well as the testing programs for your convenience. --Sam Dump of assembler code for function PrintFloats: test_sysvabi.c: 6 { 0x000100401080 <+0>: push %rbp 0x000100401081

Re: 32 bit vs 64 bit Cygwin, followup

2019-02-02 Thread Sam Habiel
On Sat, Feb 2, 2019 at 9:39 AM Sam Habiel wrote: > > On Thu, Nov 29, 2018 at 11:33 AM Corinna Vinschen > wrote: > > > > On Nov 29 10:18, Sam Habiel wrote: > > > On Thu, Nov 29, 2018 at 3:58 AM Corinna Vinschen wrote: > > > > On Nov 28 11:06, Sam Habiel w

Re: 32 bit vs 64 bit Cygwin, followup

2019-02-02 Thread Sam Habiel
On Thu, Nov 29, 2018 at 11:33 AM Corinna Vinschen wrote: > > On Nov 29 10:18, Sam Habiel wrote: > > On Thu, Nov 29, 2018 at 3:58 AM Corinna Vinschen wrote: > > > On Nov 28 11:06, Sam Habiel wrote: > > > > On Wed, Nov 28, 2018 at 11:01 AM Yaakov Selkowitz wrote: &

Re: sshd permits logon using disabled user?

2019-01-28 Thread Sam Edge
On 27/01/2019 22:10, Corinna Vinschen wrote: > On Jan 27 17:49, Sam Edge (Cygwin) wrote: >> On 25/01/2019 18:03, Bill Stewart wrote: >>> On Fri, Jan 25, 2019 at 10:48 AM Stephen Paul Carrier >>> wrote: >>> >>>> There are different paths to acces

Re: sshd permits logon using disabled user?

2019-01-27 Thread Sam Edge (Cygwin)
security auditing. On the other hand, I am baffled as to why Windows itself allows a token to be created for an account that is disabled or locked out. If Cygwin can do it, other programs could too so you're still vulnerable. -- Sam Edge -- Problem reports: http://cygwin.com/problems.

Re: 32 bit vs 64 bit Cygwin, followup

2018-11-29 Thread Sam Habiel
On Thu, Nov 29, 2018 at 3:58 AM Corinna Vinschen wrote: > > Please, no top-posting. > > On Nov 28 11:06, Sam Habiel wrote: > > Yaakov, > > > > On Wed, Nov 28, 2018 at 11:01 AM Yaakov Selkowitz > > wrote: > > > > > > On Mon, 2018-11-26 at

Re: 32 bit vs 64 bit Cygwin, followup

2018-11-28 Thread Sam Habiel
Yaakov, Are you telling me that gcc has a flag to support AMD ABI on Cygwin x64? The assembly code is not standalone; it gets called from C code and calls C code. --Sam On Wed, Nov 28, 2018 at 11:01 AM Yaakov Selkowitz wrote: > > On Mon, 2018-11-26 at 14:07 -0500, Sam Habiel wrote: >

32 bit vs 64 bit Cygwin, followup

2018-11-26 Thread Sam Habiel
indows x64 ABI. There are about 100 source code files that are in assembly. By the way, thank you for the Async IO APIs. I needed those for newer versions of GT.M and was able to port it successfully to Cygwin x32. --Sam -- Problem reports: http://cygwin.com/problems.html FAQ:

How can I troubleshoot this error: address space is already occupied?

2018-07-19 Thread Sam Habiel
A quick internet search didn't show me anything interesting. Any ideas on how I can troubleshoot this? 1 [main] mumps 7644 child_info_fork::abort: address space needed by 'cygz.dll' (0xB4) is already occupied --Sam -- Problem reports: http://cygwin.com/pr

Re: Windows upgrade

2018-06-13 Thread Sam Habiel
Thank you Andrey. I use default settings on Gmail--that's the problem mainly. --Sam On Wed, Jun 13, 2018 at 8:53 AM, Andrey Repin wrote: > Greetings, Sam Habiel! > >> I use Cygwin 32-bit all the time on Windows 10 x64. > > 1. This is not a public census, mind you. >

Re: Windows upgrade

2018-06-12 Thread Sam Habiel
I use Cygwin 32-bit all the time on Windows 10 x64. --Sam On Tue, Jun 12, 2018 at 7:31 PM Alejandro Benitez < benitezalejandroe...@outlook.com> wrote: > Hi, > > I have a 32 bit cygwin installation of 8 years of age in an amd64 PC with > 2 GB of RAM with Windows 10. So far it

Re: Help with sgid into the Administrators group (or alternatives?)

2018-06-08 Thread Sam Habiel
I installed the LSA authentication package; but no difference in behavior was found. --Sam On Wed, Jun 6, 2018 at 9:20 AM, Sam Habiel wrote: > I am continuing to port GT.M to Cygwin > (https://www.fisglobal.com/solutions/banking-and-wealth/services/database-engine). > > The databas

Help with sgid into the Administrators group (or alternatives?)

2018-06-06 Thread Sam Habiel
t path; or is Windows and Cygwin being reasonable in denying my request to chdir when the user is not a member of the Administrators group, in spite of the executable being sgid Administrators? --Sam -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygw

Re: Help with C clearenv and setenv

2018-06-06 Thread Sam Habiel
Eliot Moss, This worked perfectly: char *dummy = NULL; environ = &dummy; Thank you so much. --Sam On Mon, Jun 4, 2018 at 4:22 PM, Sam Habiel wrote: > Thank you! > > On Mon, Jun 4, 2018 at 3:39 PM, Ken Brown wrote: >> On 5/31/2018 9:43 AM, Eric Blake wrote: >>>

Re: Help with C clearenv and setenv

2018-06-04 Thread Sam Habiel
Thank you! On Mon, Jun 4, 2018 at 3:39 PM, Ken Brown wrote: > On 5/31/2018 9:43 AM, Eric Blake wrote: >> >> On 05/30/2018 09:48 AM, Sam Habiel wrote: >>> >>> I have code for a database I am porting to Cygwin. >>> >>> Part of that code is a c

Re: Help with C clearenv and setenv

2018-05-30 Thread Sam Habiel
Thank you Keith for you reply; but I am actually looking for the C APIs to manipulate the environment; esp. to clear it. On Wed, May 30, 2018 at 6:05 PM, Keith Christian wrote: > Sam, > > Here is a short demonstration of how to detect unset (possibly null, > too?) variables in BAS

Help with C clearenv and setenv

2018-05-30 Thread Sam Habiel
is the correct way to clear environment variables in Cygwin? --Sam (About me: http://smh101.com/) -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/

Re: Dependency issues in setup.ini.

2017-09-30 Thread Sam Edge
iour it would be nice to have a smaller subset upon which you could add just what's needed, usually make, grep, sed, cp, mv & rm & maybe a scripter such as awk, perl, tcl (or python!) depending upon. Anyway, it's the weekend so I'm off. Enjoy, -- Sam -- Problem r

Re: Dependency issues in setup.ini.

2017-09-30 Thread Sam Edge
Hi Andrey. Nice to be back in a thread with such esteemed folk. ;-) On 30/09/2017 10:00, Andrey Repin wrote: > Greetings, Sam Edge (Cygwin)! > >> I've been developing a Python package that can interrogate and >> manipulate local package caches (the directories where se

Re: Dependency issues in setup.ini.

2017-09-30 Thread Sam Edge (Cygwin)
On 29/09/2017 23:39, Steven Penny wrote: > On Fri, 29 Sep 2017 21:16:17, "Sam Edge (Cygwin)" wrote: >> For example we have lots of dependency loops in the 'requires' fields in >> setup.ini - even to the point that some packages depend upon themselves! > >

Dependency issues in setup.ini.

2017-09-29 Thread Sam Edge (Cygwin)
i - even to the point that some packages depend upon themselves! And also we have some dependency omissions. For example, mintty doesn't depend upon anything - it has no requires field. Surely, every binary package should depend at least upon 'cygwin'? Is this a known issue or sho

error with startwin on windows 10

2017-06-14 Thread Sam Mallinson
Hi there, I got the following error code when I tried to run startwin on a Windows 10 machine 0 [main] startxwin 22764 find_fast_cwd: WARNING: Couldn't compute FAST_CWD pointer. Please report this problem to the public mailing list Cheers, Sam Mallinson -- Problem reports:

Re: cygpath

2017-02-10 Thread Sam Edge
On 11/02/2017 00:05, Eliot Moss wrote: > On 2/10/2017 6:50 PM, Sam Edge wrote: > >> Sorry, did anyone actually read Andrey's post? > > Yes, but I was going through the emails in order and responded > to the earlier one before I got to the later one. Sorry to have

Re: cygpath

2017-02-10 Thread Sam Edge
of this work-around. Generally, all you need to do is accept the Copenhagen interpretation in your scripts and just calculate. ;-) The only thing you need to be careful of is that if you really mean to pass the glob to your Windows app, you leave it out of the string passed to cygpath e.g. cygsta

Re: svn segfault when using svn+ssh schema

2017-01-16 Thread Sam Edge
On 16/01/2017 20:26, Jon Turney wrote: > On 16/01/2017 20:07, Sam Edge wrote: >> On 09/01/2017 19:07, Sam Edge wrote: >>> On 09/01/2017 02:04, Eliot Moss wrote: >>>> On 1/8/2017 3:45 PM, David Rothenberger wrote: >>>>> On 1/8/2017 6:12 AM, Sam Edge wrot

Re: svn segfault when using svn+ssh schema

2017-01-16 Thread Sam Edge
On 09/01/2017 19:07, Sam Edge wrote: > On 09/01/2017 02:04, Eliot Moss wrote: >> On 1/8/2017 3:45 PM, David Rothenberger wrote: >>> On 1/8/2017 6:12 AM, Sam Edge wrote: >>>> I've seen a number of 'svn segfault' threads on the mailing list >>

Re: Cygwin TCP slow

2016-11-29 Thread Sam Habiel
"Then we made a private build of Windows that ignores SO_RCVBUF and SO_SNDBUF and just always uses autotuning no matter what the app does." Out of curiosity, how did you do that? Do you work for Microsoft, or is there something fantastic I missed about building your own modified DLLs? On Tue, Nov

cannot compile anything with gcc on cygwin32; missing cygisl-10.dll

2016-01-26 Thread Sam Habiel
http://stackoverflow.com/questions/32897685/cannot-compile-anything-with-gcc-on-cygwin32-missing-cygisl-10-dll That wasn't me; but I still observed the bug and did the same thing to fix it. How do I report this to the maintainer of gcc? -- Sam Habiel, Pharm.D. VISTA Expertise Ne

First install on Win 7: cygwin1.dll is missing from your computer

2016-01-24 Thread Sam Habiel
I used the setup-x86.exe program to install Cygwin on a Windows 7 x64 box. I have tried several times and I get that error message. (Yes, I want the 32 bit version of Cygwin.) I can't find cygwin1.dll in the c:\cygwin\bin directory (I installed it in c:\cygwin). Is the installer broken? --

Problem with dlsym against libicu

2016-01-22 Thread Sam Habiel
am not looking for a "process" but a symbol. sam@horus ~/fis-gtm-cygwin $ cat test.c #include #include #include int main (int arg, char **argv) { void *ptr = dlopen("cygicuio.dll", RTLD_LAZY); if (ptr != NULL) { printf("%p\n",ptr);

Re: SegFault running "ls -l" after Microsoft Patch Day

2015-12-20 Thread Sam Edge
is point? :-; (Wasn't expecting my little polemic would generate such interest, especially from such exalted company. I'll try to shut up for the rest of the year now anyway.) :-) Best wishes, Sam -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygw

Re: SegFault running "ls -l" after Microsoft Patch Day

2015-12-20 Thread Sam Edge
On 18/12/2015 13:06, Dr Rainer Woitok wrote: > and (of all things!) contain blanks, * rant mode on * What's wrong with blanks? The OS calls don't give a monkey's chuff so long as they're given null-terminated C-strings. Tools like find, xargs etc. have options to cope. The biggest problem is t

Re: Question about flock - potential memory corruption?

2015-09-07 Thread Sam Edge
. slight technical hitch? Your example flock.c doesn't call fork(), nor does it use your two macros MAX_ITER & CHILDREN. -- Sam Edge -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsu

Re: Subversion crashes

2015-09-03 Thread Sam Geeraerts
Op Thu, 27 Aug 2015 15:59:25 -0700 schreef David Rothenberger : > I may or may not try to debug this and fix it in Subversion, but > hopefully this will provide you with a reasonable work-around. I'm not sure what the right way is to build a package from source. I downloaded the -src file, unpack

Re: Subversion crashes

2015-09-01 Thread Sam Geeraerts
Op Thu, 27 Aug 2015 15:59:25 -0700 schreef David Rothenberger : > I can replicate the error if I set HOME to a share like //xxx/yyy, > such as yours is set. If I use a local path, or mount the share to a > local path and then set HOME to that, it works correctly. > > I may or may not try to debug

Re: Updated [test]: coreutils-8.24-2

2015-08-27 Thread Sam Edge
ern compiler. Anyway, we're off-topic so adieu. -- Sam Edge -- 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

Re: Subversion crashes

2015-08-27 Thread Sam Geeraerts
ng slash with the URL. Not the problem in my case. > I guess the next step is cygcheck output and telling me exactly where > the checkout was occurring. But I'm not hopeful I can solve this > because (a) it works for me, (b) I haven't done C programming in many > years and (c) I

Re: Updated [test]: coreutils-8.24-2

2015-08-27 Thread Sam Edge
> unlikely >2G string; and it helps to never branch on uninitialized memory] > One might add, "Always, always initialize automatic variables. This ensures deterministic behaviour. The compiler will optimise out the redundant ones." Rapid diagnosis once reported so I&

Re: Subversion crashes

2015-08-24 Thread Sam Geeraerts
Op Fri, 21 Aug 2015 10:09:04 -0700 schreef David Rothenberger : > It works fine for me here using 1.8.14. > > Are you checking out into a local filesystem or a network filesystem? I check out on a local filesystem. -- Problem reports: http://cygwin.com/problems.html FAQ:

Re: mintty hangs after exit

2015-08-21 Thread Sam Edge
On 22/08/2015 05:54, Thomas Wolff wrote: > Am 22.08.2015 um 06:31 schrieb Sam Edge: >> On 22/08/2015 05:05, John Hein wrote: >>> Andrey Repin wrote at 02:05 +0300 on Aug 22, 2015: >>> > Just noticed a weird thing. Wonder if anyone can confirm or deny >>&

Re: mintty hangs after exit

2015-08-21 Thread Sam Edge
le bar, Alt-F4 etc.) close the window and the mintty process exits cleanly. Not a massive problem but slightly annoying. Cygcheck attached. -- Sam Edge -- Sam Edge Cygwin Configuration Diagnostics Current System Time: Sat Aug 22 05:19:26 2015 Windows 7 Home Premium Ver 6.1 Build 7601 Service Pac

Subversion crashes

2015-08-20 Thread Sam Geeraerts
My Subversion crashes when I run a command that connects to the server. It worked at least until a few weeks ago. I'm not sure which version I had then. Output is as follows. $ svn co --username anonsvn https://smlnj-gforge.cs.uchicago.edu/svn/smlnj/admin test Authentication realm:

Re: chgrp in Windows

2015-02-24 Thread Sam Edge
bsystem at all, although it is propagated through the CIFS network filesystem which is handy for us. You'll need to add a bolt-on (like SFU I think) if you want to see a tab on the Explorer security settings showing the primary group. Or just use Cygwin ls. :-) -- Sam Edge -- Sam Edge

Re: [ANNOUNCEMENT] Updated: units-2.11-1

2015-02-22 Thread Sam Edge
7;s been a while since I was on here.) -- Sam Edge -- 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

Re: Installing Cygwin on Server 2012 R2 failing

2014-08-28 Thread Sam Townsend
ying yet > another install. I'd normally suspect BLODA, except there really isn't much installed on this system: http://i.imgur.com/YBFQx5p.png Anyway, I rebooted, removed the .done extension from "base-files-profile.sh" (the only file that had one), and ran the instal

Re: Installing Cygwin on Server 2012 R2 failing

2014-08-28 Thread Sam Townsend
to install into the root directory of the C: > drive.  Move it down a directory, maybe into C:\Freeware\Cygwin and > install there and I guess it will work. I tried installing to C:\sv\cygwin, and got the same problem. Sam -- Problem reports: http://cygwin.com/problems.html FAQ:

Re: Installing Cygwin on Server 2012 R2 failing

2014-08-28 Thread Sam Townsend
ch. What is the update command to which you are referring? > What to > > Creating /etc/fstab.d directory failed. > > Please fix that manually. > are you running setup as admin? Yes, I am running it as administrator. I really don't understand why it would be un

Installing Cygwin on Server 2012 R2 failing

2014-08-28 Thread Sam Townsend
ygwin. mintty fails to run (it pops up a window briefly which then disappears). I can run bash, but commands don't work because $PATH is not set up properly. Thanks in advance for any help, Sam -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygw

  1   2   3   4   5   6   >