From: Robert Hoehne <robert.hoehne@gmx.net>
To: GDB PATCH <gdb-patches@cygnus.com>
Subject: gdb-4.17 patch to use ROOTED_P instead SLASH_P
Date: Thu, 01 Apr 1999 00:00:00 -0000 [thread overview]
Message-ID: <003601be4261$46e49900$19a46d86@robby.dittmannsdorf.de> (raw)
The patch for source.c is needed, since on DOS systems, an
absolute path might not start with a slash and in general
we should use the macro ROOTED_P macro when testing for an
absolute path.
here now the Changelog entry for directory gdb-4.17/gdb:
Sun Jan 17 1999 Robert Hoehne (robert.hoehne@gmx.net)
* source.c(openp): use ROOTED_P instead of SLASH_P
Index: gdb-4.17/gdb/source.c
===================================================================
RCS file: Q:/gnu/gdb-4.17/gdb/source.c,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 source.c
- --- source.c 1998-10-06 09:16:30+00 1.1.1.1
+++ source.c 1998-10-06 10:23:14+00
@@ -517,7 +517,7 @@
mode |= O_BINARY;
#endif
- - if (try_cwd_first || SLASH_P (string[0]))
+ if (try_cwd_first || ROOTED_P (string))
{
int i;
filename = string;
- --
******************************************************
* email: Robert Hoehne <robert.hoehne@gmx.net> *
* Post: Am Berg 3, D-09573 Dittmannsdorf, Germany *
* WWW: http://www.tu-chemnitz.de/~sho/rho *
******************************************************
WARNING: multiple messages have this Message-ID
From: Robert Hoehne <robert.hoehne@gmx.net>
To: GDB PATCH <gdb-patches@cygnus.com>
Subject: gdb-4.17 patch to use ROOTED_P instead SLASH_P
Date: Sun, 17 Jan 1999 11:36:00 -0000 [thread overview]
Message-ID: <003601be4261$46e49900$19a46d86@robby.dittmannsdorf.de> (raw)
Message-ID: <19990117113600.b5SOoYy2xMcOMMZ0NPOAjZn4WtQ6TTMNBeUbky41O2I@z> (raw)
The patch for source.c is needed, since on DOS systems, an
absolute path might not start with a slash and in general
we should use the macro ROOTED_P macro when testing for an
absolute path.
here now the Changelog entry for directory gdb-4.17/gdb:
Sun Jan 17 1999 Robert Hoehne (robert.hoehne@gmx.net)
* source.c(openp): use ROOTED_P instead of SLASH_P
Index: gdb-4.17/gdb/source.c
===================================================================
RCS file: Q:/gnu/gdb-4.17/gdb/source.c,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 source.c
- --- source.c 1998-10-06 09:16:30+00 1.1.1.1
+++ source.c 1998-10-06 10:23:14+00
@@ -517,7 +517,7 @@
mode |= O_BINARY;
#endif
- - if (try_cwd_first || SLASH_P (string[0]))
+ if (try_cwd_first || ROOTED_P (string))
{
int i;
filename = string;
- --
******************************************************
* email: Robert Hoehne <robert.hoehne@gmx.net> *
* Post: Am Berg 3, D-09573 Dittmannsdorf, Germany *
* WWW: http://www.tu-chemnitz.de/~sho/rho *
******************************************************
next reply other threads:[~1999-04-01 0:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-04-01 0:00 Robert Hoehne [this message]
1999-01-17 11:36 ` Robert Hoehne
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='003601be4261$46e49900$19a46d86@robby.dittmannsdorf.de' \
--to=robert.hoehne@gmx.net \
--cc=gdb-patches@cygnus.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox