@@ -746,7 +746,7 @@ LibraryManager.library = {
746746 // to limitations in the system libraries (we can't easily add a global
747747 // ctor to create the environment without it always being linked in with
748748 // libc).
749- __buildEnvironment__deps : [ '$ENV' , '_get_executable_name ' ] ,
749+ __buildEnvironment__deps : [ '$ENV' , '_getExecutableName ' ] ,
750750 __buildEnvironment : function ( environ ) {
751751 // WARNING: Arbitrary limit!
752752 var MAX_ENV_VALUES = 64 ;
@@ -765,7 +765,7 @@ LibraryManager.library = {
765765 ENV [ 'HOME' ] = '/home/web_user' ;
766766 // Browser language detection #8751
767767 ENV [ 'LANG' ] = ( ( typeof navigator === 'object' && navigator . languages && navigator . languages [ 0 ] ) || 'C' ) . replace ( '-' , '_' ) + '.UTF-8' ;
768- ENV [ '_' ] = __get_executable_name ( ) ;
768+ ENV [ '_' ] = __getExecutableName ( ) ;
769769 // Allocate memory.
770770#if ! MINIMAL_RUNTIME // TODO: environment support in MINIMAL_RUNTIME
771771 poolPtr = getMemory ( TOTAL_ENV_SIZE ) ;
@@ -1844,12 +1844,12 @@ LibraryManager.library = {
18441844 }
18451845 } ,
18461846
1847- dladdr__deps : [ '$stringToNewUTF8' , '_get_executable_name ' ] ,
1847+ dladdr__deps : [ '$stringToNewUTF8' , '_getExecutableName ' ] ,
18481848 dladdr__proxy : 'sync' ,
18491849 dladdr__sig : 'iii' ,
18501850 dladdr : function ( addr , info ) {
18511851 // report all function pointers as coming from this program itself XXX not really correct in any way
1852- var fname = stringToNewUTF8 ( __get_executable_name ( ) ) ; // XXX leak
1852+ var fname = stringToNewUTF8 ( __getExecutableName ( ) ) ; // XXX leak
18531853 { { { makeSetValue ( 'info' , 0 , 'fname' , 'i32' ) } } } ;
18541854 { { { makeSetValue ( 'info' , Runtime . QUANTUM_SIZE , '0' , 'i32' ) } } } ;
18551855 { { { makeSetValue ( 'info' , Runtime . QUANTUM_SIZE * 2 , '0' , 'i32' ) } } } ;
@@ -5161,7 +5161,7 @@ LibraryManager.library = {
51615161 abort ( 'stack overflow ')
51625162 } ,
51635163
5164- _get_executable_name : function ( ) {
5164+ _getExecutableName : function ( ) {
51655165#if MINIMAL_RUNTIME // MINIMAL_RUNTIME does not have a global runtime variable thisProgram
51665166#if ENVIRONMENT_MAY_BE_NODE
51675167 if ( ENVIRONMENT_IS_NODE && process [ 'argv' ] . length > 1 ) {
0 commit comments