All of lore.kernel.org
 help / color / mirror / Atom feed
From: Markos Chandras <Markos.Chandras@imgtec.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] backend/pixma_bjnp: Replace index() with strchr()
Date: Mon, 5 Mar 2012 15:45:10 +0000	[thread overview]
Message-ID: <4F54DF86.7000504@imgtec.com> (raw)

Hi,

This patch replaces the obsolete index() function with strchr() in
sane-backends code. I have also filed a bug upstream

https://alioth.debian.org/tracker/index.php?func=detail&aid=313563&group_id=30186&atid=410366

I don't know if you want to include this patch on buildroot before
upstream does, but it may be useful for people wondering why
sane-backend does not build on certain systems. The index() and rindex()
functions are only exported if uClibc is configured with
UCLIBC_SUSV3_LEGACY_MACROS. This problem has also been discussed in the
past:

http://lists.busybox.net/pipermail/buildroot/2007-June/015201.html

-- 
markos
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: sane-backends-1.0.22-index-to-strchr.patch
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20120305/7f462654/attachment-0001.ksh>

             reply	other threads:[~2012-03-05 15:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-05 15:45 Markos Chandras [this message]
2012-03-06 10:16 ` [Buildroot] [PATCH] backend/pixma_bjnp: Replace index() with strchr() Markos Chandras

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=4F54DF86.7000504@imgtec.com \
    --to=markos.chandras@imgtec.com \
    --cc=buildroot@busybox.net \
    /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.