CVS: rdesktop disk.c,1.52,1.53
Peter Åstrand <[email protected]>
| Newsgroups | gmane.network.rdesktop.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/rdesktop/rdesktop
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7262
Modified Files:
disk.c
Log Message:
Indent fix
Index: disk.c
===================================================================
RCS file: /cvsroot/rdesktop/rdesktop/disk.c,v
retrieving revision 1.52
retrieving revision 1.53
diff -C2 -d -r1.52 -r1.53
*** disk.c 15 Aug 2005 11:44:35 -0000 1.52
--- disk.c 24 Aug 2005 11:31:21 -0000 1.53
***************
*** 492,496 ****
g_fileinfo[handle].flags_and_attributes = flags_and_attributes;
g_fileinfo[handle].accessmask = accessmask;
! strncpy(g_fileinfo[handle].path, path, PATH_MAX-1);
g_fileinfo[handle].delete_on_close = False;
g_notify_stamp = True;
--- 492,496 ----
g_fileinfo[handle].flags_and_attributes = flags_and_attributes;
g_fileinfo[handle].accessmask = accessmask;
! strncpy(g_fileinfo[handle].path, path, PATH_MAX - 1);
g_fileinfo[handle].delete_on_close = False;
g_notify_stamp = True;
***************
*** 1131,1135 ****
if (pattern[0] != 0)
{
! strncpy(pfinfo->pattern, 1 + strrchr(pattern, '/'), PATH_MAX-1);
rewinddir(pdir);
}
--- 1131,1135 ----
if (pattern[0] != 0)
{
! strncpy(pfinfo->pattern, 1 + strrchr(pattern, '/'), PATH_MAX - 1);
rewinddir(pdir);
}
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf