Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!att!alberta!ubc-cs!eric!handel!holm From: holm@handel.mpr.ca (Terrence W. Holm) Newsgroups: comp.os.minix Subject: Re: help wanted Message-ID: <1680@eric.mpr.ca> Date: 15 Jun 89 19:15:29 GMT References: <17736@louie.udel.EDU> Sender: news@eric.mpr.ca Reply-To: holm@handel.UUCP (Terrence W. Holm) Organization: Microtel Pacific Research Ltd., Burnaby, B.C., Canada Lines: 13 In article <17736@louie.udel.EDU> (MATHIAS GAERTNER) writes: >Hi folks, >I have a problem with MINIX-ST, recently with the file-system (as i guess). ... > *nbp++ = '/'; > *nbp++ = '\0'; ... > for (i=0,nep=nbp;i { > *nep++ = dirbuf.d_name[i]; > } Try changing the second assignment to *nbp = '\0';