diff options
author | Arch Librarian <arch@canonical.com> | 2004-09-20 16:51:15 +0000 |
---|---|---|
committer | Arch Librarian <arch@canonical.com> | 2004-09-20 16:51:15 +0000 |
commit | 93bf083d699c60f1ac40297bfa6783fb0cb800d8 (patch) | |
tree | 456e6c73d98b317d85cbea60728cf9e93546bbd8 /test | |
parent | 779e5b002e216565108cdb4ad9598e1af650f004 (diff) |
Sync
Author: jgg
Date: 1998-10-30 07:53:30 GMT
Sync
Diffstat (limited to 'test')
-rw-r--r-- | test/scratch.cc | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/test/scratch.cc b/test/scratch.cc index a8817bc41..7cd43c554 100644 --- a/test/scratch.cc +++ b/test/scratch.cc @@ -2,10 +2,21 @@ #include <apt-pkg/init.h> #include <apt-pkg/error.h> #include <signal.h> +#include <strutl.h> -int main() +int main(int argc,char *argv[]) { signal(SIGPIPE,SIG_IGN); + +/* URI Foo(argv[1]); + cout << Foo.Access << '\'' << endl; + cout << Foo.Host << '\'' << endl; + cout << Foo.Path << '\'' << endl; + cout << Foo.User << '\'' << endl; + cout << Foo.Password << '\'' << endl; + cout << Foo.Port << endl; + + return 0;*/ pkgInitialize(*_config); |