Unnamed Fossil Project

Check-in [358d9e2410]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:the default architecture is 'All Architectures' git-svn-id: svn+ssh://svn.freebsd.org/doc/head@53060 c2e8774f-c49f-e111-b436-862b2bbc8956
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/svn_head | trunk
Files: files | file ages | folders
SHA3-256: 358d9e241052a8cdf2e08456837d486289a8d1749cb897396038a1ecddd0774e
User & Date: wosch@c2e8774f-c49f-e111-b436-862b2bbc8956 2019-05-25 17:10:52
Context
2019-05-26
02:10
- Merge the following from the English version: r52822 -> r53056 head/ja_JP.eucJP/books/handbook/book.xml git-svn-id: svn+ssh://svn.freebsd.org/doc/head@53061 c2e8774f-c49f-e111-b436-862b2bbc8956 check-in: 1114b2a926 user: ryusuke@c2e8774f-c49f-e111-b436-862b2bbc8956 tags: origin/svn_head, trunk
2019-05-25
17:10
the default architecture is 'All Architectures' git-svn-id: svn+ssh://svn.freebsd.org/doc/head@53060 c2e8774f-c49f-e111-b436-862b2bbc8956 check-in: 358d9e2410 user: wosch@c2e8774f-c49f-e111-b436-862b2bbc8956 tags: origin/svn_head, trunk
16:56
perl warnings git-svn-id: svn+ssh://svn.freebsd.org/doc/head@53059 c2e8774f-c49f-e111-b436-862b2bbc8956 check-in: 0d0764791a user: wosch@c2e8774f-c49f-e111-b436-862b2bbc8956 tags: origin/svn_head, trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to en_US.ISO8859-1/htdocs/cgi/man.cgi.

781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
....
1844
1845
1846
1847
1848
1849
1850


1851
1852
1853
1854
1855
1856
1857

my %no_pdf_output = map { $_ => 1 } @no_pdf_output;
my %no_html_output = map { $_ => 1 } @no_html_output;

my %valid_arch = map { $_ => 1 }
  qw/aarch64 acorn26 acorn32 algor alpha amd64 amiga arc arm arm26 arm32 arm64 armish atari aviion bebox cats cesfic cobalt dreamcast evbarm evbmips evbppc evbsh3 evbsh5 hp300 hp700 hpcarm hpcmips hpcsh hppa hppa64 i386 ibmnws landisk loongson luna68k luna88k mac68k macppc mipsco mmeye mvme68k mvme88k mvmeppc netwinder news68k newsmips next68k ofppc palm pc532 pegasos playstation2 pmax pmppc powerpc prep sandpoint sbmips sgi sgimips shark socppc sparc sparc64 sun2 sun3 sun3x tahoe vax walnut wgrisc x68k zaurus/;

my $default_arch = 'amd64';
my %arch_names = ('default' => 'All Architectures');

my %arch = ( 
'FreeBSD 11.2-RELEASE' => { 'default' => 'i386', 'arch' => [qw/amd64 arm i386 powerpc sparc64 aarch64/] } ,
'FreeBSD 11.1-RELEASE' => { 'default' => 'i386', 'arch' => [qw/amd64 arm i386 powerpc sparc64 aarch64/] } ,
'FreeBSD 11.0-RELEASE' => { 'default' => 'i386', 'arch' => [qw/amd64 arm i386 powerpc sparc64 aarch64/] } ,
'FreeBSD 10.4-RELEASE' => { 'default' => 'i386', 'arch' => [qw/amd64 arm i386 powerpc sparc64/] } ,
................................................................................

    # pickup a default machine type
    else {
        #exists $arch{$l}->{'default'} ? $arch{$l}->{'default'} : 'default';
    }

    foreach (@arch) {


        my $selected = $_ eq $a ? ' selected="selected"' : "";
        my $arch_name = exists $arch_names{$_} ? $arch_names{$_} : $_;
        print qq{<option $selected value="$_">$arch_name</option>\n};
    }

    print qq{</select>\n\n};








|







 







>
>







781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
....
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859

my %no_pdf_output = map { $_ => 1 } @no_pdf_output;
my %no_html_output = map { $_ => 1 } @no_html_output;

my %valid_arch = map { $_ => 1 }
  qw/aarch64 acorn26 acorn32 algor alpha amd64 amiga arc arm arm26 arm32 arm64 armish atari aviion bebox cats cesfic cobalt dreamcast evbarm evbmips evbppc evbsh3 evbsh5 hp300 hp700 hpcarm hpcmips hpcsh hppa hppa64 i386 ibmnws landisk loongson luna68k luna88k mac68k macppc mipsco mmeye mvme68k mvme88k mvmeppc netwinder news68k newsmips next68k ofppc palm pc532 pegasos playstation2 pmax pmppc powerpc prep sandpoint sbmips sgi sgimips shark socppc sparc sparc64 sun2 sun3 sun3x tahoe vax walnut wgrisc x68k zaurus/;

my $default_arch = '';
my %arch_names = ('default' => 'All Architectures');

my %arch = ( 
'FreeBSD 11.2-RELEASE' => { 'default' => 'i386', 'arch' => [qw/amd64 arm i386 powerpc sparc64 aarch64/] } ,
'FreeBSD 11.1-RELEASE' => { 'default' => 'i386', 'arch' => [qw/amd64 arm i386 powerpc sparc64 aarch64/] } ,
'FreeBSD 11.0-RELEASE' => { 'default' => 'i386', 'arch' => [qw/amd64 arm i386 powerpc sparc64 aarch64/] } ,
'FreeBSD 10.4-RELEASE' => { 'default' => 'i386', 'arch' => [qw/amd64 arm i386 powerpc sparc64/] } ,
................................................................................

    # pickup a default machine type
    else {
        #exists $arch{$l}->{'default'} ? $arch{$l}->{'default'} : 'default';
    }

    foreach (@arch) {
	next if $_ eq "";

        my $selected = $_ eq $a ? ' selected="selected"' : "";
        my $arch_name = exists $arch_names{$_} ? $arch_names{$_} : $_;
        print qq{<option $selected value="$_">$arch_name</option>\n};
    }

    print qq{</select>\n\n};