[JDEV] server installation
Michael D. Johnson
mike_johnson at credence.com
Fri Jan 21 13:33:21 CST 2000
I think I figured this out. The derived types for each argument
indicates this is most likely a typo, because they are EXACTLY the same
as strncpy, the standard string copy function. I changed my copy to
strncpy and added the prototype for shortenedstring on line 35. Now it
is protoizing just fine. We ran into similiar problems in moving our
product from sun 4.6 to Solaris. So I'm trying the same steps we had to
make. I'll let you know if it works or not.
Mike
Thomas Charron wrote:
>
> Quoting "Michael D. Johnson" <mike_johnson at credence.com>:
> > yeah, I verify duplication of the message on Solaris 2.6
> > I'm looking at the common functions:
> > Where did you define the following --
> > snprintf.c: (void) strlcpy(buf, s, m + 1);
> > snprintf.c: (void) strlcpy(buf, s, m - 2);
> > snprintf.c: (void) strlcpy(buf, s, m + 1);
> > In trying to ensure proper protoizing which Solaris insists on, I can't
> > seem to find where the strlcpy function is defined in the code.
>
> Hrm.. Perhaps we missed adding a needed function from the code we used.. I
> believe temas grabbed the snprintf replacement code from sendmail, and perhaps
> this is a function also included with it?
>
> ---
> Thomas Charron
> << Wanted: One decent sig >>
> << Preferably litle used >>
> << and stored in garage. ?>>
>
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev
More information about the JDev
mailing list