aboutsummaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Collapse)Author
2013-07-26Fix compilation on SolarisMaciej Małecki
Trying to compile R16B01 on SmartOS resulted in following errors: gcc -c -o ../priv/obj/i386-pc-solaris2.11/ferrule.o -Werror=return-type -g -O2 -I/root/otp_src_R16B01/erts/i386-pc-solaris2.11 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fno-tree-copyrename -DHAVE_CONFIG_H ferrule.c ferrule.c:53:1: error: return type defaults to 'int' [-Werror=return-type] ... gcc -c -o ../priv/obj/i386-pc-solaris2.11/mod_syslog.o -Werror=return-type -g -O2 -I/root/otp_src_R16B01/erts/i386-pc-solaris2.11 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fno-tree-copyrename -DHAVE_CONFIG_H mod_syslog.c mod_syslog.c:50:1: error: return type defaults to 'int' [-Werror=return-type] mod_syslog.c: In function 'make_exit': mod_syslog.c:136:5: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] mod_syslog.c: In function 'main': mod_syslog.c:131:1: error: control reaches end of non-void function [-Werror=return-type] Adding return values and types to `main` functions in `mod_syslog.c` and `ferrule.c` fixed the build.
2013-07-24Merge branch 'sb/fix-alignment-q-command/OTP-11209' into maintBjörn-Egil Dahlberg
* sb/fix-alignment-q-command/OTP-11209: Fix indentation of User switch command help in Erlang shell
2013-07-24Merge branch 'jv/update-io_prompt-type/OTP-11208' into maintBjörn-Egil Dahlberg
* jv/update-io_prompt-type/OTP-11208: Update io:prompt() type
2013-07-24Merge branch 'jv/filelib-types/OTP-11208' into maintBjörn-Egil Dahlberg
* jv/filelib-types/OTP-11208: Update filelib.erl typespecs
2013-07-23Merge branch 'anders/diameter/inappropriate_DWR/OTP-11184' into maintAnders Svensson
* anders/diameter/inappropriate_DWR/OTP-11184: Ensure DWR isn't sent immediately after DWA Comment tweaks
2013-07-22Merge branch 'egil/os_mon/fix-bsd-disksup/OTP-11207' into maintBjörn-Egil Dahlberg
* egil/os_mon/fix-bsd-disksup/OTP-11207: os_mon: Fix openbsd diskspace queries os_mon: Fix freebsd diskspace queries
2013-07-21Update filelib.erl typespecsJosé Valim
Most functions in filelib support binaries as arguments but that was not reflected in the typespecs. The types filename_all() and dirname_all() were introduced to mimic file:name_all().
2013-07-21Update io:prompt() typeJosé Valim
Functions that expect an io:prompt() also accept binaries and iolists as arguments. Therefore its type has been updated to reflect the same types accepted by other io functions.
2013-07-21Fix indentation of User switch command help in Erlang shellsyl20bnr
2013-07-19os_mon: Relax disksup_SUITE test even moreBjörn-Egil Dahlberg
Capacity can be zero on certain filesystems. Remove reported mountpoints with zero capacity during tests since these reports false positives.
2013-07-18os_mon: Fix openbsd diskspace queriesBjörn-Egil Dahlberg
Use 'df -k -l' to query OpenBSD about diskspace on local disks. Same reasoning as for FreeBSD - additional filesystems without listing them all.
2013-07-18os_mon: Fix freebsd diskspace queriesBjörn-Egil Dahlberg
Use 'df -k -l' to query FreeBSD about diskspace on local disks. Previously 'df' -k -t ufs' was used but this will not handle zfs disks. Just use '-l' instead of listing potential filesystems.
2013-07-18os_mon: Refactor disksup_SUITEBjörn-Egil Dahlberg
Notably, remove ?line macro.
2013-07-18os_mon: Relax disksup_SUITE api testBjörn-Egil Dahlberg
2013-07-16snmp: Silence debug in testsBjörn-Egil Dahlberg
2013-07-15Merge branch 'egil/erts/aggregate-system-traceability/OTP-11196' into maintBjörn-Egil Dahlberg
* egil/erts/aggregate-system-traceability/OTP-11196: Check for native code without loading module Fix erlang:system_info(compile_info) Fix system_information get_beam_name/0 Add beam dynamic libraries to system_information Add system_information testsuite Add system information aggregate Refactor away ?line macro in code_SUITE Fix tests for erts app-file Add erts app-file erts: Add cflags, ldflags and config.h into executable
2013-07-15Check for native code without loading moduleBjörn-Egil Dahlberg
2013-07-15Fix system_information get_beam_name/0Björn-Egil Dahlberg
os:getenv("EMU") is not set for windows, use "beam" instead.
2013-07-15Add beam dynamic libraries to system_informationBjörn-Egil Dahlberg
2013-07-15Add system_information testsuiteBjörn-Egil Dahlberg
2013-07-15Merge branch 'maint-r16' into maintMicael Karlberg
2013-07-12Ensure DWR isn't sent immediately after DWAAnders Svensson
Having the peer_fsm process answer DWR meant that watchdog timer expiry could result in an outgoing DWR despite the fact that an incoming DWR was just answered. Having the watchdog process answer avoids this. diameter_peer_fsm must be loaded before diameter_watchdog. It's possible for one incoming DWR to go unanswered but a subsequent DWR will be answered so no harm is done.
2013-07-12Comment tweaksAnders Svensson
2013-07-12Add system information aggregateBjörn-Egil Dahlberg
2013-07-12Merge branch 'rickard/info/OTP-11196' into maintRickard Green
* rickard/info/OTP-11196: Fix configure detection of ethread native atomics on powerpc
2013-07-12Fix configure detection of ethread native atomics on powerpcRickard Green
2013-07-12Merge branch 'aw/fix-ftp-report-formatting/OTP-11202' into maintFredrik Gustafsson
* aw/fix-ftp-report-formatting/OTP-11202: Add missing brackets to report formatting on ftp_progress process exit
2013-07-11Refactor away ?line macro in code_SUITEBjörn-Egil Dahlberg
2013-07-11Fix tests for erts app-fileBjörn-Egil Dahlberg
2013-07-11Merge branch 'jw/fix-float-middle-endian/OTP-11201' into maintFredrik Gustafsson
* jw/fix-float-middle-endian/OTP-11201: Fix binary construction on floating point middle-endian machines Fix binary matching on floating point middle-endian machines Fix erlang:phash2() on floating point middle-endian machines Fix external term format BIFs on floating point middle-endian machines
2013-07-11Add missing brackets to report formatting on ftp_progress process exitArtur Wilniewczyc
When progress reporting process exits, ftp client crashes because of missing brackets in io_lib:format argument.
2013-07-11Merge branch 'goofansu/fix-supervisor-typo' into maintFredrik Gustafsson
* goofansu/fix-supervisor-typo: Fix supervisor typo
2013-07-11Fix supervisor typogoofansu
`I` should be `If`
2013-07-10Merge branch 'rickard/info/OTP-11196' into maintRickard Green
* rickard/info/OTP-11196: Add test cases for native atomics and jump table Refuse to build SMP runtime by default without native atomics Make information about use of jump table available via system_info BIF Make ethread library information available via system_info BIF Make emulator arguments available via the system_info BIF
2013-07-09Merge branch 'genrich/stdlib/gen_server_typo/OTP-11200' into maintFredrik Gustafsson
* genrich/stdlib/gen_server_typo/OTP-11200: handle_info Info type possible typo
2013-07-09Merge branch 'fredrik/ssh/chmod/OTP-11189' into maintFredrik Gustafsson
* fredrik/ssh/chmod/OTP-11189: ssh: Not run chmod every lookup
2013-07-09Merge branch 'sze/ssh_cli_handles/OTP-11199' into maintFredrik Gustafsson
* sze/ssh_cli_handles/OTP-11199: Make ssh_cli.erl handle <CTRL>+C
2013-07-09Refuse to build SMP runtime by default without native atomicsRickard Green
Build with fallback can be enabled by passing the `configure` command line argument `--disable-smp-require-native-atomics`
2013-07-09Merge branch 'siri/ct_netconfc/multiple-filter-notification/OTP-11166' into ↵Siri Hansen
maint * siri/ct_netconfc/multiple-filter-notification/OTP-11166: [ct_netconfc] Allow multiple elements inside filter in create_subscription
2013-07-09Merge branch 'ra/trailing-spaces-emacs-skels/OTP-11198' into maintFredrik Gustafsson
* ra/trailing-spaces-emacs-skels/OTP-11198: Remove trailing spaces in Emacs templates
2013-07-09Merge branch 'siri/ct_netconfc/doc-send/OTP-11132' into maintSiri Hansen
* siri/ct_netconfc/doc-send/OTP-11132: [common_test] Add documentation for ct_netconfc:send and send_rpc
2013-07-09Merge branch 'siri/cuddle-with-tests' into maintSiri Hansen
* siri/cuddle-with-tests: [sasl] Remove directory with unicode characters after successful test
2013-07-08Merge branch 'bmk/snmp/snmp4241_integration/r16' into maint-r16Erlang/OTP
* bmk/snmp/snmp4241_integration/r16: [snmp/agent] Cleanup, renaming, appup, proper version and release notes [snmp/agent] Local DB counter increment wrap error SNMP/VACM: bugfix for vacmViewTreeFamilyMask
2013-07-04Merge branch 'bmk/snmp/agent/ldb_counter_wrap/OTP-11192' into ↵Micael Karlberg
bmk/snmp/snmp4241_integration/r16 Conflicts: lib/snmp/doc/src/notes.xml lib/snmp/src/app/snmp.appup.src
2013-07-04[snmp/agent] Cleanup, renaming, appup, proper version and release notesMicael Karlberg
Add utility functions for checking view masks. Code cleanup, function renaming and comment fix (%% instead of %). Also updated the mask check in the vacm config file check function. Finally, release notes and some cosmetic changes to the agent config-file(s) user guide chapter.
2013-07-03[snmp/agent] Local DB counter increment wrap errorMicael Karlberg
The counter increment function in the local-db was incorrect. It did not handle counter wrap correctly. OTP-11192
2013-07-01Merge branch 'maint-r16' into maintFredrik Gustafsson
2013-07-01Merge branch 'maint-r15' into maint-r16Fredrik Gustafsson
Conflicts: lib/inets/doc/src/notes.xml lib/inets/src/inets_app/inets.appup.src lib/inets/vsn.mk lib/ssh/doc/src/notes.xml lib/ssh/src/ssh.appup.src lib/ssh/src/ssh_connection_handler.erl lib/ssh/vsn.mk
2013-07-01Merge branch 'jwh/httpc_delete_body/OTP-11190' into maintFredrik Gustafsson
* jwh/httpc_delete_body/OTP-11190: httpc: Allow content body in DELETE requests
2013-07-01Remove trailing spaces in Emacs templatesRoberto Aloi