Ignore:
Timestamp:
Sep 15, 2006, 4:30:32 AM (19 years ago)
Author:
bird
Message:

Load make-3.81/ into vendor/gnumake/current.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vendor/gnumake/current/w32/pathstuff.c

    r53 r501  
     1/* Path conversion for Windows pathnames.
     2Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
     32006 Free Software Foundation, Inc.
     4This file is part of GNU Make.
     5
     6GNU Make is free software; you can redistribute it and/or modify it under the
     7terms of the GNU General Public License as published by the Free Software
     8Foundation; either version 2, or (at your option) any later version.
     9
     10GNU Make is distributed in the hope that it will be useful, but WITHOUT ANY
     11WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
     12A PARTICULAR PURPOSE.  See the GNU General Public License for more details.
     13
     14You should have received a copy of the GNU General Public License along with
     15GNU Make; see the file COPYING.  If not, write to the Free Software
     16Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.  */
     17
    118#include <string.h>
    219#include <stdlib.h>
     
    87104getcwd_fs(char* buf, int len)
    88105{
    89         char *p;
    90 
    91         if (p = getcwd(buf, len)) {
     106        char *p = getcwd(buf, len);
     107
     108        if (p) {
    92109                char *q = w32ify(buf, 0);
    93110                strncpy(buf, q, len);
Note: See TracChangeset for help on using the changeset viewer.