Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!usc!bbn.com!papaya.bbn.com!rsalz From: rsalz@bbn.com (Rich Salz) Newsgroups: comp.mail.mush Subject: Re: Maximum size (length) of an alias Message-ID: <2818@coconut.bbn.com> Date: 4 Sep 90 18:59:24 GMT References: <5761@rtech.Ingres.COM> <11854@ogicse.ogi.edu> Organization: BBN Systems and Technology, Inc. Lines: 11 In <11854@ogicse.ogi.edu> schaefer@ogicse.ogi.edu (Barton E. Schaefer) writes: >The reason that mush "started behaving strange" is that it began attempting >to execute the trailing part(s) of the line, beyond BUFSIZ, as commands. Oooh, bummer. Whenever you do "fgets()" you should always check for a trailing newline, and if you don't find one, read until you do after printing a diagnostic. /r$ -- Please send comp.sources.unix-related mail to rsalz@uunet.uu.net. Use a domain-based address or give alternate paths, or you may lose out.