Path: utzoo!attcan!uunet!stan!boulder!bri From: bri@boulder.Colorado.EDU (Brian Ellis) Newsgroups: comp.unix.wizards Subject: Re: of course! Message-ID: <14738@boulder.Colorado.EDU> Date: 9 Dec 89 16:34:51 GMT References: <152@norsat.UUCP> <2586@unisoft.UUCP> <15769@bloom-beacon.MIT.EDU> <17264@rpp386.cactus.org> <4526@ski.cs.vu.nl> <17303@rpp386.cactus.org> <1051@root44.co.uk> <1989Nov22.224209.28911@athena.mit.edu> <128791@sun.Eng.Sun.COM> <563@balthmus.tessi.UUCP> Sender: news@boulder.Colorado.EDU Reply-To: bri@boulder.Colorado.EDU (Brian Ellis) Organization: University of Colorado, Boulder Lines: 11 In article <563@balthmus.tessi.UUCP> joey@tessi.UUCP (Joe Pruett) writes: >isadir(path) >char *path; >{ > char tpath[strlen(path) + 3]; [deleted] this declaration is not legal, though. You must give the size at *compile* time. You'll get the error "constant expected" -brian ellis (bri@boulder.Colorado.EDU)