aboutsummaryrefslogtreecommitdiff
path: root/include/platform.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
| * fix compile error on non-x86 architecturesDenys Vlasenko2011-01-211-3/+4
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * sighandler_t definition for BSDChris Rees2011-01-201-0/+6
| | | | | | | | | | Signed-off-by: Chris Rees <utisoft@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge remote-tracking branch 'upstream/master'Nguyễn Thái Ngọc Duy2011-01-041-1/+1
|\|
| * whitespace cleanupDenys Vlasenko2010-10-291-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* | Merge commit 'e4dcba1c103dc28e927e004791e331aaf604383d'Nguyễn Thái Ngọc Duy2011-01-041-1/+1
|\| | | | | | | | | Conflicts: libbb/make_directory.c
| * *: whitespace fixesDenys Vlasenko2010-10-281-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge commit 'e4dcba1c103dc28e927e004791e331aaf604383d^'Nguyễn Thái Ngọc Duy2011-01-041-9/+0
|\|
| * Remove check for supported libc.Denys Vlasenko2010-10-241-9/+0
| | | | | | | | | | | | | | If it is not supported, it won't work. No need to break working ones which happen to this over this check. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge commit 'eb7fe6dbf5bc93a229379a8047539dd8b90e0974^'Nguyễn Thái Ngọc Duy2011-01-041-2/+7
|\|
| * *: deinline SWAP_xE64 on 32-bit CPUs. Wins !90 bytes both on 32 and 64 bitsDenys Vlasenko2010-10-181-2/+7
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* | Merge commit '06f719fd79fe15ce6fd5431bc58fcb22851de24d^'Nguyễn Thái Ngọc Duy2011-01-041-0/+4
|\|
| * md5: code shrink; and use 64-byte temp buf, not 128-byte.Denys Vlasenko2010-10-161-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta md5_hash 111 108 -3 md5_end 129 125 -4 md5_hash_block 459 454 -5 filter_rename_config 250 244 -6 md5_crypt 587 578 -9 popmaildir_main 828 816 -12 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/6 up/down: 0/-39) Total: -39 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | win32: platform.h: reuse memrchr() in platform.cNguyễn Thái Ngọc Duy2010-09-141-0/+2
| |
* | Merge branch 'origin/master' (early part)Nguyễn Thái Ngọc Duy2010-09-141-2/+2
|\|
| * *: make GNU licensing statement forms more regularDenys Vlasenko2010-08-161-2/+2
| | | | | | | | | | | | | | This change retains "or later" state! No licensing _changes_ here, only form is adjusted (article, space between "GPL" and "v2" and so on). Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge branch 'origin/master' (early part)Nguyễn Thái Ngọc Duy2010-09-141-14/+20
|\| | | | | | | | | Conflicts: include/platform.h
| * platform.h: regularize endian detectionDenys Vlasenko2010-08-161-15/+20
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge branch 'origin/master' (early part)Nguyễn Thái Ngọc Duy2010-09-141-2/+8
|\| | | | | | | | | Conflicts: include/platform.h
| * OpenBSD compatibilityWaldemar Brodkorb2010-08-061-2/+8
| | | | | | | | | | Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge branch 'origin/master' (early part)Nguyễn Thái Ngọc Duy2010-09-141-2/+8
|\|
| * Added code for nonstandard function strsep()Dan Fandrich2010-06-191-0/+6
| | | | | | | | | | Signed-off-by: Dan Fandrich <dan@coneharvesters.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * A few minor portability improvementsDan Fandrich2010-06-191-2/+2
| | | | | | | | | | Signed-off-by: Dan Fandrich <dan@coneharvesters.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | win32: platform.h: add bswap_xx()Nguyễn Thái Ngọc Duy2010-09-101-0/+7
| |
* | platform.h: support MinGW portNguyễn Thái Ngọc Duy2010-09-101-4/+24
| |
* | win32: Refuse to be built by MinGW compiler unless platform MINGW32 is selectedNguyễn Thái Ngọc Duy2010-09-101-0/+4
|/
* dnsd: enforce alignment on packet bufferDenys Vlasenko2010-04-141-0/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* include/platform.h: PowerPC can also do unaligned accessJoakim Tjernlund2010-02-111-1/+1
| | | | | Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* dnsd: fix one big-endian goof; add a TODO about RA bitDenys Vlasenko2010-02-061-0/+5
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: eliminate more aliasing warningsDenys Vlasenko2010-02-041-4/+8
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: suppress ~60% of "aliased warnings" on gcc-4.4.1Denys Vlasenko2010-02-041-0/+7
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* more thorough fix for systems with strange socklen_tDenys Vlasenko2010-02-021-12/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* stat: get rid on intmax_tDenys Vlasenko2010-02-021-15/+1
| | | | | | | | | | | function old new delta print_it 225 218 -7 print_stat 919 889 -30 print_statfs 370 339 -31 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/3 up/down: 0/-68) Total: -68 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ping: fix unaligned access. closes bug 745.Denys Vlasenko2009-11-261-0/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* big endian warning fixesDenys Vlasenko2009-11-071-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* include/libbb.h: mark malloc-returning functions with GCC attributeDenys Vlasenko2009-11-021-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta ash_main 1336 1365 +29 readcmd 1062 1072 +10 add_split_dependencies 707 717 +10 rtnl_talk 539 548 +9 normalize 165 174 +9 xmalloc_optname_optval 583 590 +7 test_main 247 253 +6 insert_bg_job 366 371 +5 dname_enc 391 395 +4 nslookup_main 165 168 +3 ifplugd_main 1099 1102 +3 tftpd_main 493 495 +2 make_new_session 413 415 +2 localcmd 274 276 +2 date_main 696 698 +2 tee_main 317 318 +1 setvar 183 184 +1 hash_find 233 234 +1 xrtnl_dump_filter 400 399 -1 prepend_new_eth_table 297 295 -2 unpack_Z_stream 1229 1226 -3 read_line_input 4823 4820 -3 do_load 523 520 -3 udhcp_run_script 669 665 -4 mkfs_vfat_main 1609 1605 -4 rtnl_rtprot_initialize 70 65 -5 procps_scan 1842 1835 -7 read_opt 873 865 -8 ifupdown_main 2133 2125 -8 mkfs_ext2_main 2492 2482 -10 logread_main 503 492 -11 svlogd_main 1441 1429 -12 rewrite 1032 1018 -14 fbsplash_main 917 903 -14 str2sockaddr 431 405 -26 unpack_lzma_stream 2705 2677 -28 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 18/18 up/down: 106/-163) Total: -57 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Add more compat code for non GNU environmentsDan Fandrich2009-11-011-9/+41
| | | | | Signed-off-by: Dan Fandrich <dan@coneharvesters.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* platform compatibility work (by Dan Fandrich)Dan Fandrich2009-10-271-20/+42
| | | | | Signed-off-by: Dan Fandrich <dan@coneharvesters.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* move libc related stuff out of platform.hDenys Vlasenko2009-07-081-44/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Patches to enable FreeBSD buildDenys Vlasenko2009-07-051-33/+28
| | | | | | | | | platform.h: fix wrong check for endianness, fix lchown aliasing to chown on uclibc. Code seems to not be affected in my testing. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* add platform tweaksDenys Vlasenko2009-05-191-79/+87
| | | | | | | | login: consider platforms having no domainname field in the utsname struct include/platform.h: define IUCLC to 0 on platforms where it is not defined Signed-off-by: Luca Favatella <slackydeb@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix move_to_unaligned32Denis Vlasenko2009-04-171-1/+4
|
* *: make "pragma GCC visibility push(hidden)" less uglyDenis Vlasenko2009-04-091-3/+13
|
* more of pointless whitespace fixesDenis Vlasenko2009-04-011-1/+1
|
* optimize 16- and 32-bit movesDenis Vlasenko2008-12-081-3/+9
| | | | | | | | | | | | | | | | function old new delta udhcpd_main 1239 1257 +18 udhcp_add_simple_option 93 92 -1 buffer_read_le_u32 19 18 -1 unpack_gz_stream_with_info 526 520 -6 dnsd_main 1470 1463 -7 udhcp_run_script 1208 1186 -22 send_ACK 255 229 -26 arping_main 1661 1623 -38 send_offer 470 428 -42 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/8 up/down: 18/-143) Total: -125 bytes
* crond: use bb_setpgrp, not setpgrpDenis Vlasenko2008-12-031-22/+24
| | | | | platform.h: make a bit more readable
* add comment, no code changesDenis Vlasenko2008-11-011-0/+1
|
* - update my name. No obj-code changes ;)Bernhard Reutner-Fischer2008-09-251-1/+1
|
* - support relatime / norelatimeBernhard Reutner-Fischer2008-08-061-1/+3
|
* *: rename ATTRIBUTE_XXX to just XXX.Denis Vlasenko2008-07-051-10/+10
|
* add stdcall to FAST_FUNCDenis Vlasenko2008-06-271-3/+3
| | | | | | | text data bss dec hex filename 804476 611 6868 811955 c63b3 busybox_old 804373 611 6868 811852 c634c busybox_unstripped