Ignore:
Timestamp:
Mar 14, 2018, 10:28:10 PM (7 years ago)
Author:
bird
Message:

kmk: Merged in changes from GNU make 4.2.1 (2e55f5e4abdc0e38c1d64be703b446695e70b3b6 / https://git.savannah.gnu.org/git/make.git).

Location:
trunk/src/kmk
Files:
5 edited
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/src/kmk

  • trunk/src/kmk/w32/include/dirent.h

    r2702 r3140  
    11/* Windows version of dirent.h
    2 Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
    3 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
     2Copyright (C) 1996-2016 Free Software Foundation, Inc.
    43This file is part of GNU Make.
    54
     
    4443struct dirent
    4544{
    46   ino_t d_ino;                  /* unused - no equivalent on WINDOWS32 */
     45  ino_t d_ino;                  /* unused - no equivalent on WINDOWS32 */
    4746  char d_name[NAME_MAX+1];
    4847};
    4948
    5049typedef struct dir_struct {
    51         ULONG   dir_ulCookie;
    52         HANDLE  dir_hDirHandle;
    53         DWORD   dir_nNumFiles;
    54         char    dir_pDirectoryName[NAME_MAX+1];
    55         struct dirent dir_sdReturn;
     50        ULONG   dir_ulCookie;
     51        HANDLE  dir_hDirHandle;
     52        DWORD   dir_nNumFiles;
     53        char    dir_pDirectoryName[NAME_MAX+1];
     54        struct dirent dir_sdReturn;
    5655} DIR;
    5756
  • trunk/src/kmk/w32/include/pathstuff.h

    r2591 r3140  
    11/* Definitions for Windows path manipulation.
    2 Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
    3 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
     2Copyright (C) 1996-2016 Free Software Foundation, Inc.
    43This file is part of GNU Make.
    54
  • trunk/src/kmk/w32/include/sub_proc.h

    r2912 r3140  
    11/* Definitions for Windows process invocation.
    2 Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    3 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
     2Copyright (C) 1996-2016 Free Software Foundation, Inc.
    43This file is part of GNU Make.
    54
     
    2221 * Component Name:
    2322 *
    24  * $Date: 2010/07/13 01:20:43 $
     23 * $Date$
    2524 *
    26  * $Source: /sources/make/make/w32/include/sub_proc.h,v $
     25 * $Source$
    2726 *
    28  * $Id: sub_proc.h,v 1.12 2010/07/13 01:20:43 psmith Exp $
     27 * $Id$
    2928 */
    3029
     
    3433EXTERN_DECL(HANDLE process_init, (VOID_DECL));
    3534EXTERN_DECL(HANDLE process_init_fd, (HANDLE stdinh, HANDLE stdouth,
    36         HANDLE stderrh));
     35                                     HANDLE stderrh));
    3736EXTERN_DECL(long process_begin, (HANDLE proc, char **argv, char **envp,
    38         char *exec_path, char *as_user));
     37                                 char *exec_path, char *as_user));
    3938EXTERN_DECL(long process_pipe_io, (HANDLE proc, char *stdin_data,
    40         int stdin_data_len));
     39                                   int stdin_data_len));
    4140#ifndef KMK /* unused */
    4241EXTERN_DECL(long process_file_io, (HANDLE proc));
    4342#endif
    4443EXTERN_DECL(void process_cleanup, (HANDLE proc));
    45 EXTERN_DECL(HANDLE process_wait_for_any, (VOID_DECL));
     44EXTERN_DECL(HANDLE process_wait_for_any, (int block, DWORD* pdwWaitStatus));
    4645EXTERN_DECL(void process_register, (HANDLE proc));
    47 EXTERN_DECL(HANDLE process_easy, (char** argv, char** env));
     46EXTERN_DECL(HANDLE process_easy, (char** argv, char** env,
     47                                  int outfd, int errfd));
    4848EXTERN_DECL(BOOL process_kill, (HANDLE proc, int signal));
    4949EXTERN_DECL(int process_used_slots, (VOID_DECL));
     50EXTERN_DECL(DWORD process_set_handles, (HANDLE *handles));
     51
    5052#ifdef KMK
    5153EXTERN_DECL(int process_kmk_register_submit, (HANDLE hEvent, intptr_t clue, pid_t *pPid));
     
    6365EXTERN_DECL(int process_errcnt, (HANDLE proc));
    6466EXTERN_DECL(void process_pipes, (HANDLE proc, int pipes[3]));
     67EXTERN_DECL(void process_noinherit, (int fildes));
    6568
    6669#endif
  • trunk/src/kmk/w32/include/w32err.h

    r2591 r3140  
    11/* Definitions for Windows error handling.
    2 Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    3 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
     2Copyright (C) 1996-2016 Free Software Foundation, Inc.
    43This file is part of GNU Make.
    54
     
    2322#endif
    2423
    25 EXTERN_DECL(char * map_windows32_error_to_string, (DWORD error));
     24EXTERN_DECL(const char * map_windows32_error_to_string, (DWORD error));
    2625
    2726#endif /* !_W32ERR_H */
Note: See TracChangeset for help on using the changeset viewer.