~ubuntu-branches/debian/wheezy/autofs/wheezy

« back to all changes in this revision

Viewing changes to debian/patches/058_handle_noeol_in_auto_master

  • Committer: Bazaar Package Importer
  • Author(s): Steinar H. Gunderson
  • Date: 2006-11-10 15:54:00 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20061110155400-xwc4587cx70opq9e
Tags: 4.1.4-13
* Remove 077_fix_nfs_submounts_with_2_6_18 in favor of
  077_dont_create_remote_dirs, which is upstream's version of the fix and
  solves the problem properly. (Closes: #396191)
* 078_locking_fix_1: Patch from upstream we should have included ages ago,
  fixes some locking issues.
* 079_no_unlink_upstream: Patch from upstream, adds a few safeguards to make
  sure automount doesn't accidentially unlink a file when it wants to remove
  a directory. (This should normally never happen, but extra safeguards are
  always a good idea.)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
--- autofs-4.1.4_beta2/samples/rc.autofs.in.orig        2005-04-01 18:08:28.114860792 +0200
2
 
+++ autofs-4.1.4_beta2/samples/rc.autofs.in     2005-04-01 18:09:31.396240560 +0200
3
 
@@ -127,7 +127,7 @@
4
 
 function getfilemounts()
5
 
 {
6
 
     if [ -f /etc/auto.master ] ; then
7
 
-        cat /etc/auto.master | sed -e '/^#/d' -e '/^$/d' | (
8
 
+        ( cat /etc/auto.master ; echo ) | sed -e '/^#/d' -e '/^$/d' | (
9
 
         while read auto_master_in
10
 
         do
11
 
             if [ "`echo $auto_master_in | grep '^+'`" = "" ]; then