mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-19 07:22:14 +08:00
* fhandler_dsp.cc (fhandler_dev_dsp::fhandler_dev_dsp): Set up device.
* syscalls.cc (open): Very minor formatting tweak.
This commit is contained in:
parent
855ea3fddd
commit
3fc91be72b
@ -1,3 +1,9 @@
|
|||||||
|
2011-12-24 Christopher Faylor <me.cygwin2011@cgf.cx>
|
||||||
|
|
||||||
|
* fhandler_dsp.cc (fhandler_dev_dsp::fhandler_dev_dsp): Set up device.
|
||||||
|
|
||||||
|
* syscalls.cc (open): Very minor formatting tweak.
|
||||||
|
|
||||||
2011-12-24 Corinna Vinschen <vinschen@redhat.com>
|
2011-12-24 Corinna Vinschen <vinschen@redhat.com>
|
||||||
|
|
||||||
* path.cc (struct symlink_info): Add bool argument to declaration of
|
* path.cc (struct symlink_info): Add bool argument to declaration of
|
||||||
|
@ -994,9 +994,9 @@ waveIn_callback (HWAVEIN hWave, UINT msg, DWORD instance, DWORD param1,
|
|||||||
fhandler_dev_dsp::fhandler_dev_dsp ():
|
fhandler_dev_dsp::fhandler_dev_dsp ():
|
||||||
fhandler_base ()
|
fhandler_base ()
|
||||||
{
|
{
|
||||||
debug_printf ("0x%08x", (int)this);
|
|
||||||
audio_in_ = NULL;
|
audio_in_ = NULL;
|
||||||
audio_out_ = NULL;
|
audio_out_ = NULL;
|
||||||
|
dev ().parse (FH_OSS_DSP);
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
|
@ -1275,7 +1275,7 @@ open (const char *unix_path, int flags, ...)
|
|||||||
tty for the process. */
|
tty for the process. */
|
||||||
int opt = PC_OPEN | ((flags & (O_NOFOLLOW | O_EXCL))
|
int opt = PC_OPEN | ((flags & (O_NOFOLLOW | O_EXCL))
|
||||||
? PC_SYM_NOFOLLOW : PC_SYM_FOLLOW);
|
? PC_SYM_NOFOLLOW : PC_SYM_FOLLOW);
|
||||||
if (!(flags & O_NOCTTY)&& fd > 2)
|
if (!(flags & O_NOCTTY) && fd > 2)
|
||||||
{
|
{
|
||||||
flags |= O_NOCTTY;
|
flags |= O_NOCTTY;
|
||||||
opt |= PC_CTTY; /* flag that, if opened, this fhandler could
|
opt |= PC_CTTY; /* flag that, if opened, this fhandler could
|
||||||
|
Loading…
x
Reference in New Issue
Block a user