unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: Emacs 21.3.50 on cygwin bootstrap failed. (Jason Rumney)
@ 2004-02-13  6:32 Steven Wu
  2004-02-14 15:04 ` Emacs 21.3.50 grep.el/executable.el problems Ehud Karni
  0 siblings, 1 reply; 18+ messages in thread
From: Steven Wu @ 2004-02-13  6:32 UTC (permalink / raw)


I was compiling the cygwin emacs, an X based application, built using 
gcc and libs and dlls provided by cygwin.

steve

^ permalink raw reply	[flat|nested] 18+ messages in thread
* Re: Emacs 21.3.50 grep.el/executable.el problems
@ 2004-02-16 14:35 Markus Rost
  2004-02-16 15:17 ` Ehud Karni
                   ` (2 more replies)
  0 siblings, 3 replies; 18+ messages in thread
From: Markus Rost @ 2004-02-16 14:35 UTC (permalink / raw)


I got the impression that the grep/executable problems don't get
fixed, because there should be perhaps a more extensive change.
However, it seems that quite a few people spent some time to fix it,
probably because grep is used a lot.

I suggest following simple fix, at least as a temporary solution.
I'll install it, if one of the maintainers agrees.

===Buffer *vc-diff*=========================================
*** executable.el.~1.30.~	Thu Feb 12 14:48:19 2004
--- executable.el	Mon Feb 16 15:22:31 2004
***************
*** 145,156 ****
    "Check if PROGRAM handles arguments Posix-style.
  If PROGRAM is non-nil, use that instead of \"find\"."
    ;;  Pick file to search from location we know
!   (let* ((dir   (car load-path))
!          (file  (find-if
!                  (lambda (x)
!                    ;; Filter directories . and ..
!                    (not (string-match "^\\.\\.?$" x)))
!                  (directory-files dir))))
      (with-temp-buffer
        (call-process (or program "find")
                      nil
--- 145,152 ----
    "Check if PROGRAM handles arguments Posix-style.
  If PROGRAM is non-nil, use that instead of \"find\"."
    ;;  Pick file to search from location we know
!   (let* ((dir data-directory)
!          (file (car (directory-files dir nil "^[^.]"))))
      (with-temp-buffer
        (call-process (or program "find")
                      nil
============================================================

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2004-02-18 20:55 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-13  6:32 Emacs 21.3.50 on cygwin bootstrap failed. (Jason Rumney) Steven Wu
2004-02-14 15:04 ` Emacs 21.3.50 grep.el/executable.el problems Ehud Karni
2004-02-15 11:43   ` Ehud Karni
2004-02-15 12:59     ` Piet van Oostrum
2004-02-15 13:20   ` Thien-Thi Nguyen
  -- strict thread matches above, loose matches on Subject: below --
2004-02-16 14:35 Markus Rost
2004-02-16 15:17 ` Ehud Karni
2004-02-16 16:14 ` Stefan Monnier
2004-02-16 19:57   ` Eli Zaretskii
2004-02-16 20:16     ` Stefan Monnier
2004-02-16 20:31       ` Jason Rumney
2004-02-16 21:10     ` Markus Rost
2004-02-17  6:34       ` Eli Zaretskii
2004-02-18  8:39       ` Richard Stallman
2004-02-18 20:55         ` Markus Rost
2004-02-17 17:27   ` Richard Stallman
2004-02-16 16:30 ` Kim F. Storm
2004-02-16 16:23   ` Markus Rost

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).