From: "Jan Djärv" <jan.h.d@swipnet.se>
To: Sascha Wilde <wilde@sha-bang.de>
Cc: emacs-devel@gnu.org
Subject: Re: Pathnames with two (or more) slashes in Makefile.c
Date: Mon, 29 Jan 2007 09:06:21 +0100 [thread overview]
Message-ID: <45BDAAFD.6050402@swipnet.se> (raw)
In-Reply-To: <m2odoj5ipw.fsf_-_@kenny.sha-bang.de>
Sascha Wilde skrev:
> Jan Djärv <jan.h.d@swipnet.se> wrote:
>
> A pathname consisting of a single slash shall resolve to the root
> directory of the process. A null pathname shall not be successfully
> resolved. A pathname that begins with two successive slashes may be
> interpreted in an implementation-defined manner, although more than
> two leading slashes shall be treated as a single slash.
>
> On GNU Systems (and most unixoid systems I know), two leading slashes
> are not interpreted in any special way, but like three and more
> slashes: they are treated as one.
>
> So the problem is, that the double slash is written unquoted to
> Makefile.c where it gets interpreted as a comment.
>
> This is IMO a bug.
>
> When generating Makefile.c consecutive slashes hould either be reduced
> to one or appropriately quoted.
Actually it was a bug in my patch, I should not use #define if a double slash
may be present. I briefly checked the other #define:s in Makefile.in and
mostly the valuse comes from s/*.h or m/*.h, so we have control over these.
I've checked in a fix, please try it.
Thanks,
Jan D.
next prev parent reply other threads:[~2007-01-29 8:06 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-27 19:54 Latest configure.in change breaks building Sascha Wilde
2007-01-28 9:48 ` Jan Djärv
2007-01-28 14:28 ` Pathnames with two (or more) slashes in Makefile.c (was: Latest configure.in change breaks building) Sascha Wilde
2007-01-29 8:06 ` Jan Djärv [this message]
2007-01-29 20:21 ` Pathnames with two (or more) slashes in Makefile.c Sascha Wilde
2007-01-30 7:08 ` Jan Djärv
2007-01-30 8:53 ` Sascha Wilde
2007-01-30 9:09 ` Sascha Wilde
2007-01-31 9:36 ` Sascha Wilde
2007-01-31 17:42 ` Jan Djärv
2007-01-31 22:33 ` Sascha Wilde
2007-01-30 9:14 ` Jan Djärv
2007-01-30 9:47 ` Sascha Wilde
2007-01-30 10:26 ` Jan Djärv
2007-01-30 11:04 ` Sascha Wilde
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=45BDAAFD.6050402@swipnet.se \
--to=jan.h.d@swipnet.se \
--cc=emacs-devel@gnu.org \
--cc=wilde@sha-bang.de \
/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.savannah.gnu.org/cgit/emacs.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).