Re: [PATCH] Pointer cast warnings in scripts/

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 06.21, Roman Zippel wrote:
> Hi,
> 
> On Tue, 21 Jun 2005, Pierre Ossman wrote:
> 
> > A (somewhat unclean) solution is to make the type change based on the
> > platform. Are there any defines present to test if we're in a Solaris
> > environment? I don't have access to any Solaris machines myself so I
> > can't really test.
> 
> Just ignore it. If someone really cares, he has to redo the Solaris 
> specific changes properly (or live with warnings).
> 

pilgor:~> uname -a
SunOS pilgor 5.9 Generic_117171-07 sun4u sparc SUNW,Sun-Fire-V440 Solaris
pilgor:~> man strcpy
...
     int strcmp(const char *s1, const char *s2);

     int strncmp(const char *s1, const char *s2, size_t n);

     char *strcpy(char *s1, const char *s2);

     char *strncpy(char *s1, const char *s2, size_t n);

They look normal...
What is the problem with solaris ?

--
J.A. Magallon <jamagallon()able!es>     \               Software is like sex:
werewolf!able!es                         \         It's better when it's free
Mandriva Linux release 2006.0 (Cooker) for i586
Linux 2.6.12-jam1 (gcc 4.0.1 (4.0.1-0.2mdk for Mandriva Linux release 2006.0))


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux