Displaying 9 results from an estimated 9 matches for "get_dir".
Did you mean:
get_dim
2013 Oct 03
0
Automatic boot menu?
...r);
+ return 2;
+ } else {
+ lua_pushboolean (L, 1);
+ return 1;
+ }
+}
+
+
+/*
+** This function returns the current directory
+** If unable to get the current directory, it returns nil
+** and a string describing the error
+*/
+static int get_dir (lua_State *L) {
+ char *path;
+ /* Passing (NULL, 0) is not guaranteed to work. Use a temp buffer and size instead. */
+ char buf[PATH_MAX];
+ if ((path = getcwd(buf, PATH_MAX)) == NULL) {
+ lua_pushnil(L);
+ lua_pushstring(L, strerror(errno));
+ return 2;
+ }
+ else {
+ lua_push...
1999 Oct 05
0
smbclient tar restore problem (linkflag) from tape-drive
...if ((finfo.size != 0) && next_block(tarbuf, &buffer_p, tbufsiz) <=0) {
DEBUG(0, ("Short file, bailing out...\n"));
return;
}
if (!get_file(finfo)) {
DEBUG(0, ("Abandoning restore\n"));
return;
}
break;
case '5':
if (!get_dir(finfo)) {
DEBUG(0, ("Abandoning restore \n"));
return;
}
break;
case 'L':
longfilename = get_longfilename(finfo);
if (!longfilename) {
DEBUG(0, ("abandoning restore\n"));
return;
}
DEBUG(5, ("Long file name: %s\n",...
2013 Aug 30
2
Automatic boot menu?
"H. Peter Anvin" <hpa at zytor.com> writes:
> On 08/29/2013 04:14 AM, Ferenc Wagner wrote:
>
>> "H. Peter Anvin" <hpa at zytor.com> writes:
>>
>>> On 08/22/2013 10:20 AM, Ferenc Wagner wrote:
>>>
>>>> Now that Syslinux has ls.c32 and lua.c32, it should be possible to build
>>>> a customizable boot menu in
2017 Apr 20
0
Wine release 2.0.1
...omDC().
ddraw: Kill stray tabs.
wined3d: Allow decompression blits on system memory resources in arbfp_blit_supported().
wined3d: Disallow upload conversion from compressed formats in surface_convert_format().
Jacek Caban (1):
mshtml: Initialize nsAString in IHTMLDocument3::get_dir.
Jacob Lifshay (1):
kernel32: Fix improper escaping of quotes in command line.
Jarkko Korpi (1):
ntoskrnl: Add IoStopTimer stub.
Jefferson Carpenter (1):
wmvcore: Implement WMCreateReaderPriv.
Julian RĂ¼ger (2):
readme: Update German translation.
readme: Fix typo in...
2008 May 31
13
Heroes of Might and Magic 5 crash
Hi, all.
Since wine 0.9.59 (before I used 0.9.50 and all was O.K., but from 0.9.59 till 1.0-rc2 appear described problem) I am find strange behaviour of heroes 5 at wine. After starting application it begin intensively put on console output string like that:
fixme:win:SetLayeredWindowAttributes (0x30024,0x00000000,0,2): stub!
but that is not so critical as I know. Realy worst things begins when
2007 Dec 14
0
Wine release 0.9.51
...und, it shouldn't be needed anymore.
winmm/tests: Don't mess with the mixer controls in non-interactive mode.
server: Implemented EnumWindowStations and EnumDesktops.
server: Partial implementation of NtQueryDirectoryObject.
server: Return correct object types in the get_directory_entry request.
clock: Use system colors instead of hardcoded RGB values.
winhelp: Use system colors instead of hardcoded colors.
shell32: Fix some wrc warnings.
Removed some unneeded imports.
winebuild: Print a warning when failing to import a data export....
2017 Feb 03
0
Wine release 2.1
...he desktop window to avoid a server round-trip.
user32/tests: Restore the mouse cursor to its original position.
dssenh/tests: Fix a failing test on Windows 7.
dmcompos/tests: Fix a failing test on Windows 8.
Jacek Caban (38):
mshtml: Initialize nsAString in IHTMLDocument3::get_dir.
urlmon: Added Seek implementations for streams using cache file.
mshtml: Added MHTMLDocument object class factory stub implementation.
inetcomm: Register mhtml protocol handler.
inetcomm: Added MimeHtmlProtocol stub implementation.
mshtml/tests: Added text selection t...
2013 Oct 15
23
[PATCH 00/21] Upgrade to Lua 5.2.2, add filesystem module and get_key binding
Hi,
This series targets automatic boot menu generation, but most of it
is the Lua upgrade, because I got tired reading deprecated API docs.
It's mostly a straightforward forward port of the earlier Syslinux
specific changes to Lua 5.1, except that:
* I chose the add a stub getenv() implementation to the COM32 API
instead of #ifdefing out all the references in Lua, and
* I kept oslib
1999 Oct 05
0
SAMBA digest 2259
...> tbufsiz) <=0) {
> DEBUG(0, ("Short file, bailing out...\n"));
> return;
> }
> if (!get_file(finfo)) {
> DEBUG(0, ("Abandoning restore\n"));
> return;
>
> }
> break;
>
> case '5':
> if (!get_dir(finfo)) {
> DEBUG(0, ("Abandoning restore \n"));
> return;
> }
> break;
>
> case 'L':
> longfilename = get_longfilename(finfo);
> if (!longfilename) {
> DEBUG(0, ("abandoning restore\n"));
> return;
>
>...