~ubuntu-branches/ubuntu/oneiric/mksh/oneiric

« back to all changes in this revision

Viewing changes to debian/diffs/add-builtin-printf.diff

  • Committer: Bazaar Package Importer
  • Author(s): Thorsten Glaser
  • Date: 2010-02-28 17:32:01 UTC
  • mfrom: (1.1.15 upstream) (2.1.8 sid)
  • Revision ID: james.westby@ubuntu.com-20100228173201-wkqhm2ppvcj4opi0
Tags: 39.3-1ubuntu1
* Merge from Debian unstable. (Closes LP: #529559)
  New upstream version. (Closes LP: #355883)
  This integrates a workaround for a gcc bug. (cf. LP: #375604)
  Remaining Ubuntu changes:
  - debian/control, debian/rules: Exclude dietlibc on powerpc/ppc64
    and sparc (cf. LP: #381332)
  - debian/README.Debian, debian/mksh.postinst: Hardcode installing
    mksh as /bin/sh to false (cf. LP: #348872) but retain debconf
    infrastructure so that, if set to true in old installations, it
    will correctly be removed on upgrade

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
$MirOS: contrib/hosted/tg/deb/mksh/debian/diffs/add-builtin-printf.diff,v 1.1 2009/08/01 14:44:48 tg Exp $
2
 
 
3
 
        Add a "printf" builtin for dash compatibility, until this
4
 
        is resolved in Debian Policy. Enlarges mksh by quite some.
5
 
 
6
 
--- mksh.1.orig Sat Aug  1 14:39:49 2009
7
 
+++ mksh.1      Sat Aug  1 14:39:58 2009
8
 
@@ -3279,6 +3279,11 @@ As above, the
9
 
 .Fl n
10
 
 option suppresses the trailing newline.
11
 
 .Pp
12
 
+.It Ic printf Ar format Op Ar arguments ...
13
 
+Formatted output.
14
 
+The same as the utility
15
 
+.Xr printf 1 .
16
 
+.Pp
17
 
 .It Ic pwd Op Fl LP
18
 
 Print the present working directory.
19
 
 If the