Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm Sender: cygwin-developers-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin-developers AT sourceware DOT cygnus DOT com Date: Wed, 5 May 1999 20:56:37 +0200 (MET DST) From: Joerg Schilling Message-Id: <199905051856.UAA26390@fokus.gmd.de> To: cygwin-developers AT sourceware DOT cygnus DOT com Cc: Heiko_Eissfeldt AT z DOT detesystem DOT de, heiko AT colossus DOT escape DOT de, schilling AT fokus DOT gmd DOT de Subject: possible Cygwin bugs Hi, I am just under way of porting ~ 3.5 MB of my private source code to Cygwin b20-1. The software includes cdrecord star my own editor my own shell I found several problems that may be a bug or may be not. 1) The terminal size returned by TIOCGWINSIZE seems to be OK, but the emulator wrappes one column too early. I had to hack my editor to make it usable with this problem. 1a) On Win95, there is a problem with autorepeating cursor keys. the terminal emulator looses single chars of the escape sequences and I get [D[`s inserted by bash or my editor. 2) rmdir(file) returns ENOTEMPTY. This is causing a bug in both 'GNUtar' and 'star' (I now carefully handle the problem but I hope it may be fixed). 3) You should note in the docs that the DOS filesystem only increments in steps modulo 2 seconds. Star will usually behave similar to cpio and tell you that you don't need to extract a file because it is not newer in the archive. If you extract a bunch of files and try it a second time, star used tell you that half of all files still need to be extracted. I had to introduce a workaround But I believe that other programmers will get similar problems. 4) When I try to let may shell use its own malloc() which uses sbrk(), it core dumps before main() gets called. Are there any restrictions with the sbrk() implementation? In addition, I have a question about realtime priorities on win32. Cdrecord likes to do mlockal() and also likes to put itself into the highest possible priority. Is there any way to this in Cywgin? Jörg EMail:joerg AT schily DOT isdn DOT cs DOT tu-berlin DOT de (home) Jörg Schilling D-13353 Berlin js AT cs DOT tu-berlin DOT de (uni) If you don't have iso-8859-1 schilling AT fokus DOT gmd DOT de (work) chars I am J"org Schilling URL: http://www.fokus.gmd.de/usr/schilling ftp://ftp.fokus.gmd.de/pub/unix