VirtualBox

Changeset 3271 in kBuild


Ignore:
Timestamp:
Jan 4, 2019 12:34:43 AM (6 years ago)
Author:
bird
Message:

kmk/output.c: Shut up annoying fcntl error on darwin when stdout/err is a pipe.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kmk/output.c

    r3260 r3271  
    778778  if (fcntl (sync_handle, F_SETLKW, &fl) != -1)
    779779    return &fl;
     780#ifdef KBUILD_OS_DARWIN /* F_SETLKW isn't supported on pipes */
     781  if (errno != EBADF)
     782#endif 
    780783  perror ("fcntl()");
    781784  return NULL;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette