~ubuntu-branches/ubuntu/trusty/nodejs/trusty-proposed

« back to all changes in this revision

Viewing changes to deps/uv/src/win/fs-event.c

  • Committer: Package Import Robot
  • Author(s): Jérémy Lal
  • Date: 2013-12-12 23:04:07 UTC
  • mfrom: (1.1.30)
  • Revision ID: package-import@ubuntu.com-20131212230407-xfa6gka4c6oatsx1
Tags: 0.10.23~dfsg1-1
* Upstream update.
* Refresh patches, remove 1005 patch, applied upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
339
339
                uv_fatal_error(ERROR_OUTOFMEMORY, "malloc");
340
340
              }
341
341
 
342
 
              _snwprintf(filenamew, size, L"%s\\%s", handle->dirw,
 
342
              _snwprintf(filenamew, size, L"%s\\%.*s", handle->dirw,
 
343
                file_info->FileNameLength / sizeof(WCHAR),
343
344
                file_info->FileName);
344
345
 
345
346
              filenamew[size - 1] = L'\0';