DragonFly BSD
DragonFly commits List (threaded) for 2005-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/usr.bin/make main.c


From: Joerg Sonnenberger <joerg@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 14 Jan 2005 03:30:16 -0800 (PST)

joerg       2005/01/14 03:30:16 PST

DragonFly src repository

  Modified files:
    usr.bin/make         main.c 
  Log:
  Back out part of rev 1.24. The intention the quoting backfires and bad
  quoting is generated. Running 'make all-depends-list' in x11-fonts/libXft
  does something like this:
  PARENT_CHECKED=/usr/ports/x11-fonts/fontconfig /usr/ports/devel/pkgconfig
  /usr/ports/print/freetype2 /usr/ports/devel/gmake /usr/ports/converters/libiconv
  /usr/ports/devel/gettext
  /usr/ports/devel/libtool13
  /usr/ports/devel/libtool15
  /usr/ports/textproc/expat2
  
  After quoting this becomes:
  PARENT_CHECKED=/usr/ports/x11-fonts/fontconfig\ /usr/ports/devel/pkgconfi
  g\
  /usr/ports/print/freetype2\ /usr/ports/devel/gmake\ /usr/ports/converters/libico
  nv\
  /usr/ports/devel/gettext\
  /usr/ports/devel/libtool13\
  /usr/ports/devel/libtool15\
  /usr/ports/textproc/expat2\
  
  The next make tries to do this, the following happens:
  before: PARENT_CHECKED=/usr/ports/x11-fonts/fontconfig /usr/ports/devel/pkgconfi
  g\
  after: PARENT_CHECKED=/usr/ports/x11-fonts/fontconfig\ /usr/ports/devel/pkgconfi
  g\\
  and the final \\ confuses the shell.
  
  Thanks to asmodai for suggesting a make problem as source.
  
  Revision  Changes    Path
  1.47      +0 -5      src/usr.bin/make/main.c


http://www.dragonflybsd.org/cvsweb/src/usr.bin/make/main.c.diff?r1=1.46&r2=1.47&f=u



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]