From: Yuri Dario Date: December 6 2000 7:10am Subject: Re: rmdir() failing under OS/2 List-Archive: http://lists.mysql.com/internals/187 Message-Id: <200012060710.IAA22411@mail.mclink.it> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Hi Monty, >+ char *pos=strend(path); >+ if (pos > path && pos[-1] == FN_LIBCHAR) >+ *--pos=0; but path is declared as 'const char *': so it is supposed to be read-only memory. Shouldn't be better to use strdup() and modify the copy? Bye, Yuri Dario /* * member of TeamOS/2 - Italy * http://www.quasarbbs.net/yuri */