File: 02_fix_retcode.dpatch

package info (click to toggle)
libnss-pgsql 1.4.0debian-3
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 1,596 kB
  • ctags: 137
  • sloc: sh: 9,625; ansic: 983; xml: 392; makefile: 70; sql: 38
file content (19 lines) | stat: -rw-r--r-- 470 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#! /bin/sh /usr/share/dpatch/dpatch-run
## 02-fix-retcode.dpatch by Øyvind Møll <oyvind@moll.no>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Fix return code.  Taken from debian bug: #329467.

@DPATCH@

--- old/src/interface.c	14 May 2005 09:52:02 -0000	1.5
+++ new/src/interface.c	4 Oct 2005 09:44:24 -0000
@@ -120,7 +120,7 @@
 	} 
 	pthread_mutex_unlock(&lock);
 
-	return NSS_STATUS_SUCCESS;
+	return retval;
 }
 
 enum nss_status