mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Rich Felker <dalias@aerifal.cx>
To: musl@lists.openwall.com
Subject: Re: inetutils issues
Date: Sun, 25 Nov 2012 21:54:48 -0500	[thread overview]
Message-ID: <20121126025448.GG20323@brightrain.aerifal.cx> (raw)
In-Reply-To: <20121125224622.2bc569e7@rafaela>

On Sun, Nov 25, 2012 at 10:46:22PM -0300, Matias A. Fonzo wrote:
> Hi there,
> 
> GNU inetutils (the replacement of the BSD net-utils) needs two
> missing legacy headers in order to have the following commands working:
> tftp, ftp, and probably others.
> 
> arpa/tftp.h
> arpa/ftp.h

I don't have any fundamental objection to adding these.

> Also the compilation fails with the file "utmp_login.c", who is trying
> to look for some aliases on include/utmp.h - more specifically, these
> aliases present on the include/utmp.h from Glibc, says:
> 
> /* Compatibility names for the strings of the canonical file names.  */
> #define UTMP_FILE       _PATH_UTMP
> #define UTMP_FILENAME   _PATH_UTMP
> #define WTMP_FILE       _PATH_WTMP
> #define WTMP_FILENAME   _PATH_WTMP
> 
> I've added the lines in the utmp.h provided by Musl just after the line
> 39, and the compilation has been passed. I want to know if this is
> correct and if this can be solved in the upstream side.

Yes and no. The idea of omitting it is to signal to applications that
utmp and wtmp are not used/supported, but I doubt any apps pay
attention to this, so it might be better to just define the macros to
point to standard or dummy pathnames.... Anyone else have input on
this?

Rich


      reply	other threads:[~2012-11-26  2:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-26  1:46 Matias A. Fonzo
2012-11-26  2:54 ` Rich Felker [this message]

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=20121126025448.GG20323@brightrain.aerifal.cx \
    --to=dalias@aerifal.cx \
    --cc=musl@lists.openwall.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.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).