Re: A problem with tgamma function

2007-10-12 Thread Angelo Graziosi
Lev Bishop wrote: > I'm sure glibc and newlib would both appreciate a good algorithm for > tgamma(), if you felt like submitting one... It seems that a good algorithm has yet been coded in the GAMMA implementation of CERNLIB (http://wwwasdoc.web.cern.ch/wwwasdoc/shortwrupsdir/c302/top.html, http

Re: shmget() returns xx if current user is not a administrator

2007-10-12 Thread Corinna Vinschen
On Oct 12 11:09, patrick ficheux wrote: > In SANE (scanner project), the backend for snapscan failed to call shmget() > with error EACCES (Permission denied) if the current user isn't > administrator. > When I'am logged as windows administrator, shmget() is called successfully > > In both case, t

shmget() returns xx if current user is not a administrator

2007-10-12 Thread patrick ficheux
In SANE (scanner project), the backend for snapscan failed to call shmget() with error EACCES (Permission denied) if the current user isn't administrator. When I'am logged as windows administrator, shmget() is called successfully In both case, the env. variable CYGWIN exists and this value is

Re: shmget() returns xx if current user is not a administrator

2007-10-12 Thread patrick ficheux
Corinna Vinschen a écrit : On Oct 12 11:09, patrick ficheux wrote: In SANE (scanner project), the backend for snapscan failed to call shmget() with error EACCES (Permission denied) if the current user isn't administrator. When I'am logged as windows administrator, shmget() is called success

SIGINT handler not called during blocking pipe read

2007-10-12 Thread greg
I'm trying to use a Cygwin-linked program as a subprocess in Eclipse. As spawned in this environment, if a SIGINT is sent to the process when it is blocked reading from stdin (connected to a pipe in this case), the SIGINT handler is not being called. In an attempt to reduce the scenario to its ess

Re: Running two different profiles based on user loggin

2007-10-12 Thread Warren Young
Spencer Bailey wrote: I've created two different profiles in /etc. profile.1 and profile.2 which both contain different aliases etc. Based on the user logging in I want to be able to run the correct profile. Is it possible to put in a check in the /etc/profile that is a certain user logs in to

Running two different profiles based on user loggin

2007-10-12 Thread Spencer Bailey
Hi, I've created two different profiles in /etc. profile.1 and profile.2 which both contain different aliases etc. Based on the user logging in I want to be able to run the correct profile. Is it possible to put in a check in the /etc/profile that is a certain user logs in to run the profile. Lik

Re: Running two different profiles based on user loggin

2007-10-12 Thread Markus E L
"Spencer Bailey" wrote: > Hi, > > I've created two different profiles in /etc. profile.1 and profile.2 > which both contain different aliases etc. Based on the user logging in > I want to be able to run the correct profile. > > Is it possible to put in a check in the /etc/profile that is a certai

Re: Running two different profiles based on user loggin

2007-10-12 Thread Spencer Bailey
There a 50+ users and the two profiles can change on a monthly basis. I don't want to have to maintain all the .profiles in users directories. Thanks On 10/12/07, Warren Young <[EMAIL PROTECTED]> wrote: > Spencer Bailey wrote: > > > > I've created two different profiles in /etc. profile.1 and p

Re: Running two different profiles based on user loggin

2007-10-12 Thread Warren Young
Spencer Bailey wrote: I don't want to have to maintain all the .profiles in users directories. You don't have to. Add something like this to each ~/.profie: . /etc/profile-class1 Unless users change classes frequently over time, you never touch the .profile again. All changes happe

Re: Sorry Resend: Cygwin For Vista Setup Postinstall post-textmf.sh With Cygcheck.out

2007-10-12 Thread nmehta
Larry Hall (Cygwin) wrote: > > Thomas Dineen wrote: >> Larry & All: >> >> I installed the same Cygin SW release on my 2 GHZ single core >> Win 2000 desk top machine and it completed the "Running" part of the >> installation in a timely manor. >> >> Is there a reason that it would take

Re: A problem with tgamma function

2007-10-12 Thread Angelo Graziosi
Lev Bishop wrote: > One immediately obvious problem with that implementation is that it > doesn't handle negative parameter. http://wwwasdoc.web.cern.ch/wwwasdoc/shortwrupsdir/c303/top.html http://wwwasdoc.web.cern.ch/wwwasdoc/cernlib.html Angelo. -- Unsubscribe info: http://cygwin.

Re: A problem with tgamma function

2007-10-12 Thread Lev Bishop
On 10/12/07, Angelo Graziosi wrote: > > Lev Bishop wrote: > > > I'm sure glibc and newlib would both appreciate a good algorithm for > > tgamma(), if you felt like submitting one... > > It seems that a good algorithm has yet been coded in the GAMMA > implementation of CERNLIB > (http://wwwasdoc.web

Re: cygwin makes shared folders on vista

2007-10-12 Thread nmehta
jxt wrote: > > If I do a mkdir in a bash shell, it creates a folder that vista thinks is > shared. Doesn't happen in the normal vista cmd shell. Doesn't happen on > XP. And turning off sharing in vista takes forever (minutes). > > Worse, if I untar a tgz file, in cmd or bash, it creates a vista

OpenLDAP Upgrade Request (OpenLDAP 2.3.38)

2007-10-12 Thread Svend Sorensen
Could the Cygwin OpenLDAP be updated to the latest stable release (2.3.38)? Thanks, Svend -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygw

Re: cygwin makes shared folders on vista

2007-10-12 Thread jxt
nmehta wrote: > > I see the exact same behavior on every Cygwin/Vista installation I've > done. This also happens when you create a file in Cygwin (just touch a > file to test it). I can only presume that there is something > fundamentally wrong about how Cygwin creates ACLs (Access Control Li

Re: cygwin makes shared folders on vista

2007-10-12 Thread Matthew Woehlke
jxt wrote: However, as this is the *users* mailing list, I'm wondering if developers hang out here regularly. They do. Is there somewhere else to post that would get more developer attention? Nope. This is the right place. Well, maybe there is... I'm sure if you called one of them, for exa

Re: cygwin makes shared folders on vista

2007-10-12 Thread Brian Dessent
nmehta wrote: > Comparing a file touched in Cygwin vs a file created in Vista, the ACLs look > different (Cygwin has 'Everyone' while Vista has 'SYSTEM', and Cygwin has > 'Users' while Vista has the actual group you are in, or in this case > 'Administrators'). If you remove the permissions on 'Us

stupid question about user/groups shown with ls -l and ls -ln

2007-10-12 Thread DePriest, Jason R.
If I run ls -l from /cygdrive/c it shows pagefile.sys as --1 1595523072 Oct 12 10:43 pagefile.sys I hate seeing the little '?' in my ls output. Normally, I just do ls -ln and look up what user name and group the SSIDs match with. However, with pagefile.sys you ge

Re: stupid question about user/groups shown with ls -l and ls -ln

2007-10-12 Thread Larry Hall (Cygwin)
DePriest, Jason R. wrote: If I run ls -l from /cygdrive/c it shows pagefile.sys as --1 1595523072 Oct 12 10:43 pagefile.sys I hate seeing the little '?' in my ls output. Normally, I just do ls -ln and look up what user name and group the SSIDs match with. Howev