]> git.pld-linux.org Git - packages/vim.git/blob - 6.2.308
- updated to 6.2.430
[packages/vim.git] / 6.2.308
1 To: vim-dev@vim.org
2 Subject: Patch 6.2.308
3 Fcc: outbox
4 From: Bram Moolenaar <Bram@moolenaar.net>
5 Mime-Version: 1.0
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
8 ------------
9
10 Patch 6.2.308
11 Problem:    Not all systems have "whoami", resulting in an empty user name.
12 Solution:   Use "logname" when possible, "whoami" otherwise.  (David Boyce)
13 Files:      src/Makefile
14
15
16 *** ../vim-6.2.307/src/Makefile Mon Mar  1 21:49:48 2004
17 --- src/Makefile        Mon Mar  1 20:03:04 2004
18 ***************
19 *** 2083,2089 ****
20         -@echo 'char_u *compiled_user = (char_u *)"' | tr -d $(NL) >> $@
21         -@if test -n "$(COMPILEDBY)"; then \
22                 echo "$(COMPILEDBY)" | tr -d $(NL) >> $@; \
23 !               else whoami | tr -d $(NL) >> $@; fi
24         -@echo '";' >> $@
25         -@echo 'char_u *compiled_sys = (char_u *)"' | tr -d $(NL) >> $@
26         -@if test -z "$(COMPILEDBY)"; then hostname | tr -d $(NL) >> $@; fi
27 --- 2093,2099 ----
28         -@echo 'char_u *compiled_user = (char_u *)"' | tr -d $(NL) >> $@
29         -@if test -n "$(COMPILEDBY)"; then \
30                 echo "$(COMPILEDBY)" | tr -d $(NL) >> $@; \
31 !               else ((logname) 2>/dev/null || whoami) | tr -d $(NL) >> $@; fi
32         -@echo '";' >> $@
33         -@echo 'char_u *compiled_sys = (char_u *)"' | tr -d $(NL) >> $@
34         -@if test -z "$(COMPILEDBY)"; then hostname | tr -d $(NL) >> $@; fi
35 *** ../vim-6.2.307/src/version.c        Mon Mar  1 21:49:48 2004
36 --- src/version.c       Tue Mar  2 14:14:12 2004
37 ***************
38 *** 639,640 ****
39 --- 639,642 ----
40   {   /* Add new patch number below this line */
41 + /**/
42 +     308,
43   /**/
44
45 -- 
46 "It's so simple to be wise.  Just think of something stupid to say
47 and then don't say it."        -- Sam Levenson
48
49  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
50 ///        Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
51 \\\              Project leader for A-A-P -- http://www.A-A-P.org        ///
52  \\\  Buy at Amazon and help AIDS victims -- http://ICCF.nl/click1.html ///
This page took 0.02323 seconds and 3 git commands to generate.