gecko/hal
Thomas Zimmermann 318aaffea1 Bug 794051 - Read battery status via fgets. r=dhylands
The call to fscanf for reading the battery status used an incorrect pointer in its
arguments. The code only worked because the first byte of a character array is the
first element within the array. To fix this problem, fscanf has been replaced by
fgets, which is less error prone and checks the length of the supplied array.

Additionaly, we don't want to operate on an undefined result if fgets fails. In
this case we assume that the battery is not being charged.
2012-09-26 08:45:06 -07:00
..
android Bug 787534 - Remove Portrait and Landscape special ScreenOrientation values. r=jlebar 2012-09-19 17:28:16 +01:00
cocoa Bug 793418 - OS X Battery Backend: Report time to charge when available. r=mounir 2012-09-25 15:32:02 +01:00
fallback Bug 794127 - hal::AdjustSystemClock should take a 64-bit value. r=cjones 2012-09-26 11:51:29 +08:00
gonk Bug 794051 - Read battery status via fgets. r=dhylands 2012-09-26 08:45:06 -07:00
linux Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
sandbox Bug 794127 - hal::AdjustSystemClock should take a 64-bit value. r=cjones 2012-09-26 11:51:29 +08:00
windows Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Hal.cpp Bug 794127 - hal::AdjustSystemClock should take a 64-bit value. r=cjones 2012-09-26 11:51:29 +08:00
Hal.h Bug 794127 - hal::AdjustSystemClock should take a 64-bit value. r=cjones 2012-09-26 11:51:29 +08:00
HalImpl.h Bug 712378 followup - Fix incorrect license headers; r=sparky 2012-02-10 11:04:44 +01:00
HalInternal.h Bug 792443 - hal::RegisterSystemTimeChangeObserver should register the observer through sandbox, r=jlebar 2012-09-23 13:00:32 -04:00
HalSandbox.h Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
HalSensor.h Bug 786148 - s/IPC/ipc/. r=ted. 2012-08-28 08:41:04 -04:00
HalTypes.h Bug 791329 - Let GonkSwitch to know the status about headset or headphone from uevent. r=dhylands 2012-09-25 19:03:13 +08:00
HalWakeLock.cpp Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg 2012-08-22 11:56:38 -04:00
HalWakeLock.h Bug 697132 - Implement wakelock interfaces. r=jlebar 2012-03-07 12:03:25 +01:00
Makefile.in Bug 696045 - Implement Mac backend for Battery API. r=BenWa,mounir 2012-09-21 23:36:14 -04:00
WindowIdentifier.cpp Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
WindowIdentifier.h Bug 712910 - Use stdint types in HAL; r=cjones 2012-05-25 09:18:30 +02:00