All of lore.kernel.org
 help / color / mirror / Atom feed
From: Roman Zippel <zippel@linux-m68k.org>
To: "René Scharfe" <l.s.r@web.de>
Cc: Alan Cox <alan@redhat.com>,
	Linus Torvalds <torvalds@transmeta.com>,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] strtok --> strsep in framebuffer drivers
Date: Fri, 26 Oct 2001 19:30:25 +0200	[thread overview]
Message-ID: <3BD99DB1.7B09DDBE@linux-m68k.org> (raw)
In-Reply-To: <m15vJFv-007qbrC@smtp.web.de>

Hi,

> diff -ur linux-2.4.13-pre5/drivers/video/virgefb.c
> linux-2.4.13-pre5-rs/drivers/video/virgefb.c
> --- linux-2.4.13-pre5/drivers/video/virgefb.c   Fri Sep 14 01:04:43 2001
> +++ linux-2.4.13-pre5-rs/drivers/video/virgefb.c        Sun Oct 21 13:02:11 2001
> @@ -1085,7 +1085,7 @@
>         if (!options || !*options)
>                 return 0;
> 
> -       for (this_opt = strtok(options, ","); this_opt; this_opt = strtok(NULL,
> ","))
> +       while (this_opt = strsep(&options, ",")) {
>                 if (!strcmp(this_opt, "inverse")) {
>                         Cyberfb_inverse = 1;
>                         fb_invert_cmaps();

You add a left brace here.

bye, Roman

  reply	other threads:[~2001-10-26 17:30 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-21 14:25 [PATCH] strtok --> strsep in framebuffer drivers René Scharfe
2001-10-26 17:30 ` Roman Zippel [this message]
     [not found] <200110250658.f9P6wsa25178@penguin.transmeta.com>
2001-10-25 21:58 ` René Scharfe
2001-10-26  0:41   ` Linus Torvalds
2001-10-26 23:14     ` René Scharfe
2001-10-27 19:48     ` René Scharfe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3BD99DB1.7B09DDBE@linux-m68k.org \
    --to=zippel@linux-m68k.org \
    --cc=alan@redhat.com \
    --cc=l.s.r@web.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@transmeta.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.