From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078654411003.tru64-unix-managers.marc@archive.invalid> From: Daniel.Clar () supelec ! fr (Daniel Clar) Date: Fri, 23 Jan 1998 06:46:55 +0000 To: tru64-unix-managers Subject: SUMMARY: Strange behaviour with one command (following) X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078654411003 > The original question was : > > >It's a strange thing and perharps the question has already been answered . > > > >I'm running DU 4.0b > > > echo $path > /usr/i18n/bin /usr/bin . /usr/local/bin > > which local_comm > /usr/local/bin/local_comm }> local_comm }Segmentation fault }> ./local_comm or /usr/local/bin/local_comm works fine. } }>What could be the difference if the path mechanism is working correctly ? Thank you for your numerous answers which were all about searching the slash character in argv[0]. We're looking to the program to correct this problem. Daniel o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o | Daniel Clar e-mail : Daniel.Clar@supelec.fr | | Computer Operations Manager : dc@supelec.fr | | Service Informatique Supelec and | | Plateau de Moulon DECUSF::CLAR_D or | | 91192 Gif sur Yvette Cedex - France Daniel.Clar@decus.fr | | Tel : (33 1) 69 85 14 87 Fax : (33 1) 69 85 12 34 | o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o