Re: [dwm] dmenu - simplification of cistrstr and kpress

From: Sander van Dijk <a.h.vandijk_AT_gmail.com>
Date: Thu, 26 Jun 2008 16:33:32 +0200

On 6/26/08, Premysl Hruby <dfenze_AT_gmail.com> wrote:
> Hi,
>
> it also defines feature macro _BSD_SOURCE, so usleep and strdup is
> declared.
>
> patch attached.

"return (char *)1;"?

cistrstr(s, sub) is supposed to return a pointer to the first
occurence of "sub" in "s", or NULL if there is none; not some fixed
pointer to memory that's probably not even allocated to the process.

Greetings, Sander.
Received on Thu Jun 26 2008 - 16:33:34 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:51:30 UTC