From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: X-Archive-Original-Message-ID: Date: Tue, 23 Apr 1996 10:00:58 +0100 From: Nigel Metheringham Subject: Re: Problem compiling 1.3.94 on PC64 Jaccard@Dial.Eunet.Ch said: } Shouldn't the 'strrchr' be changed to 'strchr' in dir.c ? I changed } it and it compiled ok. But you have completely changed the meaning of of the code... Now instead of finding the last \ (backslash) in a pathname its finding the first one... Your problem is that the kernel has no strrchr available, or the code should be rewritten to do this a different way. Since the 386 has an assembly strrchr in include/asm-i386/string-486.h then the other architectures should have this available. I suggest you code one in C initially just to try it (its only used in one place so efficiency isn't going to be that bad!). Nigel. -- [ Nigel.Metheringham@theplanet.net - Unix Applications Engineer ] [ *Views expressed here are personal and not supported by PLAnet* ] [ PLAnet Online : The White House Tel : +44 113 2345566 x 612 ] [ Melbourne Street, Leeds LS2 7PS UK. Fax : +44 113 2345656 ]