Changeset 310 for trunk/src/sh_files.c
- Timestamp:
- Feb 16, 2011, 9:33:00 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/sh_files.c
r307 r310 1147 1147 p = sh_files_C_dequote(p, &len); 1148 1148 if (!p || len == 0) 1149 SL_RETURN((-1), _("sh_files_push dir"));1149 SL_RETURN((-1), _("sh_files_pushfile")); 1150 1150 1151 1151 if (len >= PATH_MAX) … … 1544 1544 1545 1545 1546 if (rdepth < (-1) || tail == p || rdepth > 99) 1547 rdepth = (-2); 1546 if (tail == p) 1547 { 1548 /* Setting to an invalid number will force MaxRecursionLevel, 1549 * see sh_files_setrec_int() 1550 */ 1551 rdepth = (-2); 1552 } 1553 else if ( (rdepth < (-1) || rdepth > 99) || 1554 ((rdepth == (-1)) && (class != SH_LEVEL_ALLIGNORE)) ) 1555 { 1556 SH_FREE(p); 1557 SL_RETURN((-1), _("sh_files_pushdir")); 1558 } 1548 1559 1549 1560 len = sl_strlen(tail);
Note:
See TracChangeset
for help on using the changeset viewer.