From: "Dionna Amalie Glaze via newlib" <newlib@sourceware.org>
To: newlib@sourceware.org
Subject: New contributor o/ hello, and small diff.
Date: Mon, 26 Jun 2017 18:45:00 -0000 [thread overview]
Message-ID: <CAAH4kHaze9Z525RYuyr-VYpZUAN=S=N3phDME93rQGvB_H1=nw@mail.gmail.com> (raw)
Hi y'all! Thank you so much for your work on newlib. It's a fantastic
platform to work with :)
I am looking at getting access to the gethostname symbol in
sys/unistd.h outside of __CYGWIN__ or __rtems__. The following
platforms by C preprocessor symbol would be a helpful addition:
__USE_BSD, __USE_UNIX98, __USE_XOPEN2K
In diff form,
==== /home/dionnaglaze/newlib-cygwin/newlib/src/newlib/libc/include/sys/unistd.h
====
247c247,253
< #if !(defined (_WINSOCK_H) || defined (_WINSOCKAPI_) || defined
(__USE_W32_SOCKETS))
---
> char * _EXFUN(mktemp, (char *));
> #endif
>
> #if defined __USE_BSD || defined __USE_UNIX98 || defined __USE_XOPEN2K || \
> ((defined(__CYGWIN__) || defined(__rtems__)) && \
> !(defined (_WINSOCK_H) || defined (_WINSOCKAPI_) || \
> defined (__USE_W32_SOCKETS)))
250,251d255
< #endif
< char * _EXFUN(mktemp, (char *));
What is y'all's preferred way to submit such a change?
Thanks!
--
-Dionna Glaze, PhD (she/her)
next reply other threads:[~2017-06-26 18:45 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-26 18:45 Dionna Amalie Glaze via newlib [this message]
2017-06-26 19:41 ` Luca Barbato
2017-06-26 19:54 ` Dionna Amalie Glaze via newlib
2017-06-27 17:43 ` Yaakov Selkowitz
2017-06-27 18:10 ` Dionna Amalie Glaze via newlib
2017-06-29 6:39 ` Corinna Vinschen
2017-06-29 16:12 ` Dionna Amalie Glaze via newlib
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='CAAH4kHaze9Z525RYuyr-VYpZUAN=S=N3phDME93rQGvB_H1=nw@mail.gmail.com' \
--to=newlib@sourceware.org \
--cc=dionnaglaze@google.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).