summaryrefslogtreecommitdiff
path: root/source4/build/pidl/Parse/Pidl/Util.pm
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-07-27 18:53:07 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:30:06 -0500
commit21ba94c7bec2e7461ad0da0dae56a16cf862d4dd (patch)
treeaeec0ed9c40e805fa2acb6d908c9e396fd962e5c /source4/build/pidl/Parse/Pidl/Util.pm
parent06e650a4429a54f7839eeb68c00220ac8b8b58ed (diff)
downloadsamba-21ba94c7bec2e7461ad0da0dae56a16cf862d4dd.tar.gz
samba-21ba94c7bec2e7461ad0da0dae56a16cf862d4dd.tar.bz2
samba-21ba94c7bec2e7461ad0da0dae56a16cf862d4dd.zip
r8801: Change --output to --outputdir and make pidl add a data representation prefix
to pidl itself. Useful for supporting other data representation types. (This used to be commit 5af68a04763f39f2a9898155e2c82ed2ee646f36)
Diffstat (limited to 'source4/build/pidl/Parse/Pidl/Util.pm')
-rw-r--r--source4/build/pidl/Parse/Pidl/Util.pm12
1 files changed, 0 insertions, 12 deletions
diff --git a/source4/build/pidl/Parse/Pidl/Util.pm b/source4/build/pidl/Parse/Pidl/Util.pm
index 8030a2c070..b98b7bca00 100644
--- a/source4/build/pidl/Parse/Pidl/Util.pm
+++ b/source4/build/pidl/Parse/Pidl/Util.pm
@@ -88,18 +88,6 @@ sub FileSave($$)
}
#####################################################################
-# return a filename with a changed extension
-sub ChangeExtension($$)
-{
- my($fname) = shift;
- my($ext) = shift;
- if ($fname =~ /^(.*)\.(.*?)$/) {
- return "$1$ext";
- }
- return "$fname$ext";
-}
-
-#####################################################################
# a dumper wrapper to prevent dependence on the Data::Dumper module
# unless we actually need it
sub MyDumper($)