Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!sco!mikep From: mikep@sco.COM (Mike Patnode) Newsgroups: sco.opendesktop,comp.windows.motif,comp.windows.x Subject: Re: XmFileSelectionBox error found Message-ID: <7621@scolex.sco.COM> Date: 30 Aug 90 05:43:51 GMT References: <1990Aug28.120308.411@mabjab> Sender: news@sco.COM Reply-To: mikep@sco.COM (Mike Patnode) Organization: The Santa Cruz Operation, Inc. Lines: 21 In article <1990Aug28.120308.411@mabjab> ppaone@mabjab (Phil Paone) writes: >I found what I thought was a bug in the XmFileSelection box widget under >SCO UNIX 3.2.1. It turns out that the bug was not in the motif code, but >in the dirent routines. The bug was that the filenames showing up in the selection >window where missing the first two characters from the filenames. You are probably incorrectly linking with -lx. You should use the directory routines in libc.a. If you need to link with -lx for some xenix compatibility use the following link line: -lXm -lXt -lX11 -lsocket -lmalloc -lc -lx If you don't need -lx, don't use it. -- Mike Patnode The Santa Cruz Operation SCO Software Engineer 400 Encinal Street {ucscc,uunet}!sco!mikep mikep@sco.COM P.O. Box 1900 (408) 458-1422 Santa Cruz, CA 95061