Re: Doesn't chdir to /home/foo when cygwin shell is started

2003-07-01 Thread gilles civario
Xanana Gusmao wrote: My initial HOME var was: $ echo $HOME C: $ export HOME=/home/foo Now it works but I need to add this to a startup script or something. Is your username foo? yes You said you use a W2K machine, so : - Right-click on "My computer" and select "Properties" - Go to "Advanced"

Re: tools to detect memory leaks

2003-06-25 Thread gilles civario
Vishal Jain wrote: Are there any tools that can one use to detect memory leaks in programs compiled and run on cygwin? thanks, Vishal I've used ElectricFence with Cygwin some times ago. I was quiet happy with it. http://perens.com/FreeSoftware Gilles. -- Unsubscribe info: http://cygwin.co

Re: Request Help for link problem

2003-06-23 Thread gilles civario
Jiang zhou wrote: I have build a lib. It create h file and lib file in usr/local/include and usr/local/lib dictionary. But when I create application using this lib, the link problem occur. The lib is Jrtplib come from http://lumumba.luc.ac.be/jori/jrtplib/jrtplib.html. I can build this lib. But wh

Re: patch in cygutil/lpr

2003-06-16 Thread gilles civario
Charles Wilson wrote: Rick Rankin wrote: Gilles, I will make sure this gets into the "official" version, although I have no control over when it will be released. That's up to Chuck Wilson. Committed to CVS BRANCH_1_1_x and BRANCH_1_2_x Released as cygutils-1.1.4-2, available soon from a mirro

patch in cygutil/lpr

2003-06-11 Thread gilles civario
quot;RAW"; prDef.pDevMode = m_devMode; - prDef.DesiredAccess = PRINTER_ALL_ACCESS; + prDef.DesiredAccess = PRINTER_ACCESS_USE; if (m_devHandle == INVALID_HANDLE_VALUE && !OpenPrinter(tstr(m_devName), &m_devHandle, &prDef)) And now, it works perfectly for me. Regards. Gill