Path: utzoo!utgpu!watserv1!watmath!att!linac!pacific.mps.ohio-state.edu!zaphod.mps.ohio-state.edu!wuarchive!uwm.edu!uwvax!persoft!dag From: dag@persoft.com (Daniel A. Glasser) Newsgroups: comp.sources.wanted Subject: Re: What is strdup() supposed to do? Does anyone have a copy? Message-ID: <1991Feb22.194929.15613@persoft.com> Date: 22 Feb 91 19:49:29 GMT References: <1991Feb17.045913.17126@sbcs.sunysb.edu> <16988@crdgw1.crd.ge.com> Organization: Persoft, Inc. Lines: 21 In article <16988@crdgw1.crd.ge.com> volpe@camelback.crd.ge.com (Christopher R Volpe) writes: >In article , >fischer@iesd.auc.dk (Lars P. Fischer) writes: >|>>>>>> dag@persoft.com (Daniel Glasser) writes: >|>Daniel> sizeof(char) * (strlen(foo) + 1) > ^ > |-This paren isn't closed, and > may be causing much of the confusion. Huh? Not closed? What's the trailing ")" on that line, then? Part of a misstyped smiley? There is no confusion, from what I can tell, just a minor error on the part of Jeff when looking at the code. Some people get rather defensive about their code. I thought this discussion was closed. :( -- Daniel A. Glasser | Persoft, Inc. | dag@persoft.com "Their brains were small, and they died."