search for: harcod

Displaying 9 results from an estimated 9 matches for "harcod".

Did you mean: harcode
2013 Aug 11
0
[LLVMdev] Address space extension
...internal modification, otherwise also the library must be maintained! Adding a way for the frontend to fix at runtime its map is fine. The fact that this must be put also in the IR is for independent tools (opt, llc, etc) in the same way as target triple and datalayout strings. It's crazy to harcode language specific knowledge in the backend: a backend is a "blackbox" that takes as input the IR (it doesn't matter from which source language has been generated) and produces object code: the source language should not be inside any backend concept. For almost the same reason also t...
2009 Nov 09
3
How can I improve a Ruby on Rails code that hast a lot of SQL as strings?
Hello Railists, I have a piece of Ruby on Rails code that has a complex SQL query (well, not that complex, but as far as I know beyond the ORM capabilities) and for my taste it has too many strings and harcoded values. I''d like to improve it as much as possible, so my question is open ended, what else can I do to improve it? Some particular issues I have - Is there a way to get a table name to use it in a query in the same escaped way as the ORM does? I think this is database independent, bei...
2013 Aug 11
5
[LLVMdev] Address space extension
Shortening the email chain. > Using this example or another equivalent example can you explain me what is > your variant of the solution? How would you solve the current absence of > information in the case of X86 target? [Micah Villmow] I understand what you are trying to do. I don't see the need, only added complexity for little gain, to involve the backends. Everything you are
2011 Dec 02
0
Wine release 1.3.34
...compilation on Solaris by including errno.h instead of sys/errno.h. secur32: Fix the compilation on Solaris by including errno.h instead of sys/errno.h. winspool: Fix the compilation on Solaris by including errno.h instead of sys/errno.h. Fr?d?ric Delanoy (26): ntdll/tests: Avoid harcoding array lengths. oleaut32: Avoid harcoding array lengths. shell32: Avoid harcoding array lengths. shlwapi: Avoid harcoding array lengths. cmd: Move builtins list to builtins.c. comctl32: Avoid hardcoding array lengths. krnl386.exe16: Avoid hardcoding array lengt...
2001 Nov 22
1
Getting Registry info and using it ????
...I want to use variable path*/ temp = (PCWSTR) szFullPath; printf( "The fullpath is %s \n", temp ); printf("Please wait while it installs the Network Driver for you /*if I use szFullPath variable directly then also it doesn't work and give me the same hRes value.Only works with harcoded string*/ hRes = HrInstallNetComponent(L"ms_sFilter", NC_NetService,temp); //80070002 is the hRes while running the exe printf( "The Result is %x \n", hRes ); **************************************************************************** Thanks in advance, Cheers, Monika
2000 Jun 23
4
problme with scp, and suggestion for fix
I recently built openssh 2.1.1p1, under solaris. I noticed that I had problems running scp. It seems that it could not find the executable on the remote end. This was odd, becuase it existed in /usr/local/bin, publically executable, and /usr/local/bin/was in the users' normal PATH (exported, even). So finally, I twiddled the source to make it call /usr/local/bin/scp, instead of just
2006 Apr 17
0
[PATCH] klibc: default initramfs content stored in usr/initramfs.default
Harcoding default content of initramfs in the gen_initramfs_list.sh script seems ackward. Move it to a file named: usr/initramfs.default This also fixes a small bug when no arguments was passed to CONFIG_INITRAMFS_SOURCE (-d was passed twice to the script) Idea and bug report from: "H. Peter Anvin&...
2006 Jun 26
0
[klibc 08/43] klibc: default initramfs content stored in usr/initramfs.default
Harcoding default content of initramfs in the gen_initramfs_list.sh script seems ackward. Move it to a file named: usr/initramfs.default This also fixes a small bug when no arguments was passed to CONFIG_INITRAMFS_SOURCE (-d was passed twice to the script) Idea and bug report from: "H. Peter Anvin&...
2011 Nov 18
0
Wine release 1.3.33
...pdate French translation. cmd: Avoid comparison between signed and unsigned values. dxdiag: Avoid dead increment (clang). cmd: Trim whitespace in echo on/off. cmd: Avoid duplication of commonly used strings. rsaenh: Remove unused file-static variables. atl: Avoid harcoding array lengths. comctl32: Avoid hardcoding array lengths. ole32: Avoid hardcoding array lengths. wineboot: Make runkeys_names global variable static. cmd: Move WCMD_part_execute function to avoid forward declaration. Hans Leidekker (15): scrrun: New dll. scrru...