Changeset 28750
- Timestamp:
- 11/29/08 15:41:23 (6 weeks ago)
- Location:
- haiku/trunk/src/bin/findutils
- Files:
-
- 213 added
- 30 removed
- 33 modified
-
COPYING (modified) (5 diffs)
-
Jamfile (modified) (1 diff)
-
README (modified) (3 diffs)
-
config.h (modified) (1 diff)
-
find/Jamfile (modified) (2 diffs)
-
find/defs.h (modified) (12 diffs)
-
find/find.1 (modified) (21 diffs)
-
find/find.c (modified) (20 diffs)
-
find/fstype.c (modified) (7 diffs)
-
find/parser.c (modified) (46 diffs)
-
find/pred.c (modified) (50 diffs)
-
find/tree.c (modified) (20 diffs)
-
find/util.c (modified) (8 diffs)
-
find/version.c (modified) (1 diff)
-
findutils.rdef (modified) (1 diff)
-
gnulib (added)
-
gnulib/Jamfile (added)
-
gnulib/lib (added)
-
gnulib/lib/Jamfile (added)
-
gnulib/lib/alloca.c (added)
-
gnulib/lib/alloca.h (added)
-
gnulib/lib/alloca.in.h (added)
-
gnulib/lib/areadlink-with-size.c (added)
-
gnulib/lib/areadlink.h (added)
-
gnulib/lib/argmatch.c (added)
-
gnulib/lib/argmatch.h (added)
-
gnulib/lib/at-func.c (added)
-
gnulib/lib/basename.c (added)
-
gnulib/lib/binary-io.h (added)
-
gnulib/lib/canonicalize-lgpl.c (added)
-
gnulib/lib/canonicalize.c (added)
-
gnulib/lib/canonicalize.h (added)
-
gnulib/lib/chdir-long.c (added)
-
gnulib/lib/chdir-long.h (added)
-
gnulib/lib/chown.c (added)
-
gnulib/lib/close-stream.c (added)
-
gnulib/lib/close-stream.h (added)
-
gnulib/lib/closein.c (added)
-
gnulib/lib/closein.h (added)
-
gnulib/lib/closeout.c (added)
-
gnulib/lib/closeout.h (added)
-
gnulib/lib/configmake.h (added)
-
gnulib/lib/creat-safer.c (added)
-
gnulib/lib/dirent.in.h (added)
-
gnulib/lib/dirfd.c (added)
-
gnulib/lib/dirfd.h (added)
-
gnulib/lib/dirname.c (added)
-
gnulib/lib/dirname.h (added)
-
gnulib/lib/dup-safer.c (added)
-
gnulib/lib/dup2.c (added)
-
gnulib/lib/error.c (added)
-
gnulib/lib/error.h (added)
-
gnulib/lib/exitfail.c (added)
-
gnulib/lib/exitfail.h (added)
-
gnulib/lib/fchdir.c (added)
-
gnulib/lib/fchmodat.c (added)
-
gnulib/lib/fchown-stub.c (added)
-
gnulib/lib/fchownat.c (added)
-
gnulib/lib/fcntl--.h (added)
-
gnulib/lib/fcntl-safer.h (added)
-
gnulib/lib/fcntl.h (added)
-
gnulib/lib/fcntl.in.h (added)
-
gnulib/lib/fd-safer.c (added)
-
gnulib/lib/fflush.c (added)
-
gnulib/lib/file-set.c (added)
-
gnulib/lib/file-set.h (added)
-
gnulib/lib/fileblocks.c (added)
-
gnulib/lib/filemode.c (added)
-
gnulib/lib/filemode.h (added)
-
gnulib/lib/filenamecat.c (added)
-
gnulib/lib/filenamecat.h (added)
-
gnulib/lib/fnmatch.c (added)
-
gnulib/lib/fnmatch.h (added)
-
gnulib/lib/fnmatch.in.h (added)
-
gnulib/lib/fnmatch_loop.c (added)
-
gnulib/lib/fopen-safer.c (added)
-
gnulib/lib/fpending.c (added)
-
gnulib/lib/fpending.h (added)
-
gnulib/lib/fpurge.c (added)
-
gnulib/lib/fpurge.h (added)
-
gnulib/lib/freadahead.c (added)
-
gnulib/lib/freadahead.h (added)
-
gnulib/lib/freading.c (added)
-
gnulib/lib/freading.h (added)
-
gnulib/lib/fseeko.c (added)
-
gnulib/lib/fstatat.c (added)
-
gnulib/lib/ftello.c (added)
-
gnulib/lib/getcwd.c (added)
-
gnulib/lib/getdelim.c (added)
-
gnulib/lib/getline.c (added)
-
gnulib/lib/getopt.c (added)
-
gnulib/lib/getopt.in.h (added)
-
gnulib/lib/getopt1.c (added)
-
gnulib/lib/getopt_int.h (added)
-
gnulib/lib/gettext.h (added)
-
gnulib/lib/hash-pjw.c (added)
-
gnulib/lib/hash-pjw.h (added)
-
gnulib/lib/hash-triple.c (added)
-
gnulib/lib/hash-triple.h (added)
-
gnulib/lib/hash.c (added)
-
gnulib/lib/hash.h (added)
-
gnulib/lib/human.c (added)
-
gnulib/lib/human.h (added)
-
gnulib/lib/idcache.c (added)
-
gnulib/lib/idcache.h (added)
-
gnulib/lib/intprops.h (added)
-
gnulib/lib/inttypes.h (added)
-
gnulib/lib/inttypes.in.h (added)
-
gnulib/lib/lchown.c (added)
-
gnulib/lib/localcharset.c (added)
-
gnulib/lib/localcharset.h (added)
-
gnulib/lib/lseek.c (added)
-
gnulib/lib/lstat.c (added)
-
gnulib/lib/lstat.h (added)
-
gnulib/lib/malloc.c (added)
-
gnulib/lib/malloca.c (added)
-
gnulib/lib/malloca.h (added)
-
gnulib/lib/memcmp.c (added)
-
gnulib/lib/mempcpy.c (added)
-
gnulib/lib/memrchr.c (added)
-
gnulib/lib/memset.c (added)
-
gnulib/lib/mkdirat.c (added)
-
gnulib/lib/mktime.c (added)
-
gnulib/lib/modechange.c (added)
-
gnulib/lib/modechange.h (added)
-
gnulib/lib/mountlist.c (added)
-
gnulib/lib/mountlist.h (added)
-
gnulib/lib/open-safer.c (added)
-
gnulib/lib/openat-die.c (added)
-
gnulib/lib/openat-priv.h (added)
-
gnulib/lib/openat-proc.c (added)
-
gnulib/lib/openat.c (added)
-
gnulib/lib/openat.h (added)
-
gnulib/lib/pathmax.h (added)
-
gnulib/lib/pipe-safer.c (added)
-
gnulib/lib/progname.c (added)
-
gnulib/lib/progname.h (added)
-
gnulib/lib/quote.c (added)
-
gnulib/lib/quote.h (added)
-
gnulib/lib/quotearg.c (added)
-
gnulib/lib/quotearg.h (added)
-
gnulib/lib/readlink.c (added)
-
gnulib/lib/realloc.c (added)
-
gnulib/lib/regcomp.c (added)
-
gnulib/lib/regex.c (added)
-
gnulib/lib/regex.h (added)
-
gnulib/lib/regex_internal.c (added)
-
gnulib/lib/regex_internal.h (added)
-
gnulib/lib/regexec.c (added)
-
gnulib/lib/rpmatch.c (added)
-
gnulib/lib/same-inode.h (added)
-
gnulib/lib/same.c (added)
-
gnulib/lib/same.h (added)
-
gnulib/lib/save-cwd.c (added)
-
gnulib/lib/save-cwd.h (added)
-
gnulib/lib/savedir.c (added)
-
gnulib/lib/savedir.h (added)
-
gnulib/lib/stat-macros.h (added)
-
gnulib/lib/stdbool.in.h (added)
-
gnulib/lib/stdint.h (added)
-
gnulib/lib/stdint.in.h (added)
-
gnulib/lib/stdio--.h (added)
-
gnulib/lib/stdio-safer.h (added)
-
gnulib/lib/stdio.h (added)
-
gnulib/lib/stdio.in.h (added)
-
gnulib/lib/stdlib.h (added)
-
gnulib/lib/stdlib.in.h (added)
-
gnulib/lib/stpcpy.c (added)
-
gnulib/lib/strdup.c (added)
-
gnulib/lib/strerror.c (added)
-
gnulib/lib/strftime.c (added)
-
gnulib/lib/strftime.h (added)
-
gnulib/lib/string.h (added)
-
gnulib/lib/string.in.h (added)
-
gnulib/lib/stripslash.c (added)
-
gnulib/lib/strndup.c (added)
-
gnulib/lib/strnlen.c (added)
-
gnulib/lib/strtoimax.c (added)
-
gnulib/lib/strtol.c (added)
-
gnulib/lib/strtoll.c (added)
-
gnulib/lib/strtoul.c (added)
-
gnulib/lib/strtoull.c (added)
-
gnulib/lib/strtoumax.c (added)
-
gnulib/lib/sys (added)
-
gnulib/lib/sys/stat.h (added)
-
gnulib/lib/sys_stat.in.h (added)
-
gnulib/lib/time.h (added)
-
gnulib/lib/time.in.h (added)
-
gnulib/lib/time_r.c (added)
-
gnulib/lib/unistd--.h (added)
-
gnulib/lib/unistd-safer.h (added)
-
gnulib/lib/unistd.h (added)
-
gnulib/lib/unistd.in.h (added)
-
gnulib/lib/verify.h (added)
-
gnulib/lib/wchar.in.h (added)
-
gnulib/lib/wctype.in.h (added)
-
gnulib/lib/xalloc-die.c (added)
-
gnulib/lib/xalloc.h (added)
-
gnulib/lib/xgetcwd.c (added)
-
gnulib/lib/xgetcwd.h (added)
-
gnulib/lib/xmalloc.c (added)
-
gnulib/lib/xstrndup.c (added)
-
gnulib/lib/xstrndup.h (added)
-
gnulib/lib/xstrtol-error.c (added)
-
gnulib/lib/xstrtol.c (added)
-
gnulib/lib/xstrtol.h (added)
-
gnulib/lib/xstrtoul.c (added)
-
gnulib/lib/xstrtoumax.c (added)
-
gnulib/lib/yesno.c (added)
-
gnulib/lib/yesno.h (added)
-
lib/Jamfile (modified) (2 diffs)
-
lib/alloca.c (deleted)
-
lib/buildcmd.c (added)
-
lib/buildcmd.h (added)
-
lib/dirname.c (deleted)
-
lib/error.c (deleted)
-
lib/extendbuf.c (added)
-
lib/extendbuf.h (added)
-
lib/fileblocks.c (deleted)
-
lib/filemode.c (deleted)
-
lib/fnmatch.c (deleted)
-
lib/fnmatch.h (deleted)
-
lib/forcefindlib.c (added)
-
lib/getline.c (deleted)
-
lib/getopt.c (deleted)
-
lib/getopt.h (deleted)
-
lib/getopt1.c (deleted)
-
lib/gnulib-version.c (added)
-
lib/gnulib-version.h (added)
-
lib/idcache.c (deleted)
-
lib/listfile.c (modified) (6 diffs)
-
lib/listfile.h (added)
-
lib/memcmp.c (deleted)
-
lib/memset.c (deleted)
-
lib/mktime.c (deleted)
-
lib/modechange.c (deleted)
-
lib/modechange.h (deleted)
-
lib/modetype.h (modified) (6 diffs)
-
lib/nextelem.c (modified) (5 diffs)
-
lib/nextelem.h (added)
-
lib/pathmax.h (deleted)
-
lib/printquoted.c (added)
-
lib/printquoted.h (added)
-
lib/qmark.c (added)
-
lib/regex.c (deleted)
-
lib/regex.h (deleted)
-
lib/regexprops.c (added)
-
lib/regextype.c (added)
-
lib/regextype.h (added)
-
lib/savedir.c (deleted)
-
lib/savedirinfo.c (added)
-
lib/savedirinfo.h (added)
-
lib/stpcpy.c (deleted)
-
lib/strdup.c (deleted)
-
lib/strftime.c (deleted)
-
lib/strspn.c (deleted)
-
lib/strstr.c (deleted)
-
lib/strtol.c (deleted)
-
lib/wait.h (modified) (1 diff)
-
lib/waitpid.c (added)
-
lib/xgetcwd.c (deleted)
-
lib/xmalloc.c (deleted)
-
lib/xstrdup.c (deleted)
-
locate/Jamfile (modified) (2 diffs)
-
locate/bigram.c (modified) (6 diffs)
-
locate/code.c (modified) (12 diffs)
-
locate/frcode.c (modified) (8 diffs)
-
locate/locate.1 (modified) (5 diffs)
-
locate/locate.c (modified) (5 diffs)
-
locate/locatedb.5 (modified) (3 diffs)
-
locate/locatedb.h (modified) (3 diffs)
-
locate/updatedb.1 (modified) (4 diffs)
-
locate/updatedb.sh (modified) (6 diffs)
-
xargs/Jamfile (modified) (2 diffs)
-
xargs/xargs.1 (modified) (4 diffs)
-
xargs/xargs.c (modified) (42 diffs)
Legend:
- Unmodified
- Added
- Removed
-
haiku/trunk/src/bin/findutils/COPYING
r8084 r28750 1 1 2 GNU GENERAL PUBLIC LICENSE 2 Version 2, June 1991 3 4 Copyright (C) 1989, 1991 Free Software Foundation, Inc. 5 675 Mass Ave, Cambridge, MA 02139, USA 3 Version 3, 29 June 2007 4 5 Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/> 6 6 Everyone is permitted to copy and distribute verbatim copies 7 7 of this license document, but changing it is not allowed. … … 9 9 Preamble 10 10 11 The licenses for most software are designed to take away your 12 freedom to share and change it. By contrast, the GNU General Public 13 License is intended to guarantee your freedom to share and change free 14 software--to make sure the software is free for all its users. This 15 General Public License applies to most of the Free Software 16 Foundation's software and to any other program whose authors commit to 17 using it. (Some other Free Software Foundation software is covered by 18 the GNU Library General Public License instead.) You can apply it to 11 The GNU General Public License is a free, copyleft license for 12 software and other kinds of works. 13 14 The licenses for most software and other practical works are designed 15 to take away your freedom to share and change the works. By contrast, 16 the GNU General Public License is intended to guarantee your freedom to 17 share and change all versions of a program--to make sure it remains free 18 software for all its users. We, the Free Software Foundation, use the 19 GNU General Public License for most of our software; it applies also to 20 any other work released this way by its authors. You can apply it to 19 21 your programs, too. 20 22 … … 22 24 price. Our General Public Licenses are designed to make sure that you 23 25 have the freedom to distribute copies of free software (and charge for 24 th is service if you wish), that you receive source code or can get it25 if you want it, that you can change the software or use pieces of it 26 in new free programs;and that you know you can do these things.27 28 To protect your rights, we need to make restrictions that forbid29 anyone to deny you these rights or to ask you to surrender the rights. 30 These restrictions translate to certain responsibilities for you if you 31 distribute copies of the software, or if you modify it.26 them if you wish), that you receive source code or can get it if you 27 want it, that you can change the software or use pieces of it in new 28 free programs, and that you know you can do these things. 29 30 To protect your rights, we need to prevent others from denying you 31 these rights or asking you to surrender the rights. Therefore, you have 32 certain responsibilities if you distribute copies of the software, or if 33 you modify it: responsibilities to respect the freedom of others. 32 34 33 35 For example, if you distribute copies of such a program, whether 34 gratis or for a fee, you must give the recipients all the rights that 35 you have. You must make sure that they, too, receive or can get the 36 source code. And you must show them these terms so they know their 37 rights. 38 39 We protect your rights with two steps: (1) copyright the software, and 40 (2) offer you this license which gives you legal permission to copy, 41 distribute and/or modify the software. 42 43 Also, for each author's protection and ours, we want to make certain 44 that everyone understands that there is no warranty for this free 45 software. If the software is modified by someone else and passed on, we 46 want its recipients to know that what they have is not the original, so 47 that any problems introduced by others will not reflect on the original 48 authors' reputations. 49 50 Finally, any free program is threatened constantly by software 51 patents. We wish to avoid the danger that redistributors of a free 52 program will individually obtain patent licenses, in effect making the 53 program proprietary. To prevent this, we have made it clear that any 54 patent must be licensed for everyone's free use or not licensed at all. 36 gratis or for a fee, you must pass on to the recipients the same 37 freedoms that you received. You must make sure that they, too, receive 38 or can get the source code. And you must show them these terms so they 39 know their rights. 40 41 Developers that use the GNU GPL protect your rights with two steps: 42 (1) assert copyright on the software, and (2) offer you this License 43 giving you legal permission to copy, distribute and/or modify it. 44 45 For the developers' and authors' protection, the GPL clearly explains 46 that there is no warranty for this free software. For both users' and 47 authors' sake, the GPL requires that modified versions be marked as 48 changed, so that their problems will not be attributed erroneously to 49 authors of previous versions. 50 51 Some devices are designed to deny users access to install or run 52 modified versions of the software inside them, although the manufacturer 53 can do so. This is fundamentally incompatible with the aim of 54 protecting users' freedom to change the software. The systematic 55 pattern of such abuse occurs in the area of products for individuals to 56 use, which is precisely where it is most unacceptable. Therefore, we 57 have designed this version of the GPL to prohibit the practice for those 58 products. If such problems arise substantially in other domains, we 59 stand ready to extend this provision to those domains in future versions 60 of the GPL, as needed to protect the freedom of users. 61 62 Finally, every program is threatened constantly by software patents. 63 States should not allow patents to restrict development and use of 64 software on general-purpose computers, but in those that do, we wish to 65 avoid the special danger that patents applied to a free program could 66 make it effectively proprietary. To prevent this, the GPL assures that 67 patents cannot be used to render the program non-free. 55 68 56 69 The precise terms and conditions for copying, distribution and 57 70 modification follow. 58 59 GNU GENERAL PUBLIC LICENSE 60 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 61 62 0. This License applies to any program or other work which contains 63 a notice placed by the copyright holder saying it may be distributed 64 under the terms of this General Public License. The "Program", below, 65 refers to any such program or work, and a "work based on the Program" 66 means either the Program or any derivative work under copyright law: 67 that is to say, a work containing the Program or a portion of it, 68 either verbatim or with modifications and/or translated into another 69 language. (Hereinafter, translation is included without limitation in 70 the term "modification".) Each licensee is addressed as "you". 71 72 Activities other than copying, distribution and modification are not 73 covered by this License; they are outside its scope. The act of 74 running the Program is not restricted, and the output from the Program 75 is covered only if its contents constitute a work based on the 76 Program (independent of having been made by running the Program). 77 Whether that is true depends on what the Program does. 78 79 1. You may copy and distribute verbatim copies of the Program's 80 source code as you receive it, in any medium, provided that you 81 conspicuously and appropriately publish on each copy an appropriate 82 copyright notice and disclaimer of warranty; keep intact all the 83 notices that refer to this License and to the absence of any warranty; 84 and give any other recipients of the Program a copy of this License 85 along with the Program. 86 87 You may charge a fee for the physical act of transferring a copy, and 88 you may at your option offer warranty protection in exchange for a fee. 89 90 2. You may modify your copy or copies of the Program or any portion 91 of it, thus forming a work based on the Program, and copy and 92 distribute such modifications or work under the terms of Section 1 93 above, provided that you also meet all of these conditions: 94 95 a) You must cause the modified files to carry prominent notices 96 stating that you changed the files and the date of any change. 97 98 b) You must cause any work that you distribute or publish, that in 99 whole or in part contains or is derived from the Program or any 100 part thereof, to be licensed as a whole at no charge to all third 101 parties under the terms of this License. 102 103 c) If the modified program normally reads commands interactively 104 when run, you must cause it, when started running for such 105 interactive use in the most ordinary way, to print or display an 106 announcement including an appropriate copyright notice and a 107 notice that there is no warranty (or else, saying that you provide 108 a warranty) and that users may redistribute the program under 109 these conditions, and telling the user how to view a copy of this 110 License. (Exception: if the Program itself is interactive but 111 does not normally print such an announcement, your work based on 112 the Program is not required to print an announcement.) 113 114 These requirements apply to the modified work as a whole. If 115 identifiable sections of that work are not derived from the Program, 116 and can be reasonably considered independent and separate works in 117 themselves, then this License, and its terms, do not apply to those 118 sections when you distribute them as separate works. But when you 119 distribute the same sections as part of a whole which is a work based 120 on the Program, the distribution of the whole must be on the terms of 121 this License, whose permissions for other licensees extend to the 122 entire whole, and thus to each and every part regardless of who wrote it. 123 124 Thus, it is not the intent of this section to claim rights or contest 125 your rights to work written entirely by you; rather, the intent is to 126 exercise the right to control the distribution of derivative or 127 collective works based on the Program. 128 129 In addition, mere aggregation of another work not based on the Program 130 with the Program (or with a work based on the Program) on a volume of 131 a storage or distribution medium does not bring the other work under 132 the scope of this License. 133 134 3. You may copy and distribute the Program (or a work based on it, 135 under Section 2) in object code or executable form under the terms of 136 Sections 1 and 2 above provided that you also do one of the following: 137 138 a) Accompany it with the complete corresponding machine-readable 139 source code, which must be distributed under the terms of Sections 140 1 and 2 above on a medium customarily used for software interchange; or, 141 142 b) Accompany it with a written offer, valid for at least three 143 years, to give any third party, for a charge no more than your 144 cost of physically performing source distribution, a complete 145 machine-readable copy of the corresponding source code, to be 146 distributed under the terms of Sections 1 and 2 above on a medium 147 customarily used for software interchange; or, 148 149 c) Accompany it with the information you received as to the offer 150 to distribute corresponding source code. (This alternative is 151 allowed only for noncommercial distribution and only if you 152 received the program in object code or executable form with such 153 an offer, in accord with Subsection b above.) 154 155 The source code for a work means the preferred form of the work for 156 making modifications to it. For an executable work, complete source 157 code means all the source code for all modules it contains, plus any 158 associated interface definition files, plus the scripts used to 159 control compilation and installation of the executable. However, as a 160 special exception, the source code distributed need not include 161 anything that is normally distributed (in either source or binary 162 form) with the major components (compiler, kernel, and so on) of the 163 operating system on which the executable runs, unless that component 164 itself accompanies the executable. 165 166 If distribution of executable or object code is made by offering 167 access to copy from a designated place, then offering equivalent 168 access to copy the source code from the same place counts as 169 distribution of the source code, even though third parties are not 170 compelled to copy the source along with the object code. 171 172 4. You may not copy, modify, sublicense, or distribute the Program 173 except as expressly provided under this License. Any attempt 174 otherwise to copy, modify, sublicense or distribute the Program is 175 void, and will automatically terminate your rights under this License. 176 However, parties who have received copies, or rights, from you under 177 this License will not have their licenses terminated so long as such 178 parties remain in full compliance. 179 180 5. You are not required to accept this License, since you have not 181 signed it. However, nothing else grants you permission to modify or 182 distribute the Program or its derivative works. These actions are 183 prohibited by law if you do not accept this License. Therefore, by 184 modifying or distributing the Program (or any work based on the 185 Program), you indicate your acceptance of this License to do so, and 186 all its terms and conditions for copying, distributing or modifying 187 the Program or works based on it. 188 189 6. Each time you redistribute the Program (or any work based on the 190 Program), the recipient automatically receives a license from the 191 original licensor to copy, distribute or modify the Program subject to 192 these terms and conditions. You may not impose any further 193 restrictions on the recipients' exercise of the rights granted herein.
